Open arademaker opened 6 years ago
If you want to run it from the command line, set the language parameter to "auto-portuguese", e.g., when processing a portuguese news article from October 1, 2016:
java -jar de.unihd.dbs.heideltime.standalone.jar -pos NO -l auto-portuguese -dct 2016-10-01
If you want to set the language programmatically, do so during the initialization step: // other settings OutputType outtype = OutputType.XMI; POSTagger postagger = POSTagger.NO; String conffile = "lib/config.props"; // set the languae here: HeidelTimeStandalone hsNews = new HeidelTimeStandalone(Language.AUTO-PORTUGUESE, DocumentType.NEWS, outtype, conffile, postagger);
Please set page 14 of the Manual.pdf, for the other parameters and for how you can then continue with processing documents.
I downloaded from https://github.com/HeidelTime/heideltime/releases the heideltime-standalone-2.2.1.tar.gz. How to use the auto-portuguese?