Retrieve all fruitful variants from database
Generating the variants via the -f:G flow is a time consuming process. It was found to be useful to pre-compute all the variants of all terms from the Lexicon and have a quick look up into this pre-computed table.
There is a difference on the result between this flow and -f:G flow. This is because -f:v flow is case insensitive.
The history notation and distance score are shown below:
Operation | Notation | Distance score |
No Operations | n | 0 |
Spelling Variant | s | 0 |
Inflectional Variant | i | 1 |
Synonym | y | 2 |
Acronym/Abbreviation | A | 2 |
Expansion | a | 2 |
Derivational Variant | d | 3 |
The -m option shows detail mutate information includes flow history, distance score, and tag information. The tag information is represented by a long value by combining tag bit values. Currently, two bits are defined as listed in following table:
Bit | Value | Tag |
0 | 1 | Noun/Adj only in recursive derivation |
1 | 2 | Unique acronyms/expansion |
Please refer to Tag class for details.
The data in the Java version is much more thorough.
shell> lvg -f:v -m neurological neurological|neurological|1|1|v|1|1|1|n|0|3| neurological|neuro|1|1|v|1|1|1|n+A|2|1| neurological|neurol|1|1|v|1|1|1|n+A|2|1| neurological|neurologic|1|1|v|1|1|1|n+y|2|3| neurological|neurologically|2|1|v|1|1|1|n+d|3|2| neurological|neurology|128|1|v|1|1|1|n+d|3|3| neurological|neurologies|128|8|v|1|1|1|n+d+i|4|3| neurological|neurologist|128|1|v|1|1|1|n+dd|6|2| neurological|neurologists|128|8|v|1|1|1|n+dd+i|7|2| neurological|nervous system|128|1|v|1|1|1|n+dd+y|8|2| neurological|nervous systems|128|8|v|1|1|1|n+dd+y+i|9|2| shell> lvg -f:v -CR:o neurological neurological|nervous system|128|1|v|1| neurological|nervous systems|128|8|v|1| neurological|neuro|1|1|v|1| neurological|neurol|1|1|v|1| neurological|neurologic|1|1|v|1| neurological|neurological|1|1|v|1| neurological|neurologically|2|1|v|1| neurological|neurologies|128|8|v|1| neurological|neurologist|128|1|v|1| neurological|neurologists|128|8|v|1| neurological|neurology|128|1|v|1|More examples