riedelcastro / thebeast

Automatically exported from code.google.com/p/thebeast
GNU Lesser General Public License v3.0
1 stars 0 forks source link

Command line parameters #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
thebeast scripting language should allow command line parameters a la bash:

load corpus from "$1";
set learner.maxCandidates = $2;

etc...

when calling thebeast with a file this could look like

thebeast learn.pml data.corpus 10

so that $1 = data.corpus and $2 = 10

or, alternatively

load corpus from "$corpus";
set learner.maxCandidates = $maxCandidates;

and 

thebeast learn.pml -corpus data.corpus -maxCandidates 10

Original issue reported on code.google.com by sebastian.riedel@gmail.com on 15 Jun 2007 at 11:44

GoogleCodeExporter commented 9 years ago
Implemented

Original comment by sebastian.riedel@gmail.com on 1 Jun 2008 at 1:03