edu.stanford.nlp.ling.HasNER Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of stanford-parser Show documentation
Show all versions of stanford-parser Show documentation
Stanford Parser processes raw text in English, Chinese, German, Arabic, and French, and extracts constituency parse trees.
The newest version!
package edu.stanford.nlp.ling;
/**
* This token is able to produce NER tags
*
* @author Gabor Angeli
*/
public interface HasNER {
/**
* Return the named entity class of the label (or null if none).
*
* @return The NER class for the label
*/
String ner();
/**
* Set the named entity class of the label.
*
* @param ner The NER class for the label
*/
void setNER(String ner);
}