-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
Issue
When using SimString for typo detection, it accurately identifies misspelled words like "mxnidipine" but lacks functionality to produce the corrected version of the word, such as "manidipine".
Reproduction Steps
- Input text containing misspelled words, such as "mxnidipine".
- Utilize SimString for word detection, even when encountering typos.
Current Behavior
SimString accurately identifies misspelled terms but does not provide the corrected version.
Cause
The current logic of SimString is constrained within a parent class, lacking a specialized run() method which hinders the generation of corrected terms.
Suggested Solution
Implement a run() specialization within the SimString matcher class to enable the generation of corrected terms. This specialization should extend to both SimString matcher and regular expression matcher functionalities.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels