Skip to content

Commit

Permalink
Remove WTS annotator in sutime itest
Browse files Browse the repository at this point in the history
  • Loading branch information
AngledLuffa committed Oct 18, 2024
1 parent 98c0b7d commit c3be0fd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion itest/src/edu/stanford/nlp/time/SUTimeITest.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ public void setUp() throws Exception {
if (pipeline == null) {
pipeline = new AnnotationPipeline();
pipeline.addAnnotator(new TokenizerAnnotator(false, "en", "splitHyphenated=false"));
pipeline.addAnnotator(new WordsToSentencesAnnotator(false));
// WTS not needed - is now built in to the tokenizer
//pipeline.addAnnotator(new WordsToSentencesAnnotator(false));
pipeline.addAnnotator(new POSTaggerAnnotator(DefaultPaths.DEFAULT_POS_MODEL, false));
//pipeline.addAnnotator(new NumberAnnotator(false));
//pipeline.addAnnotator(new QuantifiableEntityNormalizingAnnotator(false, false));
Expand Down

0 comments on commit c3be0fd

Please sign in to comment.