CustomVocabclass | english.t[2389] |
Superclass Tree | Subclass Tree | Global Objects | Property Summary | Method Summary | Property Details | Method Details |
The library provides a CustomVocab object with many common special-case words, but games and extensions can augment the built-in lists by defining their own CustomVocab objects that follow the same patterns. The library automatically includes all of the special word lists in all of the CustomVocab objects defined throughout the game.
class
CustomVocab : object
irregularPlurals
specialAOrAn
verbParams
irregularPlurals | english.t[2418] |
specialAOrAn | english.t[2408] |
We apply the special rules based on the first word in a name. The first word is simply the first contiguous group of alphanumeric characters. If the first word in a name is found in this list, the setting here will override any spelling rules.
The entries here are simply strings of the form 'a word' or 'an word'. Start with the appropriate form of a/an, then add a space, then the special word to match.
verbParams | english.t[2443] |
'infinitive/present3/past/past-participle'
The 'infinitive' is the 'to' form of the verb (to go, to look, to see), but *without* the word 'to'. 'present3' is the third-person present form (is, goes, sees). 'past' is the past tense form (went, looked, saw). 'past-participle' is the past participle form; this is optional, and is needed only for verbs with distinct past and past participle forms (e.g., saw/seen, went/gone). Most regular verbs - those with the past formed by adding -ed to the infinitive - have identical past and participle forms.
For every English verb except "to be", the entire present and past conjugations can be derived from these three bits of information. The past perfect, future, and future perfect conjugations can also be derived from this information, for any verb except "to be" and the auxiliary verbs (could, should, etc). The English library pre-defines "to be" and all of the auxiliary verbs, so there's no need to define those with this mechanism.
(none)