Class PartOfSpeechAttributeImpl
java.lang.Object
org.apache.lucene.util.AttributeImpl
org.apache.lucene.analysis.ko.tokenattributes.PartOfSpeechAttributeImpl
- All Implemented Interfaces:
Cloneable,PartOfSpeechAttribute,Attribute
Part of Speech attributes for Korean.
- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()voidcopyTo(AttributeImpl target) Get the left part of speech of the token.Get theKoMorphData.Morphemedecomposition of the token.Get thePOS.Typeof the token.Get the right part of speech of the token.voidreflectWith(AttributeReflector reflector) voidSet the current token.Methods inherited from class org.apache.lucene.util.AttributeImpl
clone, end, reflectAsString
-
Constructor Details
-
PartOfSpeechAttributeImpl
public PartOfSpeechAttributeImpl()
-
-
Method Details
-
getPOSType
Description copied from interface:PartOfSpeechAttributeGet thePOS.Typeof the token.- Specified by:
getPOSTypein interfacePartOfSpeechAttribute
-
getLeftPOS
Description copied from interface:PartOfSpeechAttributeGet the left part of speech of the token.- Specified by:
getLeftPOSin interfacePartOfSpeechAttribute
-
getRightPOS
Description copied from interface:PartOfSpeechAttributeGet the right part of speech of the token.- Specified by:
getRightPOSin interfacePartOfSpeechAttribute
-
getMorphemes
Description copied from interface:PartOfSpeechAttributeGet theKoMorphData.Morphemedecomposition of the token.- Specified by:
getMorphemesin interfacePartOfSpeechAttribute
-
setToken
Description copied from interface:PartOfSpeechAttributeSet the current token.- Specified by:
setTokenin interfacePartOfSpeechAttribute
-
clear
public void clear()- Specified by:
clearin classAttributeImpl
-
reflectWith
- Specified by:
reflectWithin classAttributeImpl
-
copyTo
- Specified by:
copyToin classAttributeImpl
-