linqs / psl

The PSL software from the University of Maryland and the University of California Santa Cruz
http://psl.linqs.org
Apache License 2.0
298 stars 100 forks source link

Command line arguments support for existing psl-examples interfaces #246

Open eriq-augustine opened 5 years ago

eriq-augustine commented 5 years ago

Issue by shrestabs Sunday Mar 10, 2019 at 19:22 GMT Originally opened as https://github.com/eriq-augustine/psl/issues/199


Currently while executing psl-examples the run.sh of all interfaces (expect CLI) does not take command line arguments as parameters for psl or logging. CLI recently supported this feature. https://github.com/linqs/psl-examples/pull/5 . This issue is to track command line arguments support for the groovy, java and python interfaces of psl-examples.

eriq-augustine commented 5 years ago

Comment by eriq-augustine Sunday Mar 10, 2019 at 19:39 GMT


More succinctly stated, we want all of our standard implementations to be able to take in command line arguments like the cli.

Note that in interfaces that are less structured that the cli (every other interface), there are two places that work must be done: the interface itself and the example/suggested usage of the interface The interface itself refers to the package in the psl core repo (e.g. psl-groovy). The example/usage refer to the implementations in psl-examples. It is very important that the correct line is drawn between them.

eriq-augustine commented 2 years ago

Eventually, all interfaces will go through the new PSL Runtime. So now we have a common place for options to be added.