Skip to content

Commit c3be0fd

Browse files
committed
Remove WTS annotator in sutime itest
1 parent 98c0b7d commit c3be0fd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

itest/src/edu/stanford/nlp/time/SUTimeITest.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ public void setUp() throws Exception {
2323
if (pipeline == null) {
2424
pipeline = new AnnotationPipeline();
2525
pipeline.addAnnotator(new TokenizerAnnotator(false, "en", "splitHyphenated=false"));
26-
pipeline.addAnnotator(new WordsToSentencesAnnotator(false));
26+
// WTS not needed - is now built in to the tokenizer
27+
//pipeline.addAnnotator(new WordsToSentencesAnnotator(false));
2728
pipeline.addAnnotator(new POSTaggerAnnotator(DefaultPaths.DEFAULT_POS_MODEL, false));
2829
//pipeline.addAnnotator(new NumberAnnotator(false));
2930
//pipeline.addAnnotator(new QuantifiableEntityNormalizingAnnotator(false, false));

0 commit comments

Comments
 (0)