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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
void
copyTo
(AttributeImpl target) Get the left part of speech of the token.Get theDictionary.Morpheme
decomposition of the token.Get thePOS.Type
of the token.Get the right part of speech of the token.void
reflectWith
(AttributeReflector reflector) void
Set 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:PartOfSpeechAttribute
Get thePOS.Type
of the token.- Specified by:
getPOSType
in interfacePartOfSpeechAttribute
-
getLeftPOS
Description copied from interface:PartOfSpeechAttribute
Get the left part of speech of the token.- Specified by:
getLeftPOS
in interfacePartOfSpeechAttribute
-
getRightPOS
Description copied from interface:PartOfSpeechAttribute
Get the right part of speech of the token.- Specified by:
getRightPOS
in interfacePartOfSpeechAttribute
-
getMorphemes
Description copied from interface:PartOfSpeechAttribute
Get theDictionary.Morpheme
decomposition of the token.- Specified by:
getMorphemes
in interfacePartOfSpeechAttribute
-
setToken
Description copied from interface:PartOfSpeechAttribute
Set the current token.- Specified by:
setToken
in interfacePartOfSpeechAttribute
-
clear
public void clear()- Specified by:
clear
in classAttributeImpl
-
reflectWith
- Specified by:
reflectWith
in classAttributeImpl
-
copyTo
- Specified by:
copyTo
in classAttributeImpl
-