n-gram-lang-detect
n-gram-lang-detect
is a Node.js package designed to detect the language of a given string using n-gram analysis. It supports generating language profiles from datasets. Currently, it supports Spanish (ES), English (EN), and Portuguese (PR) languages.
This package is trained using the Universal Declaration of Human Rights in the respective languages. It also generates text using localisms from Argentina, Uruguay, and Brazil.
Installation
To install n-gram-lang-detect
you can use npm:
npm install n-gram-lang-detect