-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Case sensitivig #12
Comments
Unfortunately it's not as easy as it sounds. The rules from Wikipedia generally can deal with capitalized initial letters, but the replacements are case-sensitive, they cannot deal with allcaps words or mixed capitalization. For example this rule:
In case-insensitive mode the word "ACTIVTY" would turn into "ActivitY" What's the use case for this? How do you imagine this working? |
My use case is that users' texts which don't really care about capitalization, I believe it is very common. Specially when you read data from social networks. Another example - German native speakers which write in English and are not used to non capitalizing nouns. |
BTW a possible way to implement it is to take it as an argument (say -i) and when loading the rules do - |
I'm not convinced yet. Implementing it like that, it would be easily misunderstood by users and I suspect I would get bug reports of it doing the Wrong Thing with allcaps words, turning them to "ActivitIES" for example. |
Ok, I'll fork it then. |
Add an option to run it case insensitive
The text was updated successfully, but these errors were encountered: