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

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

Introduction

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

Prototype

public static String getInflectedFormTranslation(String s) 

Source Link

Document

Get the english form of inflected form

Usage

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

License:Apache License

public static String translateInflectedForm(String inflectedForm) {
    String translation = ToStringUtil.getInflectedFormTranslation(inflectedForm);
    return translation != null ? translation : inflectedForm;
}