Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Support for Bulgarian language and WhatLanguage#process_text fix #13

wants to merge 10 commits into


None yet
1 participant

s2gatev commented Jan 27, 2013

  1. Added support for Bulgarian language
  2. Updated english.lang file
  3. Updated WhatLanguage#process_text to check all words without early return
  4. Fixed WhatLanguage#process_text downcase issue with UTF-8 strings
  5. Added WhatLanguage#languages, String#languages to provide all possible language matches

Stanislav Gatev added some commits Jan 27, 2013

Stanislav Gatev Added support for Bulgarian language. 1bcbeb9
Stanislav Gatev Regenerated english.lang file. 0b370f5
Stanislav Gatev Update test/test_whatlanguage.rb
Added test case for Bulgarian.
Stanislav Gatev Fixed Bulgarian wordlist file's encoding. 3b66969
Stanislav Gatev Updated WhatLanguage#process_text
All words should be checked in order to know the most accurate language guess. Stopping before the last word leaves some inaccuracies.
Stanislav Gatev Fixed downcase issue for UTF-8 strings. 76c2bbd
Stanislav Gatev Refactoring WhatLanguage#process_text 79e3a62
Stanislav Gatev Fixed splitting UTF-8 words. bf2bbc6
Stanislav Gatev Added Bulgarian to the gemspec file e24bb67
Stanislav Gatev Added WhatLanguage#languages, String#languages for getting all possib…
…le languages

@s2gatev s2gatev closed this Nov 12, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment