python-sutime icon indicating copy to clipboard operation
python-sutime copied to clipboard

how to use custom SUTime rules?

Open feng-1985 opened this issue 6 years ago • 2 comments

Thanks for create this package. I am using it with corenlp 3.9.2 just change the following version of jars:

    _required_jars = {
        'stanford-corenlp-3.9.2-models.jar',
        'stanford-corenlp-3.9.2.jar',
        'gson-2.8.5.jar',
        'slf4j-simple-1.7.25.jar'
    }

But how to load the custom SUTime rules (such as edu/stanford/nlp/models/sutime/defs.sutime.txt) ? In the online application, how to make these rules effect in realtime (for the new added rules) ? Is there any suggestion? Thanks very much.

feng-1985 avatar Apr 06 '19 00:04 feng-1985

@bifeng Hey - Were you able to load a custom SUTime rule?

hellojustxn avatar Jul 26 '21 21:07 hellojustxn

You can edit english.sutime.txt in stanford-corenlp-4.0.0-models

DominikaKuzia avatar Feb 23 '22 15:02 DominikaKuzia