I'm having trouble setting the SUTime in the spanish version that comes with in the stanford-spanish-corenlp-2018-10-05-models.jar
In Stanford documents it says that the options ner.applyNumericClassifiers = true
and
ner.useSUTime = true
is only valid for the English version, but the spanish jar comes with a spanish.sutime.txt included and I would like for it to work.
I tried with this code:
Properties props = new Properties();
props.put("annotators", "tokenize, ssplit, pos, lemma, ner");
props.setProperty("tokenize.language", "es");
...
...
props.setProperties("sutime.rules", "edu/stanford/nlp/models/sutime/spanish.sutime.txt");
I don't really know how to move on and I haven't seen this issue in any other question, maybe someone can help me.