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 04 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

murphydiagram  
Murphy Diagrams for Forecast Comparisons
Data and code for the paper by Ehm, Gneiting, Jordan and Krueger ('Of Quantiles and Expectiles: Con ...
Download / Learn more Package Citations See dependency  
golem  
A Framework for Robust Shiny Applications
An opinionated framework for building a production-ready 'Shiny' application. This package contains ...
Download / Learn more Package Citations See dependency  
AMPLE  
Shiny Apps to Support Capacity Building on Harvest Control Rules
Three Shiny apps are provided that introduce Harvest Control Rules (HCR) for fisheries management. ...
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  
crplyr  
A 'dplyr' Interface for Crunch
In order to facilitate analysis of datasets hosted on the Crunch data platform ...
Download / Learn more Package Citations See dependency  
phers  
Calculate Phenotype Risk Scores
Use phenotype risk scores based on linked clinical and genetic data to study Mendelian disease and ...
Download / Learn more Package Citations See dependency  

27,268

R Packages

233,548

Dependencies

72,590

Author Associations

27,205

Publication Badges

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