Interface Sense

    • Method Detail

      • isKeySense

        boolean isKeySense()
        Returns true if it is a key sense
        Returns:
        true if it is a key sense, false otherwise
      • getFullLemma

        String getFullLemma()
        Gets the full lemma of this Sense (which might include annotations, such as labels in Wikipedia page titles). Use getNormalizedLemma() to retrieve plain lemmas lower case or getLemma().
        Returns:
        the lemma of this Sense.
      • getSimpleLemma

        @Deprecated
        String getSimpleLemma()
        Deprecated.
        Gets the simple lemma of this Sense. This corresponds to the lemma itself, if the lemma comes from WordNet, or the lemma possibly without sense labels (i.e. parentheses) if it comes from Wikipedia.
        Returns:
        the simple lemma of this Sense.
      • getNormalizedLemma

        String getNormalizedLemma()
        Gets the normalized lemma of this Sense. This corresponds to the lower case lemma itself, if the lemma comes from WordNet, or the lower case lemma possibly without sense labels (i.e. parentheses) if it comes from Wikipedia.
        Returns:
        the normalized lemma of this Sense.
      • getLemma

        Lemma getLemma()
        Gets the lemma of this Sense.
        Returns:
        the lemma of this Sense
      • getPOS

        it.uniroma1.lcl.jlt.util.POS getPOS()
        Gets the part of speech of this Sense.
        Returns:
        the part of speech of this Sense.
      • getLanguage

        it.uniroma1.lcl.jlt.util.Language getLanguage()
        Gets the Language of this Sense
        Returns:
        the Language of this Sense.
      • getSynsetID

        SynsetID getSynsetID()
        Returns the id of the Synset the sense belongs to
        Returns:
        SynsetID the id of the Synset the sense belongs to