List of usage examples for org.apache.lucene.analysis.ja.tokenattributes PartOfSpeechAttribute setToken
public void setToken(Token token);
From source file:lucene.hadoop.util.PartOfSpeechAttributeImpl.java
License:Apache License
@Override public void copyTo(AttributeImpl target) { PartOfSpeechAttribute t = (PartOfSpeechAttribute) target; t.setToken(token); }