Interface KoMorphData
- All Superinterfaces:
MorphData
Represents Korean morphological information.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordA morpheme extracted from a compound token. -
Method Summary
Modifier and TypeMethodDescriptiongetLeftPOS(int morphId) Get the leftPOS.Tagof specfied word.getMorphemes(int morphId, char[] surfaceForm, int off, int len) Get the morphemes of specified word (e.g.getPOSType(int morphId) Get thePOS.Typeof 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.Tagof specfied word.Methods inherited from interface org.apache.lucene.analysis.morph.MorphData
getLeftId, getRightId, getWordCost
-
Method Details
-
getPOSType
Get thePOS.Typeof specified word (morpheme, compound, inflect or pre-analysis) -
getLeftPOS
Get the leftPOS.Tagof specfied word.For
POS.Type.MORPHEMEandPOS.Type.COMPOUNDthe left and right POS are the same. -
getRightPOS
Get the rightPOS.Tagof specfied word.For
POS.Type.MORPHEMEandPOS.Type.COMPOUNDthe 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. 가깝으나: 가깝 + 으나).
-