language.detect
(Tries to) detect the language and encoding of a text file
|
| Usage |
language.detect [document: string]
|
| Description |
| Tries to detect the language and encoding of the file specified
as [document]. The file has to be preferably a simple text file,
or the detector can be deceived by the file format (eg. html files
contains english words inside html tags).
[document] can be an absolute path.
This command is exported by the "language" module.
|
| Syntax Specification |
language.detect [document: string]
|