Uses of Class
it.uniroma1.lcl.babelnet.data.BabelSenseSource
-
Packages that use BabelSenseSource 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. -
-
Uses of BabelSenseSource in it.uniroma1.lcl.babelnet
Fields in it.uniroma1.lcl.babelnet declared as BabelSenseSource Modifier and Type Field Description protected BabelSenseSource
BabelSense. source
The source of this lemma: WordNet, Wikipedia, translation, etc.Fields in it.uniroma1.lcl.babelnet with type parameters of type BabelSenseSource Modifier and Type Field Description protected Set<BabelSenseSource>
BabelNetQuery. sources
Sources to use for restricting resultsMethods in it.uniroma1.lcl.babelnet that return BabelSenseSource Modifier and Type Method Description BabelSenseSource
BabelSense. getSource()
Methods in it.uniroma1.lcl.babelnet that return types with arguments of type BabelSenseSource Modifier and Type Method Description List<BabelSenseSource>
BabelSynset. getSenseSources()
Methods in it.uniroma1.lcl.babelnet with parameters of type BabelSenseSource Modifier and Type Method Description 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 language, it.uniroma1.lcl.jlt.util.POS pos, BabelSenseSource... allowedSources)
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. 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<BabelSynset>
BabelNet. getSynsets(String word, it.uniroma1.lcl.jlt.util.Language language, it.uniroma1.lcl.jlt.util.POS pos, boolean normalized, BabelSenseSource... allowedSources)
Deprecated.List<BabelSynset>
BabelNet. getSynsets(String word, it.uniroma1.lcl.jlt.util.Language language, it.uniroma1.lcl.jlt.util.POS pos, BabelSenseSource... allowedSources)
Deprecated.List<BabelSynset>
BabelNet. getSynsets(String word, it.uniroma1.lcl.jlt.util.Language language, it.uniroma1.lcl.jlt.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, it.uniroma1.lcl.jlt.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, it.uniroma1.lcl.jlt.util.POS pos, boolean normalized, BabelSenseSource... allowedSources)
Deprecated.List<BabelSynset>
BabelNet. getSynsets(String word, Collection<it.uniroma1.lcl.jlt.util.Language> langs, it.uniroma1.lcl.jlt.util.POS pos, BabelSenseSource... allowedSources)
Deprecated.List<BabelSynset>
BabelNet. getSynsets(String word, Collection<it.uniroma1.lcl.jlt.util.Language> langs, it.uniroma1.lcl.jlt.util.POS pos, Collection<it.uniroma1.lcl.jlt.util.Language> targetLangs, boolean normalized, BabelSenseSource... allowedSources)
Deprecated.List<BabelSynset>
BabelNet. getSynsets(String word, Collection<it.uniroma1.lcl.jlt.util.Language> langs, it.uniroma1.lcl.jlt.util.POS pos, Collection<it.uniroma1.lcl.jlt.util.Language> targetLangs, BabelSenseSource... allowedSources)
Deprecated.Stream<BabelSense>
BabelNet. senseStream(BabelSenseSource source)
Returns the full stream ofBabelSense
s belonging to a givenBabelSenseSource
Stream<BabelSense>
BabelNet. senseStream(it.uniroma1.lcl.jlt.util.Language language, BabelSenseSource source)
Returns the full stream ofBabelSense
s with the given constraintsBabelNetQuery.Builder
BabelNetQuery.Builder. source(BabelSenseSource source)
Sets the source for the synset searchBabelNetQuery.Builder
BabelNetQuery.Builder. sources(BabelSenseSource... sources)
Sets the sources for the synset searchMethod parameters in it.uniroma1.lcl.babelnet with type arguments of type BabelSenseSource Modifier and Type Method Description BabelNetQuery.Builder
BabelNetQuery.Builder. sources(Collection<BabelSenseSource> sources)
Sets the source collection for the synset searchBabelNetQuery.Builder
BabelNetQuery.Builder. sources(Predicate<BabelSenseSource> sourceFilter)
Sets a filter for each sources in each synset retrievedConstructors in it.uniroma1.lcl.babelnet with parameters of type BabelSenseSource Constructor Description BabelSense(String lemma, String simpleLemma, it.uniroma1.lcl.jlt.util.Language language, it.uniroma1.lcl.jlt.util.POS pos, BabelSenseSource source, String sensekey, BabelSynset synset)
Creates a new instance of aBabelSense
Builder(String lemma, String simpleLemma, it.uniroma1.lcl.jlt.util.Language language, it.uniroma1.lcl.jlt.util.POS pos, BabelSenseSource source, String sensekey, BabelSynset synset)
Builder constructorWordNetSense(String lemma, String simpleLemma, it.uniroma1.lcl.jlt.util.Language language, it.uniroma1.lcl.jlt.util.POS pos, String sensekey, BabelSynset synset, String wordNetOffset, Integer wordNetSynsetPosition, Integer wordNetSenseNumber, BabelSenseSource source)
Creates a new instance of aWordNetSense
-
Uses of BabelSenseSource in it.uniroma1.lcl.babelnet.data
Methods in it.uniroma1.lcl.babelnet.data that return BabelSenseSource Modifier and Type Method Description BabelSenseSource
BabelExample. getSource()
The region where the concept for this example lies.BabelSenseSource
BabelGloss. getSource()
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.Methods in it.uniroma1.lcl.babelnet.data with parameters of type BabelSenseSource Modifier and Type Method Description static BabelLemmaType
BabelLemmaType. fromBabelSenseSource(BabelSenseSource source)
Gets the lemma type from aBabelSenseSource
and itsLanguage
static BabelLemmaType
BabelLemmaType. fromBabelSenseSource(BabelSenseSource source, it.uniroma1.lcl.jlt.util.Language language)
Deprecated.static BabelLicense
BabelSenseSource. getLicense(BabelSenseSource source, it.uniroma1.lcl.jlt.util.Language language)
Returns the license associated with a given source for a given languagestatic boolean
BabelSenseSource. isAutomatic(BabelSenseSource source)
Returns true if the source is the result of automatic machine translation.static boolean
BabelSenseSource. isAutomatic(BabelSenseSource source, it.uniroma1.lcl.jlt.util.Language language)
Deprecated.static boolean
BabelSenseSource. isAutomaticTranslation(BabelSenseSource source)
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)
Deprecated.Constructors in it.uniroma1.lcl.babelnet.data with parameters of type BabelSenseSource Constructor Description BabelExample(BabelSenseSource source, String sourceSense, it.uniroma1.lcl.jlt.util.Language language, String example)
Creates a new instance of aBabelExample
BabelExample(BabelSenseSource source, String sourceSense, it.uniroma1.lcl.jlt.util.Language language, String example, Set<BabelTokenWord> tokens)
Creates a new instance of aBabelExample
BabelGloss(BabelSenseSource source, int sourceSense, it.uniroma1.lcl.jlt.util.Language language, String gloss)
Creates a new instance of aBabelGloss
BabelGloss(BabelSenseSource source, int sourceSense, it.uniroma1.lcl.jlt.util.Language language, String gloss, Set<BabelTokenId> tokens)
Creates a new instance of aBabelGloss
-