python-sutime
python-sutime copied to clipboard
how to use custom SUTime rules?
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.
@bifeng Hey - Were you able to load a custom SUTime rule?
You can edit english.sutime.txt in stanford-corenlp-4.0.0-models