LexicalModelGenerator class
Home > @keymanapp/kmc-generate > LexicalModelGenerator
LexicalModelGenerator class
Generate a Keyman lexical model project. The generator does not read or write from filesystem or network directly, but relies on callbacks for all external IO.
Signature:
export declare class LexicalModelGenerator extends BasicGenerator implements KeymanCompiler
Extends: BasicGenerator
Implements: KeymanCompiler
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
SFile_Model |
|
(not declared) | |
SFile_ModelTs |
|
string | |
SFile_Package |
|
string | |
SFile_Project |
|
string | |
SFile_WordlistTsv |
|
string |
Methods
Method | Modifiers | Description |
---|---|---|
run() | Generate a Lexical Model project. Returns an object containing binary artifacts on success. The files are passed in by name, and the compiler will use callbacks as passed to the AbstractGenerator.init() function to read any input files by disk. |