Modifier and Type | Field and Description |
---|---|
protected String |
name
POS name, e.g.
|
protected static Map<String,POS> |
name2pos |
protected POS |
pos
POS corresponding to this name, e.g.
|
protected static Map<POS,String> |
pos2name |
protected static Map<POS,String> |
pos2name_short |
protected String |
short_name
Short POS name, e.g.
|
Modifier | Constructor and Description |
---|---|
protected |
POSLocal(String _name,
String _short_name,
POS _pos)
Remark: run the RelationTableAll.main() in order to check duplicates
of part of speech names and short names.
|
Modifier and Type | Method and Description |
---|---|
static POS |
get(String name)
Gets POS by its name in some language
|
static String |
getName(POS p)
Gets name of POS in Russian.
|
static String |
getShortName(POS p)
Gets short name of POS in some language (e.g.
|
static boolean |
has(POS p)
Checks weather exists the translation for this POS.
|
static boolean |
hasName(String name)
Checks weather exists POS by its name in Russian language.
|
static int |
size()
Counts number of translations.
|
protected String name
protected String short_name
protected POS pos
public static boolean hasName(String name)
public static boolean has(POS p)
public static String getShortName(POS p)
public static int size()
Copyright © 2011-2016 Ubiquitous Knowledge Processing (UKP) Lab. All Rights Reserved.