Bot releases are hidden (Show)
GetIsoCode639_1FromValue()
and GetIsoCode639_3FromValue()
have been introduced to return the proper IsoCode639_1
and IsoCode639_3
for a given name string. (#44)GetLanguageFromIsoCode639_1()
and GetLanguageFromIsoCode639_3()
now correctly return Unknown
instead of -1
if a language cannot be found for the given iso code. (#44)LanguageDetector.DetectMultipleLanguagesOf()
returned wrong values for start and end indices for texts consisting of only a single word. This has been fixed. (#43)Published by pemistahl over 1 year ago
Published by pemistahl over 1 year ago
Published by pemistahl over 1 year ago
Published by pemistahl almost 2 years ago
Published by pemistahl almost 2 years ago
Published by pemistahl almost 2 years ago
LanguageDetector.DetectMultipleLanguagesOf()
caused an index error. This has been fixed.Published by pemistahl almost 2 years ago
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)Published by pemistahl almost 2 years ago
LanguageDetector.DetectMultipleLanguagesOf()
has been introduced. It allows to detect multiple languages in mixed-language text. (#9)Published by pemistahl almost 2 years ago
Published by pemistahl almost 2 years ago
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)
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)
Published by pemistahl almost 3 years ago
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)Published by pemistahl almost 3 years ago
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)Published by pemistahl almost 3 years ago
Published by pemistahl about 3 years ago
Published by pemistahl over 3 years ago
Published by pemistahl over 3 years ago
This is the very first release of the Go implementation of Lingua. Enjoy! :-)