whatlanggo icon indicating copy to clipboard operation
whatlanggo copied to clipboard

Natural language detection library for Go

Results 13 whatlanggo issues
Sort by recently updated
recently updated
newest added

we changed the code to prevent super negative confidence values.

as detailed here: https://en.wikipedia.org/wiki/Persian_language#ISO_codes

While using "Detect" function Arabic and English in not detecting properly. We are expecting language as "english" for "hi" and "hello". But for "hi" getting below response Language: Zulu Script:...

Hi, Hope you are all well ! I have -18.66532829205885 or -10.605926394815977 confidence rate, what does that mean ? ```bash Language: Yoruba Script: Latin Confidence: -8.652592309409306 Language: Turkmen Script: Latin...

Hi, Hope you are all well ! I have a problem to detect french language on short sentences like the one below. | Sentence | Language Detected | Real Language...

Example https://play.golang.org/p/qupLXwVQc4m First example is a large text in English. The library can't produce confident result - confidence is negative. Second example is a couple of sentences from the same...

The following arabic word for ordering seems to not be detected correctly: يأمُر Google is able to identify it correctly.

bug
help wanted

I took your awesome lib and wrapped it in a little command line app. I also added a conversion table from ISO 639-3 to ISO 639-1. ``` ▶ ./langdetect "Le...

enhancement

Does a scientific paper on this work exist? Or can you provide any papers that you used for the development?

Here is example ``` package main import ( "fmt" "github.com/abadojack/whatlanggo" ) var whitelist_options = whatlanggo.Options{ Whitelist: map[whatlanggo.Lang]bool{ whatlanggo.Eng: true, whatlanggo.Jpn: true, whatlanggo.Kor: true, whatlanggo.Vie: true, whatlanggo.Ind: true, whatlanggo.Cmn: true, },...