Closed physikerwelt closed 9 years ago
@alexeygrigorev I realized that you implemented a lot of tests. How much work would it be to develop some very simple cli support? I would need that for some explorary analysis.
There's already some CLI support, but not in the form you want. I replied in a different thread and gave an example of how yo use it, but I see that it's something different.
This one would require some re-writing of the code
@physikerwelt, are you already doing it?
I'm trying;-)
On Sun, Sep 27, 2015 at 3:11 PM, Alexey Grigorev notifications@github.com wrote:
@physikerwelt https://github.com/physikerwelt, are you already doing it?
— Reply to this email directly or view it on GitHub https://github.com/TU-Berlin/project-mlp/issues/4#issuecomment-143549315 .
I have added basic CLI support.
mlp
will apply the algorithm to a wiki dumpextract
count
and list
are not yet implemented. help
to see all available commandsExample. Suppose you want to extract relations from Linear regression. Save the wiki markup to linear_regression.txt
and then do
java mlp.Main extract -in "C:/tmp/mlp/linear_regression.txt"
This should output all extracted relations to stdout. (Here's the output: http://pastebin.com/yFY0k7tk)
I think what we have is "good enough"
For developing and testing it would be great to be able to use mlp independent of stratosphere from the commandline like
the following subcommands would be nice
1-4 should be run if subcommand is empty