public enum BabelSenseSource extends Enum<BabelSenseSource> implements SenseSource
Enum Constant and Description |
---|
BABELNET
Lexicalization from BabelNet itself
|
FRAMENET
Deprecated.
removed with BabelNet 5.0
|
GEONM
Lexicalization found in GeoNames
|
ICEWN
Lexicalization from Galician (IceWordNet) Open Multilingual WordNet
|
IWN
Lexicalization from Italian WordNet
|
MCR_CA
Lexicalization from Catalan Open Multilingual WordNet
|
MCR_ES
Lexicalization from Spanish Open Multilingual WordNet
|
MCR_EU
Lexicalization from Basque Open Multilingual WordNet
|
MCR_GL
Lexicalization from Galician Open Multilingual WordNet
|
MCR_PT
Lexicalization from Portuguese Open Multilingual WordNet
|
MSTERM
Deprecated.
removed with BabelNet 5.0
|
OMWIKI
Lexicalization from OmegaWiki
|
OMWN
Deprecated.
Use the specific type with the language (OMWN_IT, OWMN_FR, ...) instead.
|
OMWN_AR
Lexicalization from Arabic Open Multilingual WordNet
|
OMWN_BG
Lexicalization from Bulgarian (BulTreeBank) Open Multilingual WordNet
|
OMWN_CWN
Deprecated.
|
OMWN_DA
Lexicalization from Danish (DanNet) Open Multilingual WordNet
|
OMWN_EL
Lexicalization from Greek Open Multilingual WordNet
|
OMWN_FA
Lexicalization from Persian Open Multilingual WordNet
|
OMWN_FI
Lexicalization from Finnish Open Multilingual WordNet
|
OMWN_FR
Lexicalization from French (WOLF) Open Multilingual WordNet
|
OMWN_GAE
Lexicalization from Irish (GAWN) WordNet
|
OMWN_HE
Lexicalization from Hebrew Open Multilingual WordNet
|
OMWN_HR
Lexicalization from Croatian Open Multilingual WordNet
|
OMWN_ID
Lexicalization from Bahasa Open Multilingual WordNet
|
OMWN_IT
Lexicalization from Italian Open Multilingual WordNet
|
OMWN_JA
Lexicalization from Japanese Open Multilingual WordNet
|
OMWN_KO
Lexicalization from Korean WordNet
|
OMWN_LT
Lexicalization from Lithuanian Open Multilingual WordNet
|
OMWN_MS
Lexicalization from Bahasa Open Multilingual WordNet
|
OMWN_NL
Lexicalization from Dutch Open Multilingual WordNet
|
OMWN_NN
Lexicalization from Norwegian Open Multilingual WordNet NN
|
OMWN_NO
Lexicalization from Norwegian Open Multilingual WordNet NOB
|
OMWN_PL
Lexicalization from Poland Open Multilingual WordNet
|
OMWN_PT
Lexicalization from Portuguese Open Multilingual WordNet
|
OMWN_RO
Lexicalization from Romanian Open Multilingual WordNet
|
OMWN_SK
Lexicalization from Slovak Open Multilingual WordNet
|
OMWN_SQ
Lexicalization from Albanian (AlbaNet) Open Multilingual WordNet
|
OMWN_TH
Lexicalization from Thai Open Multilingual WordNet
|
OMWN_ZH
Lexicalization from Chinese Open Multilingual WordNet
|
SALDO
Lexicalization from Swedish Open Multilingual WordNet
|
SLOWNET
Lexicalization from Slovenian Open Multilingual WordNet
|
VERBNET
Deprecated.
removed with BabelNet 5.0
|
WIKI
Lexicalization from Wikipedia
|
WIKICAT
Wikipedia category, not available as of version 3.0
|
WIKIDATA
Lexicalization from Wikidata
|
WIKIDATA_ALIAS
Alias from Wikidata
|
WIKIDIS
Lexicalization found in a disambiguation page
|
WIKIQU
Deprecated.
removed with BabelNet 5.0
|
WIKIQUREDI
Deprecated.
removed with BabelNet 5.0
|
WIKIRED
Lexicalization from a Wikipedia redirection
|
WIKITR
Lexicalization from an automatic translation of a Wikipedia concept
|
WIKT
Lexicalization from Wiktionary
|
WIKTLB
Wiktionary translation label
|
WN
Lexicalization from WordNet 3.0
|
WN2020
Lexicalization from WordNet 2020
|
WNTR
Lexicalization from an automatic translation of a WordNet concept
|
WONEF
Lexicalization from WordNet du Francais
|
WORD_ATLAS
Lexicalization from WordAtlas
|
Modifier and Type | Method and Description |
---|---|
BabelLemmaType |
getLemmaType()
Gets the lemma type from its
Language |
static BabelLicense |
getLicense(BabelSenseSource source,
it.uniroma1.lcl.jlt.util.Language language)
Returns the license associated with a given source for a given language
|
String |
getSourceName()
Returns a label for the source name
|
String |
getURI(it.uniroma1.lcl.jlt.util.Language language)
Returns a URI associated with a given language
|
static boolean |
isAutomatic(BabelSenseSource source)
Returns true if the source is the result of automatic machine translation.
|
static boolean |
isAutomatic(BabelSenseSource source,
it.uniroma1.lcl.jlt.util.Language language)
Deprecated.
|
boolean |
isAutomaticTranslation()
Returns true if the source is the result of automatic machine translation.
|
static boolean |
isAutomaticTranslation(BabelSenseSource source)
Returns true if the source is the result of automatic machine translation.
|
static boolean |
isAutomaticTranslation(BabelSenseSource source,
it.uniroma1.lcl.jlt.util.Language language)
Deprecated.
|
boolean |
isAutomaticTranslation(it.uniroma1.lcl.jlt.util.Language language)
Deprecated.
|
boolean |
isAutomaticTranslationFromBabelNet()
Returns true if the source is the result of automatic machine translation from BabelNet.
|
boolean |
isFromAnyWordnet()
Returns true if the source is any wordnet (Princeton WordNet or any other language)
|
boolean |
isFromBabelNet()
Returns true if the source is BabelNet
|
boolean |
isFromMultiWordnet()
Returns true if the source is any wordnet (Princeton WordNet is not included)
|
boolean |
isFromOmegaWiki()
Returns true if the source is OmegaWiki
|
boolean |
isFromWikipedia()
Returns true if the source is Wikipedia
|
boolean |
isFromWikiquote()
Returns true if the source is WikiQuote
|
boolean |
isFromWiktionary()
Returns true if the source is Wiktionary
|
boolean |
isFromWordAtlas()
Returns true if the source is WordAtlas
|
boolean |
isFromWordNet()
Returns true if the source is Princeton WordNet
|
boolean |
isRedirection()
Returns true if the source is Wikipedia or Wikiquote redirection
|
boolean |
isTranslation()
Deprecated.
|
int |
ordinalForSorting()
Returns an ordinal number by importance to be used for sorting
|
static BabelSenseSource |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BabelSenseSource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BabelSenseSource BABELNET
public static final BabelSenseSource WN
@Deprecated public static final BabelSenseSource OMWN
public static final BabelSenseSource IWN
public static final BabelSenseSource WONEF
public static final BabelSenseSource WIKI
public static final BabelSenseSource WIKIDIS
public static final BabelSenseSource WIKIDATA
public static final BabelSenseSource OMWIKI
public static final BabelSenseSource WIKICAT
public static final BabelSenseSource WIKIRED
public static final BabelSenseSource WIKT
@Deprecated public static final BabelSenseSource WIKIQU
@Deprecated public static final BabelSenseSource WIKIQUREDI
public static final BabelSenseSource WIKTLB
@Deprecated public static final BabelSenseSource VERBNET
@Deprecated public static final BabelSenseSource FRAMENET
@Deprecated public static final BabelSenseSource MSTERM
public static final BabelSenseSource GEONM
public static final BabelSenseSource WNTR
public static final BabelSenseSource WIKITR
public static final BabelSenseSource MCR_EU
public static final BabelSenseSource OMWN_HR
public static final BabelSenseSource SLOWNET
public static final BabelSenseSource OMWN_ID
public static final BabelSenseSource OMWN_IT
public static final BabelSenseSource MCR_GL
public static final BabelSenseSource ICEWN
public static final BabelSenseSource OMWN_ZH
public static final BabelSenseSource OMWN_NO
public static final BabelSenseSource OMWN_NN
public static final BabelSenseSource SALDO
public static final BabelSenseSource OMWN_JA
public static final BabelSenseSource MCR_CA
public static final BabelSenseSource OMWN_PT
public static final BabelSenseSource OMWN_FI
public static final BabelSenseSource OMWN_PL
public static final BabelSenseSource OMWN_TH
public static final BabelSenseSource OMWN_SK
public static final BabelSenseSource OMWN_LT
public static final BabelSenseSource OMWN_NL
public static final BabelSenseSource OMWN_AR
public static final BabelSenseSource OMWN_FA
public static final BabelSenseSource OMWN_EL
public static final BabelSenseSource MCR_ES
public static final BabelSenseSource OMWN_RO
public static final BabelSenseSource OMWN_SQ
public static final BabelSenseSource OMWN_DA
public static final BabelSenseSource OMWN_FR
public static final BabelSenseSource OMWN_MS
public static final BabelSenseSource OMWN_BG
public static final BabelSenseSource OMWN_HE
public static final BabelSenseSource OMWN_KO
public static final BabelSenseSource MCR_PT
public static final BabelSenseSource OMWN_GAE
@Deprecated public static final BabelSenseSource OMWN_CWN
public static final BabelSenseSource WORD_ATLAS
public static final BabelSenseSource WIKIDATA_ALIAS
public static final BabelSenseSource WN2020
public static BabelSenseSource[] values()
for (BabelSenseSource c : BabelSenseSource.values()) System.out.println(c);
public static BabelSenseSource valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean isFromAnyWordnet()
public boolean isFromMultiWordnet()
public boolean isFromWordNet()
public boolean isFromBabelNet()
public boolean isFromWordAtlas()
public boolean isFromWikipedia()
public boolean isFromWiktionary()
public boolean isFromWikiquote()
public boolean isFromOmegaWiki()
public boolean isRedirection()
public BabelLemmaType getLemmaType()
Language
public static BabelLicense getLicense(BabelSenseSource source, it.uniroma1.lcl.jlt.util.Language language)
source
- the source for which the license is soughtlanguage
- the source languagepublic String getURI(it.uniroma1.lcl.jlt.util.Language language)
SenseSource
getURI
in interface SenseSource
language
- the source languagepublic String getSourceName()
SenseSource
getSourceName
in interface SenseSource
public boolean isTranslation()
isAutomaticTranslationFromBabelNet()
isAutomaticTranslation(it.uniroma1.lcl.jlt.util.Language)
.public boolean isAutomaticTranslationFromBabelNet()
isAutomaticTranslation(it.uniroma1.lcl.jlt.util.Language)
.@Deprecated public boolean isAutomaticTranslation(it.uniroma1.lcl.jlt.util.Language language)
isAutomaticTranslation()
language
- the language of the source (important to determine if the Open Multilingual WordNet is from manual annotation or not)public boolean isAutomaticTranslation()
@Deprecated public static boolean isAutomaticTranslation(BabelSenseSource source, it.uniroma1.lcl.jlt.util.Language language)
isAutomaticTranslation(BabelSenseSource)
source
- the source for which we want to know whether it comes from automatic translationlanguage
- the language of the source (important to determine if the Open Multilingual WordNet is from manual annotation or not)public static boolean isAutomaticTranslation(BabelSenseSource source)
source
- the source for which we want to know whether it comes from automatic translation@Deprecated public static boolean isAutomatic(BabelSenseSource source, it.uniroma1.lcl.jlt.util.Language language)
isAutomatic(BabelSenseSource)
source
- the source for which we want to know whether it comes from automatic translationlanguage
- the language of the source (important to determine if the Open Multilingual WordNet is from manual annotation or not)public static boolean isAutomatic(BabelSenseSource source)
source
- the source for which we want to know whether it comes from automatic translationpublic int ordinalForSorting()
Copyright © 2016–2021. All rights reserved.