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 Set<BabelLemmaType> |
BabelNetQuery.lemmaTypes
Lemma types to use for search
|
Modifier and Type | Method and Description |
---|---|
List<BabelLemma> |
BabelSynset.getLemmas(it.uniroma1.lcl.jlt.util.Language language,
BabelLemmaType... types)
Returns the lemmas in this
BabelSynset sorted by relevance and type |
BabelNetQuery.Builder |
BabelNetQuery.Builder.lemmaType(BabelLemmaType... lemmaType)
Sets the
BabelLemmaType s for the synset search |
Modifier and Type | Method and Description |
---|---|
static BabelLemmaType |
BabelLemmaType.fromBabelSenseSource(BabelSenseSource source)
Gets the lemma type from a
BabelSenseSource and its Language |
static BabelLemmaType |
BabelLemmaType.fromBabelSenseSource(BabelSenseSource source,
it.uniroma1.lcl.jlt.util.Language language)
Deprecated.
|
BabelLemmaType |
BabelSenseSource.getLemmaType()
Gets the lemma type from its
Language |
BabelLemmaType |
BabelLemma.getType()
Returns the lemma type
|
static BabelLemmaType |
BabelLemmaType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BabelLemmaType[] |
BabelLemmaType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
BabelLemma(String lemma,
BabelLemmaType type)
Crates a lemma object
|
Copyright © 2016–2022. All rights reserved.