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.
|
Modifier and Type | Class and Description |
---|---|
class |
WordNetSense
A WordNet sense.
|
Modifier and Type | Field and Description |
---|---|
protected List<Predicate<? super BabelSense>> |
BabelNetQuery.senseFilters
Filters to be applied to each sense of each synset retrieved
|
Modifier and Type | Method and Description |
---|---|
BabelSense |
BabelSense.Builder.build()
Builds the
BabelSense |
Modifier and Type | Method and Description |
---|---|
default Optional<BabelSense> |
BabelSynset.getMainSense()
Gets the main
BabelSense by importance to this BabelSynset for any language. |
Optional<BabelSense> |
BabelSynset.getMainSense(it.uniroma1.lcl.jlt.util.Language language)
Gets the main
BabelSense by importance to this BabelSynset for a given language. |
Optional<BabelSense> |
BabelSynset.getMainSensePreferrablyIn(it.uniroma1.lcl.jlt.util.Language language)
Gets the main
BabelSense by importance to this BabelSynset preferrably for a given language. |
List<BabelSense> |
BabelSynset.getMainSenses(it.uniroma1.lcl.jlt.util.Language language)
Collects distinct
BabelSense s sorted by importance to this
BabelSynset for a given language. |
List<BabelSense> |
BabelNet.getSenses(String word)
Deprecated.
|
List<BabelSense> |
BabelNet.getSenses(String word,
it.uniroma1.lcl.jlt.util.Language language)
Deprecated.
|
List<BabelSense> |
BabelNet.getSenses(String word,
it.uniroma1.lcl.jlt.util.Language language,
boolean normalized)
Deprecated.
|
List<BabelSense> |
BabelNet.getSenses(String word,
it.uniroma1.lcl.jlt.util.Language searchLanguage,
Collection<it.uniroma1.lcl.jlt.util.Language> targetLanguages)
Deprecated.
|
List<BabelSense> |
BabelNet.getSenses(String word,
it.uniroma1.lcl.jlt.util.Language searchLanguage,
Collection<it.uniroma1.lcl.jlt.util.Language> targetLanguages,
boolean normalized)
Deprecated.
|
List<BabelSense> |
BabelNet.getSenses(String word,
it.uniroma1.lcl.jlt.util.Language language,
it.uniroma1.lcl.jlt.util.POS pos)
Deprecated.
|
List<BabelSense> |
BabelNet.getSenses(String word,
it.uniroma1.lcl.jlt.util.Language language,
it.uniroma1.lcl.jlt.util.POS pos,
BabelSenseSource... allowedSources)
Deprecated.
|
List<BabelSense> |
BabelNet.getSenses(String word,
it.uniroma1.lcl.jlt.util.Language language,
it.uniroma1.lcl.jlt.util.POS pos,
boolean normalized,
BabelSenseSource... allowedSources)
Deprecated.
|
List<BabelSense> |
BabelNet.getSenses(String word,
it.uniroma1.lcl.jlt.util.Language searchLanguage,
it.uniroma1.lcl.jlt.util.POS pos,
Collection<it.uniroma1.lcl.jlt.util.Language> targetLanguages)
Deprecated.
|
List<BabelSense> |
BabelNet.getSenses(String word,
it.uniroma1.lcl.jlt.util.Language language,
it.uniroma1.lcl.jlt.util.POS pos,
Collection<it.uniroma1.lcl.jlt.util.Language> targetLangs,
BabelSenseSource... allowedSources)
Deprecated.
|
List<BabelSense> |
BabelNet.getSenses(String word,
it.uniroma1.lcl.jlt.util.Language searchLanguage,
it.uniroma1.lcl.jlt.util.POS pos,
Collection<it.uniroma1.lcl.jlt.util.Language> targetLanguages,
boolean normalized)
Deprecated.
|
List<BabelSense> |
BabelNet.getSenses(String word,
it.uniroma1.lcl.jlt.util.Language sourceLanguage,
it.uniroma1.lcl.jlt.util.POS pos,
Collection<it.uniroma1.lcl.jlt.util.Language> targetLanguages,
boolean normalized,
BabelSenseSource... allowedSources)
Deprecated.
|
List<BabelSense> |
BabelNet.getSensesContaining(String word) |
List<BabelSense> |
BabelNet.getSensesContaining(String word,
it.uniroma1.lcl.jlt.util.Language language) |
List<BabelSense> |
BabelNet.getSensesContaining(String word,
it.uniroma1.lcl.jlt.util.Language language,
it.uniroma1.lcl.jlt.util.POS pos) |
List<BabelSense> |
BabelNet.getSensesFrom(String word) |
List<BabelSense> |
BabelNet.getSensesFrom(String word,
it.uniroma1.lcl.jlt.util.Language language) |
List<BabelSense> |
BabelNet.getSensesFrom(String word,
it.uniroma1.lcl.jlt.util.Language language,
it.uniroma1.lcl.jlt.util.POS pos) |
com.google.common.collect.Multimap<BabelSense,BabelSense> |
BabelSynset.getTranslations()
Gets all translations between senses found in this
BabelSynset . |
com.google.common.collect.Multimap<BabelSense,BabelSense> |
BabelSynset.getTranslations()
Gets all translations between senses found in this
BabelSynset . |
Stream<BabelSense> |
BabelNet.senseStream()
Returns the full stream of
BabelSense s |
Stream<BabelSense> |
BabelNet.senseStream(BabelSenseSource source)
Returns the full stream of
BabelSense s belonging to a given BabelSenseSource |
Stream<BabelSense> |
BabelNet.senseStream(it.uniroma1.lcl.jlt.util.Language language)
Returns the full stream of
BabelSense s in a given Language |
Stream<BabelSense> |
BabelNet.senseStream(it.uniroma1.lcl.jlt.util.Language language,
BabelSenseSource source)
Returns the full stream of
BabelSense s with the given constraints |
Modifier and Type | Method and Description |
---|---|
int |
BabelSenseComparator.compare(BabelSense b1,
BabelSense b2) |
protected int |
BabelSenseComparator.sortByParentheses(BabelSense b1,
BabelSense b2)
Sorts two s by parenthesis (senses without parenthesis first)
|
Modifier and Type | Method and Description |
---|---|
BabelNetQuery.Builder |
BabelNetQuery.Builder.filterSenses(Predicate<BabelSense> senseFilter)
Sets a filter for each sense in each synset retrieved
|
Modifier and Type | Method and Description |
---|---|
protected int |
BabelWordSenseComparator.sortByParentheses(BabelSense b1,
BabelSense b2) |
Constructor and Description |
---|
BabelExampleComparator(BabelSense mainSense)
Creates the example comparator with the sense the examples refer to
|
BabelGlossComparator(BabelSense mainSense)
Creates the gloss comparator with the sense the glosses refer to
|
Copyright © 2016–2022. All rights reserved.