jp.go.nict.langrid.wrapper.common.pos
クラス PennTreebank
java.lang.Object
jp.go.nict.langrid.wrapper.common.pos.PennTreebank
public class PennTreebank
- extends Object
This class implements POS mapping between Penn Treebank POS and Language Grid POS.
クラス java.lang.Object から継承されたメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PennTreebank
public PennTreebank()
get
@Deprecated
public static PartOfSpeech get(String pennTreebankPos)
- 推奨されていません。
ptToLg
public static PartOfSpeech ptToLg(String pennTreebankPos)
lgToPt
public static String lgToPt(PartOfSpeech lgPos,
String word)
- returns PennTreebank-style pos.
- パラメータ:
lgPos
- the POS language grid project defined.word
- word
- 戻り値:
- POS