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 09 Mar. 2026.
Previous versions and publish date:
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

pooling  
Fit Poolwise Regression Models
Functions for calculating power and fitting regression models in studies where a biomarker is measur ...
Download / Learn more Package Citations See dependency  
rzentra  
Client for the 'ZENTRA Cloud' API
Provides functionality to read settings, statuses and readings of weather stations from the 'ZENTRA ...
Download / Learn more Package Citations See dependency  
Rgb  
The R Genome Browser
Classes and methods to efficiently handle (slice, annotate, draw ...) genomic features (such as gene ...
Download / Learn more Package Citations See dependency  
ggblanket  
Simplify 'ggplot2' Visualisation
Simplify 'ggplot2' visualisation with 'ggblanket' wrapper functions. ...
Download / Learn more Package Citations See dependency  
nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
Download / Learn more Package Citations See dependency  

26,293

R Packages

225,784

Dependencies

70,376

Author Associations

26,294

Publication Badges

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