Package | Description |
---|---|
it.uniroma1.lcl.babelnet |
The root package of the BabelNet API.
|
it.uniroma1.lcl.babelnet.resources |
Package including all classes related to
ResourceID s for BabelNet. |
it.uniroma1.lcl.kb |
The package which contains the general interfaces and classes for all Lexical Knowledge Bases.
|
Modifier and Type | Class and Description |
---|---|
class |
BabelSynsetID
Constructs a resource identifier with the specified
BabelSynset ID. |
class |
WordNetSynsetID
Constructs a resource identifier with the specified WordNet synset id.
|
Modifier and Type | Field and Description |
---|---|
protected Set<ResourceID> |
BabelNetQuery.resourceIDs
Resource IDs for restricting results
|
Modifier and Type | Method and Description |
---|---|
BabelSynset |
BabelNet.getSynset(Collection<it.uniroma1.lcl.jlt.util.Language> targetLangs,
ResourceID resourceID)
Deprecated.
|
BabelSynset |
BabelNet.getSynset(ResourceID resourceID) |
List<BabelSynset> |
BabelNet.getSynsets(Collection<it.uniroma1.lcl.jlt.util.Language> targetLangs,
ResourceID... resourceIds)
Deprecated.
|
List<BabelSynset> |
BabelNet.getSynsets(ResourceID... resourceIds) |
Constructor and Description |
---|
Builder(ResourceID... resourceIDs)
Adds the resource IDs for search
|
Builder(ResourceID resourceID)
Adds the resource ID for search
|
Constructor and Description |
---|
Builder(Collection<? extends ResourceID> resourceIDs)
Adds the resource IDs for search
|
Modifier and Type | Class and Description |
---|---|
class |
FrameNetID
A resource identifier with the specified
FrameNet resource id.
|
class |
GeoNamesID
A resource identifier with the specified
GeoNames resource id.
|
class |
MSTermID
A resource identifier with the specified
Microsoft Terminology resource id.
|
class |
OmegaWikiID
A resource identifier with the specified OmegaWiki resource id.
|
class |
VerbNetID
A resource identifier with the specified
VerbNet resource id.
|
class |
WikidataID
A resource identifier with the specified
Wikidata resource id.
|
class |
WikipediaID
A resource identifier with the specified
Wikipedia page title, language and POS.
|
class |
WikiquoteID
A resource identifier with the specified
Wikiquote page title, language and POS.
|
class |
WiktionaryID
A resource identifier with the specified Wiktionary id.
|
Modifier and Type | Class and Description |
---|---|
class |
ResourceWithLemmaID
A resource identifier with multiple parameters.
|
class |
SynsetID
A unique identifier for a
Synset . |
Modifier and Type | Method and Description |
---|---|
T |
LKB.getSynset(ResourceID resourceID)
Given a
ResourceID , returns the synset identified by the ResourceID in input. |
List<T> |
LKB.getSynsets(ResourceID... resourceIds)
Given a list of
ResourceID s, returns the synsets identified by the ResourceIDs in input. |
default List<? extends T> |
LKB.toSynsets(ResourceID id)
Converts from
ResourceID to the corresponding Synset s. |
List<T> |
LKB.toSynsets(ResourceID id,
Collection<it.uniroma1.lcl.jlt.util.Language> targetLanguages)
Converts from
ResourceID to the corresponding Synset s. |
Copyright © 2016–2018. All rights reserved.