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
Original issue reported on code.google.com by
sebastian.riedel@gmail.com
on 15 Jun 2007 at 11:44