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 16 Jul. 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

tibble  
Simple Data Frames
Provides a 'tbl_df' class (the 'tibble') with stricter checking and better formatting than the tradi ...
Download / Learn more Package Citations See dependency  
Rnmr1D  
Perform the Complete Processing of a Set of Proton Nuclear Magnetic Resonance Spectra
Perform the complete processing of a set of proton nuclear magnetic resonance spectra from the free ...
Download / Learn more Package Citations See dependency  
tarchetypes  
Archetypes for Targets
Function-oriented Make-like declarative pipelines for Statistics and data science are supported in t ...
Download / Learn more Package Citations See dependency  
bbdetection  
Identification of Bull and Bear States of the Market
Implements two algorithms of detecting Bull and Bear markets in stock prices: the algorithm of Pagan ...
Download / Learn more Package Citations See dependency  
schoolmath  
Functions and Datasets for Math Used in School
Contains functions and datasets for math taught in school. A main focus is set to prime-calculation. ...
Download / Learn more Package Citations See dependency  
wordnet  
WordNet Interface
An interface to WordNet using the Jawbone Java API to WordNet. WordNet (< ...
Download / Learn more Package Citations See dependency  

27,806

R Packages

239,283

Dependencies

73,837

Author Associations

27,807

Publication Badges

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