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
Hello. I have a text: "Hello, my name is Bob. How do you do?"
I use Split(' '); and do Check for all words. But how can i ignore: comma, dot and question in Check method?
Maybe this library have properties for this? Or i must use regex?
The text was updated successfully, but these errors were encountered:
Have a look at ICU4N or ICU.Net. I suggest that you use breakiterator class to identify the word boundaries and spellcheck them one by one. Some examples in Java
Have a look at ICU4N or ICU.Net. I suggest that you use breakiterator class to identify the word boundaries and spellcheck them one by one. Some examples in Java
additional library for remove punctuation? No, thanks. I will use regex or loop for this :)
I would probably close/reject this one since "parsing" the terms to be spellchecked isn't really what this library is supposed to do. Identifying word boundaries for different locales isn't a trivial process, I would recommend a ICU C# wrapper instead. If you know before hand which locale/language will be used, then I guess regex should be sufficient for some locales.
Hello. I have a text: "Hello, my name is Bob. How do you do?"
I use
Split(' ');
and doCheck
for all words. But how can i ignore: comma, dot and question inCheck
method?Maybe this library have properties for this? Or i must use regex?
The text was updated successfully, but these errors were encountered: