Package com.basistech.rosette.dm
Class HanMorphoAnalysis
java.lang.Object
com.basistech.rosette.dm.BaseAttribute
com.basistech.rosette.dm.MorphoAnalysis
com.basistech.rosette.dm.HanMorphoAnalysis
- All Implemented Interfaces:
Serializable
Morphological analysis objects for Chinese and Japanese.
Chinese and Japanese add the concept of readings
to
MorphoAnalysis
. Readings provide
the pronunciation of ideographic strings. They are typically written in
Pinyin for Chinese and Hiragana for Japanese. A single surface form may have
multiple possible readings.- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class com.basistech.rosette.dm.BaseAttribute
extendedProperties
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
HanMorphoAnalysis
(String partOfSpeech, String lemma, List<Token> components, String raw, List<String> readings, TagSet tagSet, Map<String, Object> extendedProperties) protected
HanMorphoAnalysis
(String partOfSpeech, String lemma, List<Token> components, String raw, List<String> readings, Map<String, Object> extendedProperties) -
Method Summary
Modifier and TypeMethodDescriptionReturns the readings.protected com.google.common.base.MoreObjects.ToStringHelper
Methods inherited from class com.basistech.rosette.dm.MorphoAnalysis
getComponents, getLemma, getPartOfSpeech, getRaw, getTagSet, toString
Methods inherited from class com.basistech.rosette.dm.BaseAttribute
getExtendedProperties, listOrNull, setExtendedProperty
-
Constructor Details
-
HanMorphoAnalysis
-
HanMorphoAnalysis
-
-
Method Details
-
getReadings
Returns the readings.- Returns:
- the readings
-
toStringHelper
protected com.google.common.base.MoreObjects.ToStringHelper toStringHelper()- Overrides:
toStringHelper
in classMorphoAnalysis
-