Interface KoMorphData
- All Superinterfaces:
MorphData
Represents Korean morphological information.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final record
A morpheme extracted from a compound token. -
Method Summary
Modifier and TypeMethodDescriptiongetLeftPOS
(int morphId) Get the leftPOS.Tag
of specfied word.getMorphemes
(int morphId, char[] surfaceForm, int off, int len) Get the morphemes of specified word (e.g.getPOSType
(int morphId) Get thePOS.Type
of specified word (morpheme, compound, inflect or pre-analysis)getReading
(int morphId) Get the reading of specified word (mainly used for Hanja to Hangul conversion).getRightPOS
(int morphId) Get the rightPOS.Tag
of specfied word.Methods inherited from interface org.apache.lucene.analysis.morph.MorphData
getLeftId, getRightId, getWordCost
-
Method Details
-
getPOSType
Get thePOS.Type
of specified word (morpheme, compound, inflect or pre-analysis) -
getLeftPOS
Get the leftPOS.Tag
of specfied word.For
POS.Type.MORPHEME
andPOS.Type.COMPOUND
the left and right POS are the same. -
getRightPOS
Get the rightPOS.Tag
of specfied word.For
POS.Type.MORPHEME
andPOS.Type.COMPOUND
the left and right POS are the same. -
getReading
Get the reading of specified word (mainly used for Hanja to Hangul conversion). -
getMorphemes
Get the morphemes of specified word (e.g. 가깝으나: 가깝 + 으나).
-