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 Details

    • ToStringUtil

      public ToStringUtil()
  • Method Details

    • 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