cld2: Google's Compact Language Detector 2
Version 1.2

Bindings to Google's C++ library Compact Language Detector 2 (see 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.

Getting started

Package details

AuthorJeroen Ooms [aut, cre] (<https://orcid.org/0000-0002-4035-0289>), Dirk Sites [cph] (Author of CLD2 C++ library)
Date of publication2018-05-11 15:26:34 UTC
MaintainerJeroen Ooms <[email protected]>
LicenseApache License 2.0
Version1.2
URL https://github.com/ropensci/cld2 (devel) https://github.com/cld2owners/cld2 (upstream)
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("cld2")

Try the cld2 package in your browser

Any scripts or data that you put into this service are public.

cld2 documentation built on May 11, 2018, 5:05 p.m.