Name | Type | Default value | Description |
---|---|---|---|
name | string | Name of the module. Referenced to target this module in query expansion config. | |
minSpan | int | 3 | Minimum number of words (excluding stop words) in a generated related term. |
maxSpan | int | 6 | Maximal number of words (excluding stop words) in a generated related term. |
keepLongestMatch | boolean | True | Keeps only the longest match. For example, if you have 5 tokens ('a', 'b', 'c', 'd', 'e') and 4 related terms 'a', 'a-c', 'b-c-d' and 'd-e'. This option will only keep 'b-c-d' and will remove all other related terms. |
withPartOfSpeech | boolean | True | Automatically adds a PartOfSpeechTagger to the list of processors. |