Other packages > Find by keyword >

cld2  

Google's Compact Language Detector 2
View on CRAN: Click here


Download and install cld2 package within the R console
Install from CRAN:
install.packages("cld2")

Install from Github:
library("remotes")
install_github("cran/cld2")

Install by package version:
library("remotes")
install_version("cld2", "1.2.6")



Attach the package and use:
library("cld2")
Maintained by
Jeroen Ooms
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2017-06-03
Latest Update: 2025-03-22
Description:
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.
How to cite:
Jeroen Ooms (2017). cld2: Google's Compact Language Detector 2. R package version 1.2.6, https://cran.r-project.org/web/packages/cld2. Accessed 07 Aug. 2026.
Previous versions and publish date:
(2026-07-09 07:26), 1.0 (2017-06-03 20:40), 1.1 (2017-06-10 17:57), 1.2.1 (2020-12-15 23:50), 1.2.2 (2022-09-25 17:10), 1.2.3 (2022-10-02 04:40), 1.2.4 (2022-10-27 01:05), 1.2.5 (2024-10-04 14:40), 1.2 (2018-05-11 17:26)
Other packages that cited cld2 R package
View cld2 citation profile
Other R packages that cld2 depends, imports, suggests or enhances
Complete documentation for cld2
Functions, R codes and Examples using the cld2 R package
Some associated functions: cld2 . 
Some associated R codes: RcppExports.R . cld2.R .  Full cld2 package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

bbricks  
Bayesian Methods and Graphical Model Structures for Statistical Modeling
A set of frequently used Bayesian parametric and nonparametric model structures, as well as a set of ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  
modelwordcloud  
Model Word Clouds
Makes a word cloud of text, sized by the frequency of the word, and colored either by user-specified ...
Download / Learn more Package Citations See dependency  
BayesESS  
Determining Effective Sample Size
Determines effective sample size of a parametric prior distribution in Bayesian models. For a web-b ...
Download / Learn more Package Citations See dependency  
enrichwith  
Methods to Enrich R Objects with Extra Components
Provides the "enrich" method to enrich list-like R objects with new, relevant components. The curren ...
Download / Learn more Package Citations See dependency  

28,083

R Packages

239,283

Dependencies

74,457

Author Associations

28,084

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA