You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently working on a chat bot use case where i found symspellpy very useful but i am facing some issues with "ignore_non_words" parameter of lookup_compound.
I need a specific pattern like an account no xx004453 to be ignored by spell checker and it kinda of works as well.
My regex is made to satisfy patterns like starts with 2 or 3 alphabets and then numbers or hyphens.
My issue is as follows
je3453 -> jeff hi (it is converting these numbers)[Happens to small numbers only like xx123]
xx1234-5678-1234 -> xx1234 5678 1234 (all the '-' are removed)
How to solve these issue ?
The text was updated successfully, but these errors were encountered:
ignore_non_words is a boolean flag, regex is used for ignore_token which is available for lookup and word_segmentation. In your case, could you do some preprocessing and filter out the words which match your regex pattern before feed them into symspellpy?
Hi,
I am currently working on a chat bot use case where i found symspellpy very useful but i am facing some issues with "ignore_non_words" parameter of lookup_compound.
I need a specific pattern like an account no xx004453 to be ignored by spell checker and it kinda of works as well.
My regex is made to satisfy patterns like starts with 2 or 3 alphabets and then numbers or hyphens.
My issue is as follows
How to solve these issue ?
The text was updated successfully, but these errors were encountered: