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 | Method and Description |
---|---|
BabelPOS |
BabelSynset.getPOS()
Gets the part-of-speech of this
BabelSynset . |
BabelPOS |
BabelSense.getPOS()
Gets the part of speech of this
BabelSense . |
Modifier and Type | Method and Description |
---|---|
List<BabelSense> |
BabelNet.getSenses(it.uniroma1.lcl.jlt.util.Language language,
String word,
BabelPOS pos)
Deprecated.
use
BabelNet.getSenses(String, Language, BabelPOS) instead. |
List<BabelSense> |
BabelNet.getSenses(it.uniroma1.lcl.jlt.util.Language language,
String word,
BabelPOS pos,
BabelSenseSource... allowedSources)
Deprecated.
|
List<BabelSense> |
BabelNet.getSenses(String word,
it.uniroma1.lcl.jlt.util.Language language,
BabelPOS pos)
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,
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)
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.
|
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)
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<BabelSynset> |
BabelNet.getSynsets(it.uniroma1.lcl.jlt.util.Language language,
String word,
BabelPOS pos)
Deprecated.
use
BabelNet.getSynsets(String, Language, BabelPOS) instead. |
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)
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,
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)
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)
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.
|
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)
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)
Given a word in a certain language, returns the senses for the word.
|
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)
Given a word in a certain language, returns the senses for the word.
|
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)
Given a word in a certain language, returns the senses for the word.
|
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)
Given a word in a certain language, returns the senses for the word.
|
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.
|
List<BabelSynset> |
BabelNet.getSynsetsFromWikipediaTitle(it.uniroma1.lcl.jlt.util.Language language,
String title,
BabelPOS pos)
Deprecated.
use
BabelNet.getSynsets(ResourceID... resourceId) instead.
Example: List<BabelSynset> synset = bn.getSynsets(new WikipediaID("BabelNet", Language.EN, BabelPOS.NOUN)); |
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 |
---|---|
static BabelPOS |
BabelPOS.valueOf(char tag)
Constructs a BabelPOS from a POS tag character
|
static BabelPOS |
BabelPOS.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BabelPOS[] |
BabelPOS.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Field and Description |
---|---|
protected BabelPOS |
ResourceID.pos |
Modifier and Type | Method and Description |
---|---|
BabelPOS |
ResourceID.getPOS()
The part of speech tag associated with the given ID
default null.
|
Constructor and Description |
---|
ResourceWithLemmaID(String title,
it.uniroma1.lcl.jlt.util.Language language,
BabelPOS pos,
BabelSenseSource source) |
WikipediaID(String title,
it.uniroma1.lcl.jlt.util.Language language,
BabelPOS pos) |
WikiquoteID(String title,
it.uniroma1.lcl.jlt.util.Language language,
BabelPOS pos) |
Copyright © 2016. All rights reserved.