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