de.tudarmstadt.ukp.jwktl.parser.ru.wikokit.base.wikt.constant
Class POS

java.lang.Object
  extended by de.tudarmstadt.ukp.jwktl.parser.ru.wikokit.base.wikt.constant.POS

public class POS
extends Object

Strictly defined names of parts of speech used in all wiktionaries.


Field Summary
static POS abbreviation
           
static POS acronym
           
static POS adjective
           
static POS adnominal
           
static POS adverb
           
static POS affix
           
static POS article
           
static POS brivla
           
static POS circumfix
           
static POS classifier
           
static POS combined_kana_character
           
static POS conjunction
           
static POS contraction
           
static POS correlative
           
static POS counter
           
static POS determiner
           
static POS expression
           
static POS gerund
           
static POS gismu
           
static POS han_character
           
static POS hanja
           
static POS hanja_reading
           
static POS hanzi
           
static POS hiragana_character
           
static POS hiragana_letter
           
static POS idiom
           
static POS infix
           
static POS initialism
           
static POS interfix
           
static POS interjection
           
static POS jyutping_syllable
           
static POS kanji
           
static POS kanji_reading
           
static POS katakana_character
           
static POS katakana_letter
           
static POS letter
           
static POS lujvo
           
static POS measure_word
           
static POS noun
           
static POS noun_class
           
static POS noun_stem
           
static POS numeral
           
static POS parenthesis
           
static POS participle
           
static POS particle
           
static POS phrase
           
static POS pinyin
           
static POS pinyin_syllable
           
static POS possessive_adjective
           
static POS postposition
           
static POS predicative
           
static POS prefix
           
static POS prefix_of_compound
           
static POS prenoun
           
static POS preposition
           
static POS prepositional_phrase
           
static POS preverb
           
static POS pronominal_adverb
           
static POS pronoun
           
static POS proper_noun
           
static POS proverb
           
static POS root
           
static POS suffix
           
static POS syllable
           
static POS symbol
           
static POS unknown
          The POS is unknown :(
static POS verb
           
static POS verb_interjection
           
 
Method Summary
static POS get(String _name)
          Gets part of speech by its name
static Collection<POS> getAllPOS()
          Gets all POS.
static Set<String> getAllPOSNames()
          Gets all POS names.
 String getShortName(LanguageType l)
          Gets short name of POS in the language l.
 String getTemplates(String token, LanguageType l)
          Gets (token separated) abbreviations or templates used (by parser) in order to recognize this part of speech.
static boolean has(String _name)
          Checks weather exists the part of speech by its name.
static int size()
          Counts number of POS.
 String toString()
           
 String toString(LanguageType l)
          Gets name of POS in the language l.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

unknown

public static final POS unknown
The POS is unknown :(


noun

public static final POS noun

verb

public static final POS verb

adverb

public static final POS adverb

adjective

public static final POS adjective

pronoun

public static final POS pronoun

conjunction

public static final POS conjunction

interjection

public static final POS interjection

preposition

public static final POS preposition

proper_noun

public static final POS proper_noun

article

public static final POS article

prefix

public static final POS prefix

suffix

public static final POS suffix

phrase

public static final POS phrase

idiom

public static final POS idiom

prepositional_phrase

public static final POS prepositional_phrase

numeral

public static final POS numeral

acronym

public static final POS acronym

abbreviation

public static final POS abbreviation

initialism

public static final POS initialism

contraction

public static final POS contraction

symbol

public static final POS symbol

letter

public static final POS letter

particle

public static final POS particle

participle

public static final POS participle

determiner

public static final POS determiner

infix

public static final POS infix

interfix

public static final POS interfix

affix

public static final POS affix

circumfix

public static final POS circumfix

counter

public static final POS counter

kanji

public static final POS kanji

kanji_reading

public static final POS kanji_reading

hanja_reading

public static final POS hanja_reading

hiragana_letter

public static final POS hiragana_letter

katakana_letter

public static final POS katakana_letter

pinyin

public static final POS pinyin

han_character

public static final POS han_character

hanzi

public static final POS hanzi

hanja

public static final POS hanja

proverb

public static final POS proverb

expression

public static final POS expression

possessive_adjective

public static final POS possessive_adjective

postposition

public static final POS postposition

gerund

public static final POS gerund

pronominal_adverb

public static final POS pronominal_adverb

adnominal

public static final POS adnominal

root

public static final POS root

pinyin_syllable

public static final POS pinyin_syllable

syllable

public static final POS syllable

hiragana_character

public static final POS hiragana_character

katakana_character

public static final POS katakana_character

jyutping_syllable

public static final POS jyutping_syllable

gismu

public static final POS gismu

lujvo

public static final POS lujvo

brivla

public static final POS brivla

classifier

public static final POS classifier

predicative

public static final POS predicative

measure_word

public static final POS measure_word

correlative

public static final POS correlative

preverb

public static final POS preverb

prenoun

public static final POS prenoun

noun_stem

public static final POS noun_stem

noun_class

public static final POS noun_class

combined_kana_character

public static final POS combined_kana_character

verb_interjection

public static final POS verb_interjection

parenthesis

public static final POS parenthesis

prefix_of_compound

public static final POS prefix_of_compound
Method Detail

toString

public String toString()
Overrides:
toString in class Object

toString

public String toString(LanguageType l)
Gets name of POS in the language l. If there is no translation then returns POS name in English


getShortName

public String getShortName(LanguageType l)
Gets short name of POS in the language l.


getTemplates

public String getTemplates(String token,
                           LanguageType l)
Gets (token separated) abbreviations or templates used (by parser) in order to recognize this part of speech.


has

public static boolean has(String _name)
Checks weather exists the part of speech by its name.


get

public static POS get(String _name)
Gets part of speech by its name


size

public static int size()
Counts number of POS.


getAllPOS

public static Collection<POS> getAllPOS()
Gets all POS.


getAllPOSNames

public static Set<String> getAllPOSNames()
Gets all POS names.



Copyright © 2011-2013 Ubiquitous Knowledge Processing (UKP) Lab. All Rights Reserved.