Example usage for org.apache.lucene.analysis.ja.tokenattributes PartOfSpeechAttribute setToken

List of usage examples for org.apache.lucene.analysis.ja.tokenattributes PartOfSpeechAttribute setToken

Introduction

In this page you can find the example usage for org.apache.lucene.analysis.ja.tokenattributes PartOfSpeechAttribute setToken.

Prototype

public void setToken(Token token);

Source Link

Usage

From source file:lucene.hadoop.util.PartOfSpeechAttributeImpl.java

License:Apache License

@Override
public void copyTo(AttributeImpl target) {
    PartOfSpeechAttribute t = (PartOfSpeechAttribute) target;
    t.setToken(token);
}