cld2: Google's Compact Language Detector 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.

Version: 1.1
Imports: Rcpp
LinkingTo: Rcpp
Suggests: testthat, readtext, cld3
Published: 2017-06-10
Author: Jeroen Ooms [aut, cre], Dirk Sites [cph] (Author of CLD2 C++ library)
Maintainer: Jeroen Ooms <jeroen at>
License: Apache License 2.0
URL: (devel) (upstream)
NeedsCompilation: yes
Materials: NEWS
CRAN checks: cld2 results


Reference manual: cld2.pdf
Package source: cld2_1.1.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
OS X El Capitan binaries: r-release: cld2_1.1.tgz
OS X Mavericks binaries: r-oldrel: cld2_1.1.tgz
Old sources: cld2 archive

Reverse dependencies:

Reverse suggests: cld3


Please use the canonical form to link to this page.