public interface Sense extends Taggable
Synset
.Modifier and Type | Method and Description |
---|---|
String |
getFullLemma()
Gets the full lemma of this
Sense
(which might include annotations, such as labels in Wikipedia page titles). |
Collection<BabelGloss> |
getGlosses()
Returns the
BabelGloss es associated to this Sense . |
it.uniroma1.lcl.jlt.util.Language |
getLanguage()
Gets the
Language of this Sense |
Lemma |
getLemma()
Gets the lemma of this
Sense . |
String |
getNormalizedLemma()
Gets the normalized lemma of this
Sense . |
it.uniroma1.lcl.jlt.util.POS |
getPOS()
Gets the part of speech of this
Sense . |
String |
getSimpleLemma()
Deprecated.
|
SenseSource |
getSource()
Gets the
BabelSenseSource of this Sense . |
BabelSynset |
getSynset()
Gets the
BabelSynset this Sense belongs to. |
SynsetID |
getSynsetID()
Returns the id of the
Synset the sense belongs to |
boolean |
isKeySense()
Returns true if it is a key sense
|
default Optional<String> |
toURI(ExternalResource resource)
Returns the URI of the sense for a given
ExternalResource |
getTags, getTags, isTaggedAs, isTaggedAs, isTaggedAs
boolean isKeySense()
String getFullLemma()
Sense
(which might include annotations, such as labels in Wikipedia page titles). Use getNormalizedLemma()
to retrieve
plain lemmas lower case or getLemma()
.Sense
.@Deprecated String getSimpleLemma()
getNormalizedLemma()
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.Sense
.String getNormalizedLemma()
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.Sense
.it.uniroma1.lcl.jlt.util.POS getPOS()
Sense
.Sense
.SenseSource getSource()
BabelSenseSource
of this Sense
.BabelSenseSource
of this Sense
.it.uniroma1.lcl.jlt.util.Language getLanguage()
Language
of this Sense
Language
of this Sense
.BabelSynset getSynset()
BabelSynset
this Sense
belongs to.BabelSynset
of this Sense
.SynsetID getSynsetID()
Synset
the sense belongs toSynset
the sense belongs toCollection<BabelGloss> getGlosses()
BabelGloss
es associated to this Sense
.BabelGloss
es of this Sense
default Optional<String> toURI(ExternalResource resource)
ExternalResource
resource
- the external resourceCopyright © 2016–2021. All rights reserved.