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 25 Jun. 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

foster  
Forest Structure Extrapolation with R
Set of tools to streamline the modeling of the relationship betweensatellite imagery time series or ...
Download / Learn more Package Citations See dependency  
sitmo  
Parallel Pseudo Random Number Generator (PPRNG) 'sitmo' Header Files
Provided within are two high quality and fast PPRNGs that may be used in an 'OpenMP' parallel enviro ...
Download / Learn more Package Citations See dependency  
quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
airGRiwrm  
'airGR' Integrated Water Resource Management
Semi-distributed Precipitation-Runoff Modelling based on 'airGR' package models integrating human i ...
Download / Learn more Package Citations See dependency  
edeaR  
Exploratory and Descriptive Event-Based Data Analysis
Exploratory and descriptive analysis of event based data. Provides methods for describing and select ...
Download / Learn more Package Citations See dependency  

27,535

R Packages

236,180

Dependencies

73,223

Author Associations

27,536

Publication Badges

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