Example usage for org.apache.lucene.analysis.ja.util ToStringUtil getRomanization

List of usage examples for org.apache.lucene.analysis.ja.util ToStringUtil getRomanization

Introduction

In this page you can find the example usage for org.apache.lucene.analysis.ja.util ToStringUtil getRomanization.

Prototype

public static String getRomanization(String s) 

Source Link

Document

Romanize katakana with modified hepburn

Usage

From source file:com.github.riccardove.easyjasub.lucene.LuceneUtil.java

License:Apache License

/**
 * Romanize katakana with modified hepburn
 */
public static String katakanaToRomaji(String text) {
    return ToStringUtil.getRomanization(text);
}