2

如何在 Eclipse 中运行或调试 Heideltime 时启用 Printdetail?在 de.unihd.dbs.uima.annotator.heideltime.utilities 包中的记录器类中;它说:

/**
 * Logger class to facilitate a centralized logging effort. Upon initialization of
 * the HeidelTime annotator, the verbosity (printDetails) should be set; any kind of
 * output should be done using either the printDetail()-methods for DEBUG-Level,
 * conditional output or the printError()-methods for ERROR-Level, unconditional
 * output.
 * @author julian zell
 *
 */

我这样初始化:

HeidelTimeStandalone heidelTime = new HeidelTimeStandalone(
                Language.getLanguageFromString("auto-azeri"),
                DocumentType.NEWS,
                OutputType.TIMEML,
                ".\\conf\\config.props", POSTagger.NO);

谁能给我一个例子吗?

4

0 回答 0