Package: cld2 1.2.6

Jeroen Ooms

cld2: Google's Compact Language Detector 2

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.

Authors:Jeroen Ooms [aut, cre], Dirk Sites [cph]

cld2_1.2.6.tar.gz
cld2_1.2.6.zip(r-4.7)cld2_1.2.6.zip(r-4.6)cld2_1.2.6.zip(r-4.5)
cld2_1.2.6.tgz(r-4.6-x86_64)cld2_1.2.6.tgz(r-4.6-arm64)cld2_1.2.6.tgz(r-4.5-x86_64)cld2_1.2.6.tgz(r-4.5-arm64)
cld2_1.2.6.tar.gz(r-4.7-arm64)cld2_1.2.6.tar.gz(r-4.7-x86_64)cld2_1.2.6.tar.gz(r-4.6-arm64)cld2_1.2.6.tar.gz(r-4.6-x86_64)
cld2_1.2.6.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
cld2/json (API)
NEWS

# Install 'cld2' in R:
install.packages('cld2', repos = c('https://ropensci.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/ropensci/cld2/issues

Pkgdown/docs site:https://docs.ropensci.org

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

cldcld2language-detectionlanguage-detectorcpp

6.80 score 39 stars 2 packages 215 scripts 1.3k downloads 2 exports 1 dependencies

Last updated from:e4c001f00c (on master). Checks:14 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK121
linux-devel-x86_64OK137
pkgdown docsOK138
source / vignettesOK173
linux-release-arm64OK119
linux-release-x86_64OK132
macos-release-arm64OK117
macos-release-x86_64OK167
macos-oldrel-arm64OK102
macos-oldrel-x86_64OK195
windows-develOK156
windows-releaseOK108
windows-oldrelOK98
wasm-releaseOK116

Exports:detect_languagedetect_language_mixed

Dependencies:Rcpp

Readme and manuals

Help Manual

Help pageTopics
Compact Language Detector 2cld2 detect_language detect_language_mixed detect_language_multi