public interface BabelSynset extends Synset<BabelSense,BabelSynsetRelation,BabelPointer,BabelGloss,BabelExample>
| Modifier and Type | Method and Description |
|---|---|
List<BabelCategory> |
getCategories()
Gets the categories (
BabelCategorys) of this
BabelSynset. |
List<BabelCategory> |
getCategories(it.uniroma1.lcl.jlt.util.Language... languages)
Gets the categories (
BabelCategorys) of this
BabelSynset in one or more languages. |
com.google.common.collect.HashMultimap<it.uniroma1.lcl.jlt.util.Language,String> |
getCompounds()
Deprecated.
No more supported
|
Set<String> |
getCompounds(it.uniroma1.lcl.jlt.util.Language language)
Deprecated.
No more supported
|
List<String> |
getDBPediaURIs(it.uniroma1.lcl.jlt.util.Language... languages)
Deprecated.
|
default List<BabelSynsetRelation> |
getEdges()
Deprecated.
use
Synset.getOutgoingEdges() instead. |
List<BabelSynsetRelation> |
getEdges(BabelPointer... edgeTypes)
Deprecated.
use
Synset.getOutgoingEdges(SynsetRelationType...) instead. |
Optional<FrameID> |
getFrameID()
Get the VerbAtlas frame id associated to the
BabelSynset. |
List<String> |
getGeoNamesURIs(it.uniroma1.lcl.jlt.util.Language... languages)
Deprecated.
|
default BabelSynsetID |
getId()
Deprecated.
Use
getID() |
BabelSynsetID |
getID()
Gets the id of this
BabelSynset. |
List<BabelImage> |
getImages()
Gets the images (
BabelImages) of this BabelSynset. |
default List<BabelLemma> |
getLemmas(it.uniroma1.lcl.jlt.util.Language language)
Returns the lemmas in this
BabelSynset sorted by relevance and type |
List<BabelLemma> |
getLemmas(it.uniroma1.lcl.jlt.util.Language language,
BabelLemmaType... types)
Returns the lemmas in this
BabelSynset sorted by relevance and type |
Optional<BabelImage> |
getMainImage()
Gets the best image (
BabelImage) of this BabelSynset. |
default Optional<BabelSense> |
getMainSense()
Gets the main
BabelSense by importance to this BabelSynset for any language. |
Optional<BabelSense> |
getMainSense(it.uniroma1.lcl.jlt.util.Language language)
Gets the main
BabelSense by importance to this BabelSynset for a given language. |
Optional<BabelSense> |
getMainSensePreferrablyIn(it.uniroma1.lcl.jlt.util.Language language)
Gets the main
BabelSense by importance to this BabelSynset preferrably for a given language. |
List<BabelSense> |
getMainSenses(it.uniroma1.lcl.jlt.util.Language language)
Collects distinct
BabelSenses sorted by importance to this
BabelSynset for a given language. |
com.google.common.collect.LinkedHashMultimap<it.uniroma1.lcl.jlt.util.Language,String> |
getOtherForms()
Deprecated.
No more supported
|
Set<String> |
getOtherForms(it.uniroma1.lcl.jlt.util.Language language)
Deprecated.
No more supported
|
it.uniroma1.lcl.jlt.util.POS |
getPOS()
Gets the part of speech of this
Synset. |
List<QcodeID> |
getQcodeIDs()
Collects all the Q-codes id associated to the
BabelSynset. |
List<BabelSenseSource> |
getSenseSources()
|
Set<StringTag> |
getStringTags()
Gets the
StringTags associated to the BabelSynset. |
int |
getSynsetDegree()
Get the degree of the
BabelSynset. |
BabelSynsetType |
getSynsetType()
Deprecated.
Use
Synset.getType() instead |
com.google.common.collect.Multimap<BabelSense,BabelSense> |
getTranslations()
Gets all translations between senses found in this
BabelSynset. |
Map<WordNetSynsetID,List<WordNetSynsetID>> |
getWordNetOffsetMapFrom(it.uniroma1.lcl.jlt.wordnet.WordNetVersion fromVersion)
Obtains a map from
WordNetSynsetIDs of the input WordNetVersion to the current version of WordNet (3.0 as of 2016) |
Map<WordNetSynsetID,List<WordNetSynsetID>> |
getWordNetOffsetMapTo(it.uniroma1.lcl.jlt.wordnet.WordNetVersion toVersion)
Obtains a map from the current version of WordNet (3.0 as of 2016) to
WordNetSynsetIDs of the input WordNetVersion |
List<WordNetSynsetID> |
getWordNetOffsets()
Gets the WordNet offsets (version 3.0) whose corresponding synsets this
BabelSynset covers, if any. |
List<String> |
getYAGOURIs()
Deprecated.
|
boolean |
isKeyConcept()
Determines if the synset is a key concept
|
String |
toString(it.uniroma1.lcl.jlt.util.Language... languages)
Returns the string representation of the
BabelSenses
of this BabelSynset only for a specific set of languages. |
addStringTag, getDomains, getExamples, getExamples, getExamples, getExamples, getGlosses, getGlosses, getGlosses, getGlosses, getLanguages, getMainExample, getMainExample, getMainGloss, getMainGloss, getOutgoingEdges, getOutgoingEdges, getSenses, getSenses, getSenses, getSenses, getSenses, getSenses, getType, retainSenses, retainSenses, size, toURIs, toURIs, toURIsforEach, iterator, spliteratorgetTags, getTags, isTaggedAs, isTaggedAs, isTaggedAsBabelSynsetID getID()
BabelSynset.getID in interface Synset<BabelSense,BabelSynsetRelation,BabelPointer,BabelGloss,BabelExample>BabelSynset.@Deprecated default BabelSynsetID getId()
getID()BabelSynset.BabelSynset.it.uniroma1.lcl.jlt.util.POS getPOS()
SynsetSynset.getPOS in interface Synset<BabelSense,BabelSynsetRelation,BabelPointer,BabelGloss,BabelExample>Synset.List<BabelSenseSource> getSenseSources()
getSenseSources in interface Synset<BabelSense,BabelSynsetRelation,BabelPointer,BabelGloss,BabelExample>BabelSenseSources@Deprecated Set<String> getCompounds(it.uniroma1.lcl.jlt.util.Language language)
BabelSynset for a given language.language - the search languageBabelSynset in a specific language.@Deprecated com.google.common.collect.HashMultimap<it.uniroma1.lcl.jlt.util.Language,String> getCompounds()
BabelSynset.BabelSynset.@Deprecated Set<String> getOtherForms(it.uniroma1.lcl.jlt.util.Language language)
BabelSynset for a given language.language - the search languageBabelSynset in a specific language.@Deprecated com.google.common.collect.LinkedHashMultimap<it.uniroma1.lcl.jlt.util.Language,String> getOtherForms()
BabelSynset.BabelSynset.List<BabelImage> getImages()
BabelImages) of this BabelSynset.BabelImages) of this
BabelSynset.Optional<BabelImage> getMainImage()
BabelImage) of this BabelSynset.BabelImage) of this
BabelSynset. (null if doesn't exist)List<BabelCategory> getCategories()
BabelCategorys) of this
BabelSynset.BabelCategorys) of this
BabelSynset.List<BabelCategory> getCategories(it.uniroma1.lcl.jlt.util.Language... languages)
BabelCategorys) of this
BabelSynset in one or more languages.languages - the search languagesBabelCategorys) of this
BabelSynset in the languages specified.List<WordNetSynsetID> getWordNetOffsets()
BabelSynset covers, if any.BabelSynset.Map<WordNetSynsetID,List<WordNetSynsetID>> getWordNetOffsetMapFrom(it.uniroma1.lcl.jlt.wordnet.WordNetVersion fromVersion)
WordNetSynsetIDs of the input WordNetVersion to the current version of WordNet (3.0 as of 2016)fromVersion - the source WordNet versionWordNetSynsetID to list of WordNetSynsetIDMap<WordNetSynsetID,List<WordNetSynsetID>> getWordNetOffsetMapTo(it.uniroma1.lcl.jlt.wordnet.WordNetVersion toVersion)
WordNetSynsetIDs of the input WordNetVersiontoVersion - the target WordNet versionWordNetSynsetID to list of WordNetSynsetIDdefault List<BabelLemma> getLemmas(it.uniroma1.lcl.jlt.util.Language language)
BabelSynset sorted by relevance and typelanguage - the language of interestList<BabelLemma> getLemmas(it.uniroma1.lcl.jlt.util.Language language, BabelLemmaType... types)
BabelSynset sorted by relevance and typelanguage - the language of interesttypes - the types for the requested synset lemmasdefault Optional<BabelSense> getMainSense()
BabelSense by importance to this BabelSynset for any language.Optional<BabelSense> getMainSense(it.uniroma1.lcl.jlt.util.Language language)
BabelSense by importance to this BabelSynset for a given language.language - the language of the main senseOptional<BabelSense> getMainSensePreferrablyIn(it.uniroma1.lcl.jlt.util.Language language)
BabelSense by importance to this BabelSynset preferrably for a given language.language - the preferred language of the main senseList<BabelSense> getMainSenses(it.uniroma1.lcl.jlt.util.Language language)
BabelSenses sorted by importance to this
BabelSynset for a given language.language - the search language@Deprecated List<String> getDBPediaURIs(it.uniroma1.lcl.jlt.util.Language... languages)
Synset.toURIs(ExternalResource)BabelSenses in a specific language
found in this BabelSynset.languages - the search languagesBabelSenses in this synset.BabelSense.getDBPediaURI()@Deprecated List<String> getYAGOURIs()
Synset.toURIs(ExternalResource)BabelSenses
found in this BabelSynset.BabelSenses in this synset.BabelSense.getYAGOURI()@Deprecated List<String> getGeoNamesURIs(it.uniroma1.lcl.jlt.util.Language... languages)
Synset.toURIs(ExternalResource)BabelSenses in a specific language
found in this BabelSynset.languages - the search languagesBabelSenses in this synset.BabelSense.getGeoNamesURI()String toString(it.uniroma1.lcl.jlt.util.Language... languages)
BabelSenses
of this BabelSynset only for a specific set of languages.languages - the languages to use for the string representation@Deprecated default List<BabelSynsetRelation> getEdges()
Synset.getOutgoingEdges() instead.BabelSynset edges incident on this
BabelSynset.BabelSynsetRelations incident on this
BabelSynset@Deprecated List<BabelSynsetRelation> getEdges(BabelPointer... edgeTypes)
Synset.getOutgoingEdges(SynsetRelationType...) instead.edgeTypes - the types of the edges connecting this synset to other synsetsBabelSynsetRelations tagged with the BabelPointers given as inputBabelSynsetType getSynsetType()
Synset.getType() insteadBabelSynset, namely whether it's
an entity, a concept, etc.BabelSynset.com.google.common.collect.Multimap<BabelSense,BabelSense> getTranslations()
BabelSynset.BabelSense in this Babel
synset with its translations.boolean isKeyConcept()
Set<StringTag> getStringTags()
StringTags associated to the BabelSynset.StringTags of this BabelSynsetOptional<FrameID> getFrameID()
BabelSynset.BabelSynsetint getSynsetDegree()
BabelSynset.BabelSynsetList<QcodeID> getQcodeIDs()
BabelSynset.QcodeIDs of this BabelSynsetCopyright © 2016–2022. All rights reserved.