cld2

Google's Compact Language Detector 2

CRAN Package

Bindings to Google's C++ library Compact Language Detector 2 (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.


Documentation


Team


Insights

Last 30 days

This package has been downloaded 1,760 times in the last 30 days. That's enough downloads to impress a room full of undergrads. A commendable achievement indeed. The following heatmap shows the distribution of downloads per day. Yesterday, it was downloaded 31 times.

Sun
Mon
Tue
Wed
Thu
Fri
Sat
0 downloadsMar 16, 2025
0 downloadsMar 17, 2025
0 downloadsMar 18, 2025
0 downloadsMar 19, 2025
0 downloadsMar 20, 2025
0 downloadsMar 21, 2025
33 downloadsMar 22, 2025
55 downloadsMar 23, 2025
136 downloadsMar 24, 2025
60 downloadsMar 25, 2025
84 downloadsMar 26, 2025
40 downloadsMar 27, 2025
103 downloadsMar 28, 2025
23 downloadsMar 29, 2025
33 downloadsMar 30, 2025
52 downloadsMar 31, 2025
94 downloadsApr 1, 2025
71 downloadsApr 2, 2025
80 downloadsApr 3, 2025
36 downloadsApr 4, 2025
45 downloadsApr 5, 2025
25 downloadsApr 6, 2025
77 downloadsApr 7, 2025
78 downloadsApr 8, 2025
84 downloadsApr 9, 2025
50 downloadsApr 10, 2025
58 downloadsApr 11, 2025
76 downloadsApr 12, 2025
38 downloadsApr 13, 2025
50 downloadsApr 14, 2025
69 downloadsApr 15, 2025
59 downloadsApr 16, 2025
41 downloadsApr 17, 2025
58 downloadsApr 18, 2025
21 downloadsApr 19, 2025
31 downloadsApr 20, 2025
0 downloadsApr 21, 2025
0 downloadsApr 22, 2025
0 downloadsApr 23, 2025
0 downloadsApr 24, 2025
0 downloadsApr 25, 2025
0 downloadsApr 26, 2025
21
136

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Last 365 days

This package has been downloaded 17,793 times in the last 365 days. That's enough downloads to make it mildly famous in niche technical communities. A badge of honor! The day with the most downloads was Apr 23, 2024 with 157 downloads.

The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.

Data provided by CRAN


Binaries


Dependencies

  • Imports1 package
  • Suggests3 packages
  • Linking To1 package
  • Reverse Imports2 packages
  • Reverse Suggests5 packages