Skip to content

Lingua 1.6.1

Compare
Choose a tag to compare
@pemistahl pemistahl released this 23 Nov 22:26
· 117 commits to main since this release

Bug Fixes

  • The method LanguageDetector.detect_multiple_languages_of returns byte indices. For creating string slices in Python and JavaScript, character indices are needed but were not provided. This resulted in incorrect DetectionResults for Python and JavaScript. This has been fixed now by converting the byte indices to character indices. (pemistahl/lingua-py#192)

  • Some minor bugs in the WASM module have been fixed to prepare the first release of Lingua for JavaScript.