Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to use custom SUTime rules? #25

Open
feng-1985 opened this issue Apr 6, 2019 · 2 comments
Open

how to use custom SUTime rules? #25

feng-1985 opened this issue Apr 6, 2019 · 2 comments

Comments

@feng-1985
Copy link

feng-1985 commented Apr 6, 2019

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.

@hellojustxn
Copy link

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

@DominikaKuzia
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants