Maintainer Mode
Sign in with GitHub
Work in progress. Maintainer Mode changes every day: pages, numbers and links can change or break. Tell us what is wrong or missing.

cld2

cld2 0-unstable-2015-08-21 · pkgs/by-name/cl/cld2/package.nix

Health

Risk
risk 2 low
  • +2 no meta.mainProgram, no versionCheckHook
Version
0-unstable-2015-08-21 no newer release known to repology
Channels
master 0-unstable-2015-08-21 · nixos-unstable 0-unstable-2015-08-21 · nixos-26.05 0-unstable-2015-08-21 no channel is behind master
Hydra
succeeded 2w ago
Advisories
none open
Packaging
no meta.mainProgram no versionCheckHook
Description
Compact Language Detector 2
Long description
CLD2 probabilistically detects over 80 languages in Unicode UTF-8 text, either plain text or HTML/XML. Legacy encodings must be converted to valid UTF-8 by the caller. For mixed-language input, CLD2 returns the top three languages found and their approximate percentages of the total text bytes (e.g. 80% English and 20% French out of 1000 bytes of text means about 800 bytes of English and 200 bytes of French). Optionally, it also returns a vector of text spans with the language of each identified. This may be useful for applying different spelling-correction dictionaries or different machine translation requests to each span. The design target is web pages of at least 200 characters (about two sentences); CLD2 is not designed to do well on very short text, lists of proper names, part numbers, etc.
License
Platforms
79 platforms: Linux, Darwin
Source provenance
not set: built from source
Outputs
out
Status
not broken, not insecure, free
Maintainers

Version bumps 0

all open bumps
None open.

Pull requests 0

None open.

Issues 0

None open.