Documentation ¶
Overview ¶
Package config is used for lexicon configuration settings (work in progress, not ready for proper use!)
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Lexicons []string // lexicon name(s) in some db StatusNames []string // should be in some (the lex?) db PosTags []string // should be in some (the lex?) db Languages []string // should be in some (the lex?) db Users []string // should be in some (the lex?) db Sources []string // should be in some (the lex?) db Encoding string // should be in some (the lex?) db OrthCharsRe string // should be in some (the lex?) db Validator validation.Validator // should be in some (the lex?) db? LineParsers []line.Parser // should be in some (the lex?) db? TTSMapper string //?? }
Config configuration used with a lexicon
type JSON ¶
type JSON struct { Lexicons []string `json:"lexicons"` StatusNames []string `json:"statusNames"` PosTags []string `json:"posTags"` Languages []string `json:"languages"` Users []string `json:"users"` Sources []string `json:"string"` Encoding string `json:"encoding"` OrthCharsRe string `json:"orthCharsRe"` Validator string `json:"validator"` LineParsers []string `json:"lineParsers"` TTSMapper string `json:"ttsMapper"` }
JSON representation of a configuration used with a lexicon (string values only)
Click to show internal directories.
Click to hide internal directories.