Re:Try out Stanford's CoreNLP natural language software
by gangeli on Wednesday October 07, 2015 @11:54PM
(#10350819)
This should be able to read rules from the filesystem as well (if not, it's a bug and we should fix it!). The reason all of the examples are classpath examples is just because we distribute our models as a jar by default. The SUTime rules could be thought of more as a "model" for the rule-based system rather than a configuration file.
SUTime is documented to accept a property to a file that is read to obtain other properties. Quote:
sutime.rules = [path to rules file][1]
I'm unclear if that works - looking at our code it appears the properties files need to be in the classpath under a package that is defined by the sutime.rules property.
I don't remember how other packages worked.
[1] http://nlp.stanford.edu/software/sutime.shtml