CMD + K

r-cld2

Community

Bindings to Google's C++ library Compact Language Detector 2 (see <https://github.com/cld2owners/cld2#readme> 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.

Installation

To install this package, run one of the following:

Conda
$conda install r_test::r-cld2

Usage Tracking

1.2
1 / 8 versions selected
Downloads (Last 6 months): 0

About

Summary

Bindings to Google's C++ library Compact Language Detector 2 (see <https://github.com/cld2owners/cld2#readme> 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.

Last Updated

Sep 4, 2019 at 09:44

License

Apache License 2.0

Total Downloads

2

Supported Platforms

linux-64
win-64
macOS-64