GNUAspell / aspell

http://aspell.net
GNU Lesser General Public License v2.1
243 stars 53 forks source link

better camel case support #629

Open feckertson opened 1 year ago

feckertson commented 1 year ago

The tool is great, but the restriction of camel case to eight words is somewhat limiting and completely unnecessary.

aspell_idntifies_the_individual_msspellngs_found_within_thiss_snake_case_string_containing_more_than_eigth_wrds_with_no_problem but theToolWillNotRecognizeThatThisStringShouldBeAcceptable and understandablewhythetoolmightrejectmorethaneightmergedwords (because it takes a lot of effort to identify the individual pieces

I have a code change for accepting "camel cased" words of arbitrary length.

It would be even better if the tool could flag individual misspellings within a camel cased word and make suggestions for those misspellings just like it can for snake cased words. I am willing to look into this more complicated problem but I am hesitant to do so because it is not clear whether aspell is still being maintained. ???

kevina commented 1 year ago

Aspell is still being maintained, I just don't create releases very often.

I will be happy to review a pull request to remove the length limitation for camel case words (but not for run-together words).

Flagging individual misspellings is a harder problem that I think will require an API chance, which I why I act as if it is one word when making suggestions.