Closed sergey-tihon closed 9 years ago
Need to import that module
import edu.stanford.nlp.pipeline.PTBTokenizerAnnotator;
On Tue, Dec 2, 2014 at 11:20 PM, Sergey Tihon notifications@github.com wrote:
Example of SUTime usage on the site http://pipeline.addAnnotator(new%20PTBTokenizerAnnotator(false)); has following line
pipeline.addAnnotator(new PTBTokenizerAnnotator(false));
but I cannot find class PTBTokenizerAnnotator in source code of version 3.5.0
Could you please provide correct example?
— Reply to this email directly or view it on GitHub https://github.com/stanfordnlp/CoreNLP/issues/40.
The problem is that PTBTokenizerAnnotator
module\file does not exist since 3.4.1
Right, now I remember. That was changed to just be TokenizerAnnotator now. I will look into fixing the sample to reflect that change. On Dec 3, 2014 1:28 AM, "Sergey Tihon" notifications@github.com wrote:
The problem is that this module\file does not exist since 3.4.1 [image: image] https://cloud.githubusercontent.com/assets/1197905/5278197/c6e82a9c-7ae7-11e4-955d-991017e9946c.png
— Reply to this email directly or view it on GitHub https://github.com/stanfordnlp/CoreNLP/issues/40#issuecomment-65377954.
Thanks!
Example of
SUTime
usage on the site has following linebut I cannot find class
PTBTokenizerAnnotator
in source code of version3.5.0
Could you please provide correct example?