Package: cld2 Type: Package Title: Google's Compact Language Detector 2 Version: 1.2.6 Authors@R: c( person("Jeroen", "Ooms", ,"jeroenooms@gmail.com", role = c("aut", "cre"), comment = c(ORCID = "0000-0002-4035-0289")), person("Dirk Sites", role = "cph", comment = "Author of CLD2 C++ library")) 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. License: Apache License 2.0 Encoding: UTF-8 URL: https://docs.ropensci.org/cld2/ https://ropensci.r-universe.dev/cld2 BugReports: https://github.com/ropensci/cld2/issues Imports: Rcpp LinkingTo: Rcpp RoxygenNote: 6.0.1 Roxygen: list(markdown = TRUE) Suggests: testthat, readtext, cld3 Repository: https://ropensci.r-universe.dev Date/Publication: 2025-07-02 19:57:33 UTC RemoteUrl: https://github.com/ropensci/cld2 RemoteRef: master RemoteSha: e4c001f00c63ae1e7672175a1360ae2016027789 NeedsCompilation: yes Packaged: 2026-06-23 16:52:50 UTC; root Author: Jeroen Ooms [aut, cre] (ORCID: ), Dirk Sites [cph] (Author of CLD2 C++ library) Maintainer: Jeroen Ooms