pemistahl / lingua

The most accurate natural language detection library for Java and the JVM, suitable for long and short text alike
Apache License 2.0
712 stars 65 forks source link

Allow `щ` for Ukrainian language #193

Closed ddashenkov closed 10 months ago

ddashenkov commented 10 months ago

In this PR, I fix a letter-based rule that prevented Ukrainian language to be detected if the letter щ is used. This letter is, in fact, part of the Ukrainian alphabet.

ddashenkov commented 10 months ago

@pemistahl, PTAL at this small change.

If possible, could you please publish the new patch soon.

pemistahl commented 10 months ago

@ddashenkov I've merged your PR now. Sorry for the long delay and thank you for this fix. To bridge the time until the next release, you can build the library yourself with ./gradlew jarWithDependencies and add the JAR file locally to your project.