Skip to content

Expect case normalized words #207

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

Merged
merged 1 commit into from
Sep 18, 2015
Merged

Conversation

wobh
Copy link
Contributor

@wobh wobh commented Sep 18, 2015

Ruby, Elixir, Clojure, and others expect words to be normalized in
some way so that "Go", "go", "GO" are not considered different words.

Ruby, Elixir, Clojure, and others expect words to be normalized in
some way so that "Go", "go", "GO" are not considered different words.
@wobh wobh force-pushed the normalize-word-counts branch from 0618c26 to 0314cbf Compare September 18, 2015 08:28
@wobh
Copy link
Contributor Author

wobh commented Sep 18, 2015

Other language tracks I've seen actually expect downcased words. Here I've tried to make a test that would expect the right count, but be indifferent to the method of normalizing.

@kytrinyx
Copy link
Member

Here I've tried to make a test that would expect the right count, but be indifferent to the method of normalizing.

I like that it leaves the choice up to the implementer as to how to do normalization.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants