Repetition occurs for same words when case is ignored

Created on 20 November 2023, about 1 year ago

Problem/Motivation

If I am ignoring case and I have the term "structure" defined, and the sentence "The Structure lorem ipsum structure.", I would expect only "Structure" to be targeted, rather than both "Structure" and "structure".

Steps to reproduce

Proposed resolution

If ignoring case, prune out the second instance of any term in the $needles array.

Remaining tasks

Add logic to remove repetitive terms with different casings in the $needles array.

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States lpeabody

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024