Bindings to Google's C++ library Compact Language Detector 2 (see <https://github.com/cld2owners/cld2#readme> for more information). Probabilistically detects over 80 languages in plain text or HTML. For mixed-language input it returns the top three detected languages and their approximate proportion of the total classified text bytes (e.g. 80% English and 20% French out of 1000 bytes). There is also a 'cld3' package on CRAN which uses a neural network model instead.
|Author||Jeroen Ooms [aut, cre] (<https://orcid.org/0000-0002-4035-0289>), Dirk Sites [cph] (Author of CLD2 C++ library)|
|Maintainer||Jeroen Ooms <[email protected]>|
|License||Apache License 2.0|
|URL||https://github.com/ropensci/cld2 (devel) https://github.com/cld2owners/cld2 (upstream)|
|Package repository||View on CRAN|
Install the latest version of this package by entering the following in R:
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.