News for hackers. Stuff that matters.
Re:Try out Stanford's CoreNLP natural language software by nl on Wednesday October 07, 2015 @11:33PM (#10350778)
In terms of particular configuration sources, nearly everything should be configurable from properties passed in as a properties file. Are there exceptions to this rule?

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

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.