#175 · Primary category: NLP Tools & Text Processing

whatlanggo

go language nlp text-processing

Natural language detection library for Go

Project last updated:03/28/23

GitHub Stars

696

Forks

68

Contributors

7

License

MIT

Why we included this project

Whatlanggo answers a narrow question that comes up constantly in Go services: what language is this text in? It covers 84 languages and also reports the writing script, using trigram language models under the hood. The whole library is pure Go with no external dependencies, so it fits into an existing codebase without adding a runtime or a pile of transitive modules. The API stays small: one call to detect, and optional whitelist or blacklist constraints when you want to force or exclude certain languages. If you route chat messages, support tickets, or multilingual documents through a Go pipeline, this is a handy building block rather than a full NLP platform.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category