Package | Description |
---|---|
it.uniroma1.lcl.babelnet |
The root package of the BabelNet API.
|
it.uniroma1.lcl.babelnet.data |
The data package of the BabelNet API.
|
it.uniroma1.lcl.babelnet.resources |
Package including all classes related to
ResourceID for BabelNet |
Modifier and Type | Field and Description |
---|---|
protected List<BabelSenseSource> |
BabelSynset.containedSenseSources
List of contained sense sources
|
Modifier and Type | Method and Description |
---|---|
BabelSenseSource |
BabelSense.getSource()
Gets the
BabelSenseSource of this BabelSense . |
Modifier and Type | Method and Description |
---|---|
abstract List<BabelSenseSource> |
BabelSynset.getSenseSources()
Collects all
BabelSenseSource s contained
for this BabelSynset . |
Modifier and Type | Method and Description |
---|---|
abstract List<BabelExample> |
BabelSynset.getExamples(it.uniroma1.lcl.jlt.util.Language lang,
BabelSenseSource source)
Collects all
BabelExample s in the given language and source
for this BabelSynset . |
abstract List<BabelGloss> |
BabelSynset.getGlosses(BabelSenseSource source)
Collects all
BabelGloss es in the given source
for this BabelSynset . |
abstract List<BabelSense> |
BabelSynset.getSenses(BabelSenseSource source)
Get the senses contained in this
BabelSynset for an
input sense source |
abstract List<BabelSense> |
BabelSynset.getSenses(it.uniroma1.lcl.jlt.util.Language language,
BabelSenseSource source)
Get the senses contained in this
BabelSynset for an
input language and sense source |
List<BabelSense> |
BabelNet.getSenses(it.uniroma1.lcl.jlt.util.Language language,
String word,
BabelPOS pos,
BabelSenseSource... allowedSources)
Deprecated.
|
List<BabelSense> |
BabelSynset.getSenses(it.uniroma1.lcl.jlt.util.Language language,
String lemma,
BabelSenseSource... sources)
Deprecated.
|
List<BabelSense> |
BabelNet.getSenses(String word,
it.uniroma1.lcl.jlt.util.Language language,
BabelPOS pos,
BabelSenseSource... allowedSources)
Returns the senses for the word with the given constraints.
|
List<BabelSense> |
BabelNet.getSenses(String word,
it.uniroma1.lcl.jlt.util.Language language,
BabelPOS pos,
boolean normalized,
BabelSenseSource... allowedSources)
Returns the senses for the word with the given constraints.
|
List<BabelSense> |
BabelNet.getSenses(String word,
it.uniroma1.lcl.jlt.util.Language language,
BabelPOS pos,
Collection<it.uniroma1.lcl.jlt.util.Language> filterLangs,
BabelSenseSource... allowedSources)
Returns the senses for the word with the given constraints.
|
abstract List<BabelSense> |
BabelNet.getSenses(String word,
it.uniroma1.lcl.jlt.util.Language language,
BabelPOS pos,
Collection<it.uniroma1.lcl.jlt.util.Language> filterLangs,
boolean normalized,
BabelSenseSource... allowedSources)
Returns the senses for the word with the given constraints.
|
List<BabelSense> |
BabelSynset.getSenses(String lemma,
it.uniroma1.lcl.jlt.util.Language language,
BabelSenseSource... sources)
Gets the
BabelSense for the input word in the given language |
abstract List<BabelSense> |
BabelSynset.getSenses(String lemma,
it.uniroma1.lcl.jlt.util.Language language,
boolean normalized,
BabelSenseSource... sources)
Gets the
BabelSense for the input word in the given language |
List<BabelSynset> |
BabelNet.getSynsets(it.uniroma1.lcl.jlt.util.Language language,
String word,
BabelPOS pos,
BabelSenseSource... allowedSources)
Deprecated.
|
List<BabelSynset> |
BabelNet.getSynsets(String word,
Collection<it.uniroma1.lcl.jlt.util.Language> langs,
BabelPOS pos,
BabelSenseSource... allowedSources)
Given a word and a collection of languages, returns the senses for the word available in the given sense sources.
|
List<BabelSynset> |
BabelNet.getSynsets(String word,
Collection<it.uniroma1.lcl.jlt.util.Language> langs,
BabelPOS pos,
boolean normalized,
BabelSenseSource... allowedSources)
Given a word and a collection of languages, returns the senses for the word available in the given sense sources.
|
List<BabelSynset> |
BabelNet.getSynsets(String word,
Collection<it.uniroma1.lcl.jlt.util.Language> langs,
BabelPOS pos,
Collection<it.uniroma1.lcl.jlt.util.Language> filterLangs,
BabelSenseSource... allowedSources)
Given a word and a collection of languages, returns the senses for the word available in the given sense sources.
|
abstract List<BabelSynset> |
BabelNet.getSynsets(String word,
Collection<it.uniroma1.lcl.jlt.util.Language> langs,
BabelPOS pos,
Collection<it.uniroma1.lcl.jlt.util.Language> filterLangs,
boolean normalized,
BabelSenseSource... allowedSources) |
List<BabelSynset> |
BabelNet.getSynsets(String word,
it.uniroma1.lcl.jlt.util.Language language,
BabelPOS pos,
BabelSenseSource... allowedSources)
Given a word in a certain language, returns the senses for the word available in the given sense sources.
|
List<BabelSynset> |
BabelNet.getSynsets(String word,
it.uniroma1.lcl.jlt.util.Language language,
BabelPOS pos,
boolean normalized,
BabelSenseSource... allowedSources)
Given a word in a certain language, returns the senses for the word available in the given sense sources.
|
List<BabelSynset> |
BabelNet.getSynsets(String word,
it.uniroma1.lcl.jlt.util.Language language,
BabelPOS pos,
Collection<it.uniroma1.lcl.jlt.util.Language> filterLangs,
BabelSenseSource... allowedSources)
Given a word in a certain language, returns the senses for the word available in the given sense sources.
|
List<BabelSynset> |
BabelNet.getSynsets(String word,
it.uniroma1.lcl.jlt.util.Language language,
BabelPOS pos,
Collection<it.uniroma1.lcl.jlt.util.Language> filterLangs,
boolean normalized,
BabelSenseSource... allowedSources)
Given a word in a certain language, returns the senses for the word available in the given sense sources.
|
Constructor and Description |
---|
BabelSense(it.uniroma1.lcl.jlt.util.Language language,
String lemma,
BabelPOS pos,
BabelSenseSource source,
String sensekey,
String wordNetOffset,
int position,
int frequency,
Integer sensenumber,
String translationInfo,
String freebaseId,
String YAGOURL,
BabelSynset synset,
boolean bKeyConcept,
BabelSensePhonetics pronunciations)
Creates a new instance of a
BabelSense |
BabelSense(it.uniroma1.lcl.jlt.util.Language language,
String lemma,
BabelPOS pos,
BabelSenseSource source,
String sensekey,
String wordNetOffset,
int position,
int frequency,
int sensenumber,
String translationInfo,
String freebaseId,
String YAGOURL,
BabelSynset synset,
boolean bKeyConcept)
No BabelSensePhonetics
|
Modifier and Type | Method and Description |
---|---|
BabelSenseSource |
BabelGloss.getSource()
The region where the concept for this gloss lies.
|
BabelSenseSource |
BabelExample.getSource()
The region where the concept for this example lies.
|
static BabelSenseSource |
BabelSenseSource.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BabelSenseSource[] |
BabelSenseSource.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static BabelLicense |
BabelSenseSource.getLicense(BabelSenseSource source,
it.uniroma1.lcl.jlt.util.Language language)
Returns the license associated with a given source for a given language
|
static String |
BabelSenseSource.getURI(BabelSenseSource source,
it.uniroma1.lcl.jlt.util.Language language)
Returns a URI associated with a given source for a given language
|
static boolean |
BabelSenseSource.isAutomatic(BabelSenseSource source,
it.uniroma1.lcl.jlt.util.Language language) |
Constructor and Description |
---|
BabelExample(BabelSenseSource source,
String sourceSense,
it.uniroma1.lcl.jlt.util.Language language,
String example)
Creates a new instance of a
BabelExample |
BabelExample(BabelSenseSource source,
String sourceSense,
it.uniroma1.lcl.jlt.util.Language language,
String example,
Set<BabelTokenWord> tokens)
Creates a new instance of a
BabelExample |
BabelGloss(BabelSenseSource source,
String sourceSense,
it.uniroma1.lcl.jlt.util.Language language,
String gloss)
Creates a new instance of a
BabelGloss |
BabelGloss(BabelSenseSource source,
String sourceSense,
it.uniroma1.lcl.jlt.util.Language language,
String gloss,
Set<BabelTokenId> tokens)
Creates a new instance of a
BabelGloss |
Modifier and Type | Field and Description |
---|---|
protected BabelSenseSource |
ResourceID.source |
Modifier and Type | Method and Description |
---|---|
BabelSenseSource |
ResourceID.getSource()
Get the resource associated to this Id
|
Constructor and Description |
---|
ResourceID(String id,
BabelSenseSource source) |
ResourceWithLemmaID(String title,
it.uniroma1.lcl.jlt.util.Language language,
BabelPOS pos,
BabelSenseSource source) |
ResourceWithLemmaID(String title,
it.uniroma1.lcl.jlt.util.Language language,
BabelSenseSource source) |
SynsetID(String id,
BabelSenseSource source) |
Copyright © 2016. All rights reserved.