Package: cld2 1.2.6
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:
cld2_1.2.6.tar.gz
cld2_1.2.6.zip(r-4.6)cld2_1.2.6.zip(r-4.5)cld2_1.2.6.zip(r-4.4)
cld2_1.2.6.tgz(r-4.5-x86_64)cld2_1.2.6.tgz(r-4.5-arm64)cld2_1.2.6.tgz(r-4.4-x86_64)cld2_1.2.6.tgz(r-4.4-arm64)
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.tar.gz(r-4.5-arm64)cld2_1.2.6.tar.gz(r-4.5-x86_64)
cld2_1.2.6.tgz(r-4.5-emscripten)cld2_1.2.6.tgz(r-4.4-emscripten)
cld2.pdf |cld2.html✨
cld2/json (API)
NEWS
# Install 'cld2' in R: |
install.packages('cld2', repos = c('https://packages.ropensci.org', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/ropensci/cld2/issues
Pkgdown site:https://docs.ropensci.org
cldcld2language-detectionlanguage-detectorcpp
Last updated 10 days ago from:e4c001f00c (on master). Checks:15 OK. Indexed: yes.
Target | Result | Total time | Artifact |
---|---|---|---|
linux-devel-arm64 | OK | 147 | |
linux-devel-x86_64 | OK | 123 | |
pkgdown docs | OK | 158 | |
source / vignettes | OK | 154 | |
linux-release-arm64 | OK | 173 | |
linux-release-x86_64 | OK | 123 | |
macos-release-arm64 | OK | 78 | |
macos-release-x86_64 | OK | 220 | |
macos-oldrel-arm64 | OK | 100 | |
macos-oldrel-x86_64 | OK | 179 | |
windows-devel | OK | 153 | |
windows-release | OK | 130 | |
windows-oldrel | OK | 132 | |
wasm-release | OK | 117 | |
wasm-oldrel | OK | 210 |
Exports:detect_languagedetect_language_mixed
Dependencies:Rcpp
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Compact Language Detector 2 | cld2 detect_language detect_language_mixed detect_language_multi |