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 | Field and Description |
---|---|
protected BabelSenseSource |
BabelSense.source
The source of this lemma: WordNet, Wikipedia, translation, etc.
|
Modifier and Type | Field and Description |
---|---|
protected Set<BabelSenseSource> |
BabelNetQuery.sources
Sources to use for restricting results
|
Modifier and Type | Method and Description |
---|---|
BabelSenseSource |
BabelSense.getSource() |
Modifier and Type | Method and Description |
---|---|
List<BabelSenseSource> |
BabelSynset.getSenseSources()
|
Modifier and Type | Method and Description |
---|---|
List<BabelSense> |
BabelNet.getSenses(String word,
it.uniroma1.lcl.jlt.util.Language language,
com.babelscape.util.POS pos,
BabelSenseSource... allowedSources)
Deprecated.
|
List<BabelSense> |
BabelNet.getSenses(String word,
it.uniroma1.lcl.jlt.util.Language language,
com.babelscape.util.POS pos,
boolean normalized,
BabelSenseSource... allowedSources)
Deprecated.
|
List<BabelSense> |
BabelNet.getSenses(String word,
it.uniroma1.lcl.jlt.util.Language language,
com.babelscape.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 sourceLanguage,
com.babelscape.util.POS pos,
Collection<it.uniroma1.lcl.jlt.util.Language> targetLanguages,
boolean normalized,
BabelSenseSource... allowedSources)
Deprecated.
|
List<BabelSynset> |
BabelNet.getSynsets(String word,
Collection<it.uniroma1.lcl.jlt.util.Language> langs,
com.babelscape.util.POS pos,
BabelSenseSource... allowedSources)
Deprecated.
|
List<BabelSynset> |
BabelNet.getSynsets(String word,
Collection<it.uniroma1.lcl.jlt.util.Language> langs,
com.babelscape.util.POS pos,
boolean normalized,
BabelSenseSource... allowedSources)
Deprecated.
|
List<BabelSynset> |
BabelNet.getSynsets(String word,
Collection<it.uniroma1.lcl.jlt.util.Language> langs,
com.babelscape.util.POS pos,
Collection<it.uniroma1.lcl.jlt.util.Language> targetLangs,
BabelSenseSource... allowedSources)
Deprecated.
|
List<BabelSynset> |
BabelNet.getSynsets(String word,
Collection<it.uniroma1.lcl.jlt.util.Language> langs,
com.babelscape.util.POS pos,
Collection<it.uniroma1.lcl.jlt.util.Language> targetLangs,
boolean normalized,
BabelSenseSource... allowedSources)
Deprecated.
|
List<BabelSynset> |
BabelNet.getSynsets(String word,
it.uniroma1.lcl.jlt.util.Language language,
com.babelscape.util.POS pos,
BabelSenseSource... allowedSources)
Deprecated.
|
List<BabelSynset> |
BabelNet.getSynsets(String word,
it.uniroma1.lcl.jlt.util.Language language,
com.babelscape.util.POS pos,
boolean normalized,
BabelSenseSource... allowedSources)
Deprecated.
|
List<BabelSynset> |
BabelNet.getSynsets(String word,
it.uniroma1.lcl.jlt.util.Language language,
com.babelscape.util.POS pos,
Collection<it.uniroma1.lcl.jlt.util.Language> targetLangs,
BabelSenseSource... allowedSources)
Deprecated.
|
List<BabelSynset> |
BabelNet.getSynsets(String word,
it.uniroma1.lcl.jlt.util.Language language,
com.babelscape.util.POS pos,
Collection<it.uniroma1.lcl.jlt.util.Language> targetLangs,
boolean normalized,
BabelSenseSource... allowedSources)
Deprecated.
|
BabelNetQuery.Builder |
BabelNetQuery.Builder.source(BabelSenseSource source)
Sets the source for the synset search
|
BabelNetQuery.Builder |
BabelNetQuery.Builder.sources(BabelSenseSource... sources)
Sets the sources for the synset search
|
Modifier and Type | Method and Description |
---|---|
BabelNetQuery.Builder |
BabelNetQuery.Builder.sources(Collection<BabelSenseSource> sources)
Sets the source collection for the synset search
|
Constructor and Description |
---|
BabelSense(String lemma,
it.uniroma1.lcl.jlt.util.Language language,
com.babelscape.util.POS pos,
BabelSenseSource source,
String sensekey,
BabelSynset synset)
Creates a new instance of a
BabelSense |
Builder(String lemma,
it.uniroma1.lcl.jlt.util.Language language,
com.babelscape.util.POS pos,
BabelSenseSource source,
String sensekey,
BabelSynset synset)
Builder constructor
|
Modifier and Type | Method and Description |
---|---|
BabelSenseSource |
BabelGloss.getSource() |
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 BabelLemmaType |
BabelLemmaType.fromBabelSenseSource(BabelSenseSource source,
it.uniroma1.lcl.jlt.util.Language language)
Gets the lemma type from a
BabelSenseSource and its Language |
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 boolean |
BabelSenseSource.isAutomatic(BabelSenseSource source,
it.uniroma1.lcl.jlt.util.Language language)
Returns true if the source is the result of automatic machine translation.
|
static boolean |
BabelSenseSource.isAutomaticTranslation(BabelSenseSource source,
it.uniroma1.lcl.jlt.util.Language language)
Returns true if the source is the result of automatic machine translation.
|
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 |
Copyright © 2016–2018. All rights reserved.