cld2: Google's Compact Language Detector 2
Version 1.1

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], Dirk Sites [cph] (Author of CLD2 C++ library)
Date of publication2017-06-10 15:57:22 UTC
MaintainerJeroen Ooms <[email protected]>
LicenseApache License 2.0
URL (devel) (upstream)
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:

Try the cld2 package in your browser

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

cld2 documentation built on June 10, 2017, 5:02 p.m.