Keyboard Support

Contact and Search

Keyman.com Homepage

Header bottom

Keyman.com

Other versions
Version 18.0

On this page

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

static

readonly

(not declared)
SFile_ModelTs

static

readonly

string
SFile_Package

static

readonly

string
SFile_Project

static

readonly

string
SFile_WordlistTsv

static

readonly

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.