4 ms·
In terms of particular configuration sources, nearly everything should be configurable from properties passed in as a properties file. Are there exceptions to t
by nl 11y ago
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 http://nlp.stanford.edu/software/sutime.shtml
- gangeli 11y agoThis 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.