Detect which human language a document uses from OCaml, from the Nu Html validator
languages unicode ocaml
at npm 40 lines 1.1 kB view raw
1{ 2 "name": "langdetect-jsoo", 3 "version": "1.0.0", 4 "description": "OCaml/JS port of the Cybozu langdetect algorithm. Detects the natural language of text using n-gram frequency profiles. Supports 47 languages including English, Chinese, Japanese, Arabic, and many European languages.", 5 "browser": "langdetect.js", 6 "homepage": "https://tangled.org/anil.recoil.org/ocaml-langdetect", 7 "scripts": { 8 "test": "echo 'Open langdetect.html in a browser to run tests'" 9 }, 10 "author": "Anil Madhavapeddy", 11 "license": "MIT", 12 "repository": { 13 "type": "git", 14 "url": "git+https://tangled.org/anil.recoil.org/ocaml-langdetect.git#npm" 15 }, 16 "keywords": [ 17 "language", 18 "detection", 19 "langdetect", 20 "nlp", 21 "natural-language", 22 "i18n", 23 "internationalization", 24 "ocaml", 25 "js_of_ocaml", 26 "wasm", 27 "webassembly" 28 ], 29 "files": [ 30 "langdetect.js", 31 "langdetect_js_main.bc.wasm.js", 32 "langdetect_js_main.bc.wasm.assets/", 33 "langdetect-tests.js", 34 "langdetect_js_tests.bc.wasm.js", 35 "langdetect_js_tests.bc.wasm.assets/", 36 "langdetect.html", 37 "README.md", 38 "LICENSE" 39 ] 40}