Class ToStringUtil
- java.lang.Object
-
- org.apache.lucene.analysis.ja.util.ToStringUtil
-
public class ToStringUtil extends Object
Utility class for english translations of morphological data, used only for debugging.
-
-
Constructor Summary
Constructors Constructor Description ToStringUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getInflectedFormTranslation(String s)
Get the english form of inflected formstatic String
getInflectionTypeTranslation(String s)
Get the english form of inflection typestatic String
getPOSTranslation(String s)
Get the english form of a POS tagstatic void
getRomanization(Appendable builder, CharSequence s)
Romanize katakana with modified hepburnstatic String
getRomanization(String s)
Romanize katakana with modified hepburn
-
-
-
Method Detail
-
getPOSTranslation
public static String getPOSTranslation(String s)
Get the english form of a POS tag
-
getInflectionTypeTranslation
public static String getInflectionTypeTranslation(String s)
Get the english form of inflection type
-
getInflectedFormTranslation
public static String getInflectedFormTranslation(String s)
Get the english form of inflected form
-
getRomanization
public static String getRomanization(String s)
Romanize katakana with modified hepburn
-
getRomanization
public static void getRomanization(Appendable builder, CharSequence s) throws IOException
Romanize katakana with modified hepburn- Throws:
IOException
-
-