Detect which human language a document uses from OCaml, from the Nu Html validator
languages
unicode
ocaml
1; Rule to generate packed profiles module from JSON data files
2
3(rule
4 (targets profiles_packed.ml)
5 (deps
6 (glob_files profiles.sm/*))
7 (action
8 (run %{exe:../gen/gen_profiles.exe} profiles.sm .)))
9
10(library
11 (name langdetect)
12 (public_name langdetect)
13 (libraries uutf)
14 (modules langdetect profiles_packed))