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

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

Introduction

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

Prototype

public static String getInflectionTypeTranslation(String s) 

Source Link

Document

Get the english form of inflection type

Usage

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

License:Apache License

public static String translateInflectionType(String inflectionType) {
    String translation = ToStringUtil.getInflectionTypeTranslation(inflectionType);
    return translation != null ? translation : inflectionType;
}