Class SynonymSet
- java.lang.Object
-
- org.carrot2.attrs.AttrComposite
-
- com.carrotsearch.lingo3g.parameters.SynonymSet
-
- All Implemented Interfaces:
com.carrotsearch.lingo3g.impl.linguistic.model.SynonymDictionary.SynonymSetOrInclude,AcceptingVisitor
public class SynonymSet extends AttrComposite implements com.carrotsearch.lingo3g.impl.linguistic.model.SynonymDictionary.SynonymSetOrInclude
A synonym set consisting of an optional synonym entry (label) and rules for matching synonymous labels.
-
-
Field Summary
Fields Modifier and Type Field Description AttrStringcommentOptional comment describing this synonym set.AttrStringArrayglobLabel matching rules that cover potential cluster labels to be considered synonymous.AttrStringlabelThe representative label to be used for all labels covered by synonym set rules.
-
Constructor Summary
Constructors Constructor Description SynonymSet()SynonymSet(String label, List<String> globs)SynonymSet(List<String> globs)
-
-
-
Field Detail
-
comment
public AttrString comment
Optional comment describing this synonym set.
-
label
public AttrString label
The representative label to be used for all labels covered by synonym set rules.
-
glob
public AttrStringArray glob
Label matching rules that cover potential cluster labels to be considered synonymous.
-
-