PackageTrack
Sign in Get early access

github.com/pemistahl/lingua-go

v1.4.0 #1309 most downloaded on Go modules pemistahl/lingua-go

What this package is like to depend on

Last release 2 years ago

no release in 18 months

Release timing varies

gaps range from 2 weeks to 7 months

Nearly every release is documented

notes for 17 of 17 stable releases

Nothing withdrawn

no release was ever pulled

5 years old

51 releases · first in 2021

0 releases in the last 12 months

see the full history below

Release timeline

51 releases · Jun 2021 to Dec 2024
2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 51
  1. v1.4.1-0.20241217152257-a440fc12f15b 17 Dec 2024 pre-release

    Nothing published for this version

  2. v1.4.1-0.20241204055805-89e1e957523e 04 Dec 2024 pre-release

    Nothing published for this version

  3. v1.4.1-0.20241203200501-61573219f4a8 03 Dec 2024 pre-release

    Nothing published for this version

  4. v1.4.1-0.20240808151414-f74cc62e2df2 08 Aug 2024 pre-release

    Nothing published for this version

  5. v1.4.1-0.20240807181638-1caca9acffd8 07 Aug 2024 pre-release

    Nothing published for this version

  6. v1.4.1-0.20240119091236-0c3ba798a34e 19 Jan 2024 pre-release

    Nothing published for this version

  7. v1.4.1-0.20231207143350-b30f17c2a081 07 Dec 2023 pre-release

    Nothing published for this version

  8. v1.4.0 05 Sep 2023
    Release notes

    Features

    • The new functions GetIsoCode639_1FromValue() and GetIsoCode639_3FromValue() have been introduced to return the proper IsoCode639_1 and IsoCode639_3 for a given name string. (#44)

    Changes

    • The functions GetLanguageFromIsoCode639_1() and GetLanguageFromIsoCode639_3() now correctly return Unknown instead of -1 if a language cannot be found for the given iso code. (#44)

    Bug Fixes

    • The method LanguageDetector.DetectMultipleLanguagesOf() returned wrong values for start and end indices for texts consisting of only a single word. This has been fixed. (#43)
    Open source →
    Release notes

    Features

    • The new functions GetIsoCode639_1FromValue() and GetIsoCode639_3FromValue() have been introduced to return the proper IsoCode639_1 and IsoCode639_3 for a given name string. (#44)

    Changes

    • The functions GetLanguageFromIsoCode639_1() and GetLanguageFromIsoCode639_3() now correctly return Unknown instead of -1 if a language cannot be found for the given iso code. (#44)

    Bug Fixes

    • The method LanguageDetector.DetectMultipleLanguagesOf() returned wrong values for start and end indices for texts consisting of only a single word. This has been fixed. (#43)
    Open source →
  9. v1.3.5-0.20230904181828-cba776498469 04 Sep 2023 pre-release

    Nothing published for this version

  10. v1.3.5-0.20230702072220-cf22a0757dbb 02 Jul 2023 pre-release

    Nothing published for this version

  11. v1.3.4 09 Jun 2023
    Release notes

    Bug Fixes

    • When trying to detect multiple languages in a text consisting of only a single word, a panic occurred. This has been fixed. (#41)
    Open source →
    Release notes

    Bug Fixes

    • When trying to detect multiple languages in a text consisting of only a single word, a panic occurred. This has been fixed. (#41)
    Open source →
  12. v1.3.4-0.20230403090455-ba5312412eab 03 Apr 2023 pre-release

    Nothing published for this version

  13. v1.3.4-0.20230402205445-2913e92db220 02 Apr 2023 pre-release

    Nothing published for this version

  14. v1.3.3 03 Feb 2023
    Release notes

    Bug Fixes

    • For long input texts, a panic occurred while computing the confidence values due to an accidental division by zero. This has been fixed. (#27)
    Open source →
    Release notes

    Bug Fixes

    • For long input texts, a panic occurred while computing the confidence values due to an accidental division by zero. This has been fixed. (#27)
    Open source →
  15. v1.3.3-0.20230201080647-5e6f2232a83e 01 Feb 2023 pre-release

    Nothing published for this version

  16. v1.3.2 30 Jan 2023
    Release notes

    Improvements

    • After applying some internal optimizations, language detection is now faster, at least between 20% and 30%, approximately. For long input texts, the speed improvement is greater than for short input texts.
    Open source →
    Release notes

    Improvements

    • After applying some internal optimizations, language detection is now faster, at least between 20% and 30%, approximately. For long input texts, the speed improvement is greater than for short input texts.
    Open source →
  17. v1.3.1 08 Jan 2023
    Release notes

    Bug Fixes

    • For long input texts, an error occurred while computing the confidence values due to numerical underflow when converting probabilities. This has been fixed.
    Open source →
    Release notes

    Bug Fixes

    • For long input texts, an error occurred while computing the confidence values due to numerical underflow when converting probabilities. This has been fixed.
    Open source →
  18. v1.3.0 01 Jan 2023
    Release notes

    Improvements

    • The min-max normalization method for the confidence values has been replaced with applying the softmax function. This gives more realistic probabilities. (#25)
    Open source →
    Release notes

    Improvements

    • The min-max normalization method for the confidence values has been replaced with applying the softmax function. This gives more realistic probabilities. (#25)
    Open source →
  19. v1.2.3-0.20221231232011-88e76d63b20b 31 Dec 2022 pre-release

    Nothing published for this version

  20. v1.2.2 27 Dec 2022
    Release notes

    Bug Fixes

    • Under certain circumstances, calling the method LanguageDetector.DetectMultipleLanguagesOf() caused an index error. This has been fixed.
    Open source →
    Release notes

    Bug Fixes

    • Under certain circumstances, calling the method LanguageDetector.DetectMultipleLanguagesOf() caused an index error. This has been fixed.
    Open source →
  21. v1.2.1 13 Dec 2022
    Release notes

    Bug Fixes

    • A misconfiguration in a go.mod file caused errors when trying to download the library via the go get command. This has been fixed. Thanks to @benstigsen for the pointer. (#23)
    Open source →
    Release notes

    Bug Fixes

    • A misconfiguration in a go.mod file caused errors when trying to download the library via the go get command. This has been fixed. (#23)
    Open source →
  22. v1.2.0 12 Dec 2022
    Release notes

    Features

    • The new method LanguageDetector.DetectMultipleLanguagesOf() has been introduced. It allows to detect multiple languages in mixed-language text. (#9)
    Open source →
    Release notes

    Features

    • The new method LanguageDetector.DetectMultipleLanguagesOf() has been introduced. It allows to detect multiple languages in mixed-language text. (#9)
    Open source →
  23. v1.1.2-0.20221209224908-20dc1d9087f0 09 Dec 2022 pre-release

    Nothing published for this version

  24. v1.1.2-0.20221205215850-d39b8cc269a0 05 Dec 2022 pre-release

    Nothing published for this version

  25. v1.1.1 22 Nov 2022
    Release notes

    Documentation

    • Some documentation mistakes have been fixed and missing information has been added.
    Open source →
    Release notes

    Documentation

    • Some documentation mistakes have been fixed and missing information has been added.
    Open source →
  26. v1.1.1-0.20221121234757-fcd98b98d307 21 Nov 2022 pre-release

    Nothing published for this version

  27. v1.1.0 21 Nov 2022
    Release notes

    Features

    • The new method LanguageDetectorBuilder.WithLowAccuracyMode() has been introduced. By activating it, detection accuracy for short text is reduced in favor of a smaller memory footprint and faster detection performance. (#17)

    • The new method LanguageDetector.ComputeLanguageConfidence() has been introduced. It allows to retrieve the confidence value for one specific language only, given the input text. (#19)

    Improvements

    • The computation of the confidence values has been revised and the min-max normalization algorithm is now applied to the values, making them better comparable by behaving more like real probabilities. (#16)

    • The language models are now serialized as protocol buffers instead of json. Thanks to this change, they are now loaded into memory twice as fast as before. (#22)

    Bug Fixes

    • The unigram counts in the statistics engine were not retrieved correctly. This has been fixed, producing more correct detection results. (#14)

    Compatibility

    • The lowest supported Go version is 1.18 now. Older versions are no longer compatible with this library.

    Miscellaneous

    • The library now has a fresh and colorful new logo. Why? Well, why not? (-:
    Open source →
  28. v1.0.6-0.20221120222141-38293fcea86e 20 Nov 2022 pre-release

    Nothing published for this version

  29. v1.0.6-0.20221118111246-7e95fabda0ba 18 Nov 2022 pre-release

    Nothing published for this version

  30. v1.0.6-0.20221117122512-58a9c71054a1 17 Nov 2022 pre-release

    Nothing published for this version

  31. v1.0.6-0.20221114095946-8508880e12af 14 Nov 2022 pre-release

    Nothing published for this version

  32. v1.0.6-0.20221108210748-64a36543336e 08 Nov 2022 pre-release

    Nothing published for this version

  33. v1.0.6-0.20221104152837-2461dfedfd15 04 Nov 2022 pre-release

    Nothing published for this version

  34. v1.0.6-0.20220927082100-ed8aa58b3e30 27 Sep 2022 pre-release

    Nothing published for this version

  35. v1.0.6-0.20220825123052-5808b69dab6f 25 Aug 2022 pre-release

    Nothing published for this version

  36. v1.0.6-0.20220420181131-d8d50322ad3e 20 Apr 2022 pre-release

    Nothing published for this version

  37. v1.0.6-0.20220407110258-162bc5e070e7 07 Apr 2022 pre-release

    Nothing published for this version

  38. v1.0.6-0.20211228112516-d5d9063557a5 28 Dec 2021 pre-release

    Nothing published for this version

  39. v1.0.5 25 Dec 2021
    Release notes

    Bug Fixes

    • The character â was erroneously not treated as a possible indicator for French.

    Improvements

    • The dependencies to the other language detectors which are used for the accuracy comparisons were always downloaded together with the main library. They are only needed when you want to update the accuracy reports, therefore the cmd/ subdirectory now contains its own Go module that defines those dependencies. They have now been removed from the main library. Thanks to @dim and @BoeingX for identifying this problem. (#8)
    Open source →
  40. v1.0.5-0.20211128185520-a48ae29b7398 28 Nov 2021 pre-release

    Nothing published for this version

  41. v1.0.4 28 Nov 2021
    Release notes

    Bug Fixes

    • It was possible to include lingua.Unknown in the set of input languages for building the language detector. It is only meant as a return value, so it is now automatically removed from the set of input languages. Thanks to @marians for identifying this problem. (#7)
    Open source →
  42. v1.0.3 20 Oct 2021
    Release notes

    Improvements

    • By replacing sync.Once with sync.Map for storing the language models at runtime, a large amount of code could be removed while preserving the same functionality. This improves code maintenance significantly.
    Open source →
  43. v1.0.2 13 Oct 2021
    Release notes

    Bug Fixes

    • In very rare cases, the language returned by the detector was non-deterministic. This has been fixed. Big thanks to @FilipAlexander for identifying this problem. (#6)
    Open source →
  44. v1.0.1 27 Jun 2021
    Release notes

    Bug Fixes

    • The language models were not embedded into the compiled binary. This resulted in problems when trying to use Lingua within a Docker container, for instance. Big thanks to @dsxack for identifying this problem and providing a fix. (#2 #3)
    Open source →
  45. v1.0.0 21 Jun 2021
    Release notes

    This is the very first release of the Go implementation of Lingua. Enjoy! :-)

    Open source →
  46. v0.0.0-20241204055805-89e1e957523e 04 Dec 2024 pre-release

    Nothing published for this version

  47. v0.0.0-20241203200501-61573219f4a8 03 Dec 2024 pre-release

    Nothing published for this version

  48. v0.0.0-20240808151414-f74cc62e2df2 08 Aug 2024 pre-release

    Nothing published for this version

  49. v0.0.0-20240119091236-0c3ba798a34e 19 Jan 2024 pre-release

    Nothing published for this version

  50. v0.0.0-20231207143350-b30f17c2a081 07 Dec 2023 pre-release

    Nothing published for this version

  51. v0.0.0-20210621140039-fce4229c2d83 21 Jun 2021 pre-release

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive