HeidelTime / heideltime

A multilingual, cross-domain temporal tagger developed at the Database Systems Research Group at Heidelberg University.
GNU General Public License v3.0
343 stars 67 forks source link

Pass config.properties as parameter #3

Closed jzell closed 9 years ago

jzell commented 9 years ago
Force to have file config.properties in the same folder can be a problem. My software
has already a config.properties file. Should be better to have the possibility to submit
config file we want.

So I added a "run" function in HeidelTimeStandalone so I can provide Config file, file
of Input and file of Ouput. I attach it if it can be useful for others ;)

Original issue reported on code.google.com by damien.palacio on 2012-05-25 08:55:46


jzell commented 9 years ago
Hey and thanks for the issue report.

Jannik and I like the idea, so I've committed an initial implementation in r833a83a4bf6e.
We'll likely release it as part of version 1.3, but before that happens, we'll have
to play around with it a bit more to make sure that it works in all scenarios.

I added a command line switch "-c" that is to be followed by the configuration file's
relative or absolute path and filename, like such:

java -jar de.unihd.dbs.heideltime.standalone.jar myfile.txt -c some/folder/heideltime.props

If you have any more input on this or any issue, please let us know.

Original issue reported on code.google.com by juliii on 2012-05-25 15:35:16

jzell commented 9 years ago
thanks for the quick answer!
yes like that's better :)

Original issue reported on code.google.com by damien.palacio on 2012-05-25 19:51:00

jzell commented 9 years ago
r04ea9c3368aa contains code changes that help the standalone access paths outside of
those in the classpath.

Testing so far has shown no other issues.

Original issue reported on code.google.com by juliii on 2012-06-27 08:03:54

jzell commented 9 years ago
(No text was entered with this change)

Original issue reported on code.google.com by j.zell@stud.uni-heidelberg.de on 2013-04-18 10:10:43