public enum BabelSenseSource extends Enum<BabelSenseSource> implements SenseSource
Enum Constant and Description |
---|
BABELNET
Lexicalization from BabelNet itself |
FRAMENET
Lexicalization found in FrameNet |
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
Lexicalization found in Microsoft
Terminology |
OMWIKI
Lexicalization from OmegaWiki |
OMWN (deprecate)
Lexicalization from Open Multilingual
WordNet |
OMWN_AR
Lexicalization from Arabic Open
Multilingual WordNet |
OMWN_BG
Lexicalization from Bulgarian
(BulTreeBank) Open Multilingual WordNet |
OMWN_CWN
Lexicalization from Chinese WordNet |
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
Lexicalization found in VerbNet |
WIKI
Lexicalization from Wikipedia |
WIKICAT
Wikipedia category, not available as
of version 3.0 |
WIKIDATA
Lexicalization from Wikidata |
WIKIDIS
Lexicalization found in a
disambiguation page |
WIKIQU
Lexicalization found in Wikiquote |
WIKIQUREDI
Lexicalization found in Wikiquote
redirection |
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 |
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 |
---|---|
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,
it.uniroma1.lcl.jlt.util.Language language)
Returns true if the source is the
result of automatic machine translation. |
static boolean |
isAutomaticTranslation(BabelSenseSource source,
it.uniroma1.lcl.jlt.util.Language language)
Returns true if the source is the
result of automatic machine translation. |
boolean |
isAutomaticTranslation(it.uniroma1.lcl.jlt.util.Language language)
Returns true if the source is the
result of automatic machine translation. |
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 |
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
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
public static final BabelSenseSource WIKIQU
public static final BabelSenseSource WIKIQUREDI
public static final BabelSenseSource WIKTLB
public static final BabelSenseSource VERBNET
public static final BabelSenseSource FRAMENET
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
public static final BabelSenseSource OMWN_CWN
public static final BabelSenseSource WORD_ATLAS
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 name
NullPointerException
- if the argument is null
public boolean isFromAnyWordnet()
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 static BabelLicense getLicense(BabelSenseSource source, it.uniroma1.lcl.jlt.util.Language language)
source
- the source for which the license is sought
language
- the source language
public String getURI(it.uniroma1.lcl.jlt.util.Language language)
SenseSource
getURI
in interface
SenseSource
language
- the source language
public String getSourceName()
SenseSource
getSourceName
in interface
SenseSource
public boolean isTranslation()
isAutomaticTranslationFromBabelNet()
isAutomaticTranslation
.
public boolean isAutomaticTranslationFromBabelNet()
isAutomaticTranslation
.
public boolean isAutomaticTranslation(it.uniroma1.lcl.jlt.util.Language language)
language
- 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, it.uniroma1.lcl.jlt.util.Language language)
source
- the source for which we want to know whether it comes from
automatic translation
language
- 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, it.uniroma1.lcl.jlt.util.Language language)
source
- the source for which we want to know whether it comes from
automatic translation
language
- the language of the source (important to determine if the
Open Multilingual WordNet is from manual annotation or not)
public int ordinalForSorting()
Copyright © 2016–2018. All rights reserved.