Skip to content

Lingua 1.2.2

Compare
Choose a tag to compare
@pemistahl pemistahl released this 02 Jun 21:24
· 367 commits to main since this release

Features

  • The enums Language, IsoCode639_1 and IsoCode639_3 now implement std::str::FromStr in order to instantiate enum variants by string values. This comes in handy for JavaScript bindings and the like. (#15)

Improvements

  • The performance of preloading the language models has been improved.

Bug Fixes

  • Language detection for sentences with more than 120 characters was supposed to be done by iterating through trigrams only but this was never the case. This has been corrected.