Generate Derivational Variants - Specifying Output Categories
The derivational operations can be qualified to restrict output category by a integer. The values of this integer for syntactic category are the OR'ing (or addition) of the following:
Category | Value |
adj | 1 |
adv | 2 |
aux | 4 |
compl | 8 |
conj | 16 |
det | 32 |
modal | 64 |
noun | 128 |
prep | 256 |
pron | 512 |
verb | 1024 |
In some domains, nouns are the vast majority of terms in the vocabulary. Furthermore, for terms which can be interpreted as either nouns or as other categories, the noun sense is much more likely. Under these circumstances, one might want to restrict one's output to nouns.
As the getDerivation flow, the results are sorted by category, length, and case insensitive alphabetical order.
shell> lvg -f:dc~128 -m legal legal|legalism|128|1|d|1|FACT|legal|1|E0037147|legalism|128|E0037148|S|O|None| legal|legality|128|1|d|1|FACT|legal|1|E0037147|legality|128|E0037152|S|O|None| chronology chronology|geochronology|128|1|d|1|FACT|chronology|128|E0016955|geochronology|128|E0225433|P|O|geo| chronology|chronologer|128|1|d|1|FACT|chronology|128|E0016955|chronologer|128|E0567648|S|O|None| chronology|chronologist|128|1|d|1|FACT|chronology|128|E0016955|chronologist|128|E0071500|S|O|None| help help|helper|128|1|d|1|FACT|help|128|E0031061|helper|128|E0031062|S|O|None| help|helper|128|1|d|1|FACT|help|1024|E0031060|helper|128|E0031062|S|O|None| help|helping|128|1|d|1|FACT|help|1024|E0031060|helping|128|E0219271|S|O|None| help|self-help|128|1|d|1|FACT|help|128|E0031061|self-help|128|E0055088|P|O|self-| help|help|128|1|d|1|FACT|help|1024|E0031060|help|128|E0031061|Z|O|None| kind kind|kindness|128|1|d|1|FACT|kind|1|E0036524|kindness|128|E0036531|S|O|None| kind|kind|128|1|d|1|FACT|kind|1|E0036524|kind|128|E0036525|Z|O|None|More examples