TU-Berlin / project-mlp

a machine learning approach for processing mathematical language in scientific documents
0 stars 1 forks source link

path to local environment #9

Open physikerwelt opened 9 years ago

physikerwelt commented 9 years ago

see mlp.Config#test

        String dataset = "c:/tmp/mlp/input/";
        String outputdir = "c:/tmp/mlp/output/";

This is clearly unacceptable

physikerwelt commented 9 years ago

See also mlp.RussianMlpRelationFinder#main

alexeygrigorev commented 9 years ago

As a user, you don't need to use the test() method. This is a test set of params. I might have used it in tests though... which were to be used in local environment anyway.

If you want to run the algorithm with something different, you need to use params -in for setting the input directory, and -out for setting the output directory. I can't login to the mlp instance on wikitech: there should be a script which I used for running the algorithm.

In general it's something like nohup java mlp.MlpRelationFinder -in c:/tmp/mlp/input/ -out c:/tmp/mlp/output/

RussianMlpRelationFinder can be removed, it's just a shortcut for running the program locally on the Russian wikipedia.