Class 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 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.
    • Constructor Detail

      • SynonymSet

        public SynonymSet()
      • SynonymSet

        public SynonymSet​(List<String> globs)