Class BabelSynsetRelationComparator

    • Constructor Detail

      • BabelSynsetRelationComparator

        public BabelSynsetRelationComparator​(String word)
        Creates a new instance of a BabelSynsetRelationComparator with sorting on the English language
        Parameters:
        word - the word whose sense numbers are used to sort the BabelSynsets corresponding to WordNet synsets
      • BabelSynsetRelationComparator

        public BabelSynsetRelationComparator​(String word,
                                             it.uniroma1.lcl.jlt.util.Language language)
        Creates a new instance of a BabelSynsetRelationComparator
        Parameters:
        word - the word whose sense numbers are used to sort the BabelSynsets corresponding to WordNet synsets
        language - the language used to sort senses