use of edu.stanford.nlp.pipeline.NumberAnnotator in project CoreNLP by stanfordnlp.
the class TokenSequenceMatcherITest method setUp.
@Before
public void setUp() throws Exception {
synchronized (TokenSequenceMatcherITest.class) {
if (pipeline == null) {
pipeline = new AnnotationPipeline();
pipeline.addAnnotator(new TokenizerAnnotator(false, "en", "invertible,splitHyphenated=false"));
pipeline.addAnnotator(new WordsToSentencesAnnotator(false));
pipeline.addAnnotator(new POSTaggerAnnotator(false));
pipeline.addAnnotator(new NumberAnnotator(false, false));
// pipeline.addAnnotator(new QuantifiableEntityNormalizingAnnotator(false));
}
}
}
Aggregations