Example usage for org.apache.lucene.analysis.ko POS resolveTag

List of usage examples for org.apache.lucene.analysis.ko POS resolveTag

Introduction

In this page you can find the example usage for org.apache.lucene.analysis.ko POS resolveTag.

Prototype

public static Tag resolveTag(byte tag) 

Source Link

Document

Returns the Tag of the provided tag.

Usage

From source file:org.elasticsearch.index.analysis.NoriPartOfSpeechStopFilterFactory.java

License:Apache License

static Set<POS.Tag> resolvePOSList(List<String> tagList) {
    Set<POS.Tag> stopTags = new HashSet<>();
    for (String tag : tagList) {
        stopTags.add(POS.resolveTag(tag));
    }//from w w w  .  j a  va 2 s . c  om
    return stopTags;
}