lingua v1.0.3 Release Notes

Release Date: 2020-10-15 // about 1 year ago
  • πŸ› Bug Fixes

    • 🚚 When two languages had exactly the same confidence values, one of them was erroneously removed from the result map.
      Thanks to @mmedek for reporting this bug. (#72)
    • There was still a problem with the classification of texts consisting of certain alphabets.
      Thanks to @nicolabertoldi for reporting this bug. (#76)
    • The language detection for Spanish did not take the rarely used accented characters Γ‘, Γ©, Γ­, Γ³, ΓΊ and ΓΌ into account.
      Thanks to @joeporter for reporting this bug. (#73)
    • πŸ›  A bug in the rule engine led to weak detection accuracy for Macedonian and Serbian. This has been fixed.

    Other Changes

    • πŸš€ The Kotlin compiler and runtime have been updated to version 1.4. This includes the current stable release 1.0.0 of the kotlinx-serialization framework.
    • 🚚 The accuracy report files have been moved to their own Gradle source set. This allows for separate compilation of unit tests and accuracy report tests, leading to more flexible and slightly faster compilation.

Previous changes from v1.0.2

  • πŸ› Bug Fixes

    • The language mapping for character Γ« was incorrect which has been fixed.
      Thanks to @sandernugterenedia for reporting this bug. (#66)
    • The implementation of LanguageDetector made use of functionality that was
      introduced in Java 8 which made the library unusable for Java 6 and 7.
      Thanks to @levant916 for reporting this bug. (#69)
    • πŸ”Œ The Gradle shadow plugin has been
      βž• added so that ./gradlew jarWithDependencies produces a jar file whose dependencies
      do not conflict anymore with the same dependencies of different versions in the same project. (#67)