-
Notifications
You must be signed in to change notification settings - Fork 1
Examples
stav edited this page Jun 5, 2011
·
3 revisions
Here are some tips for running the application. The -s statistics switch is what i just beefed up yesterday and today to show some nice information about the Router and the parsing results. The default level for the stats switch is one (1) but you can use level two (2) to see the output in pretty format as well as the tokens that the parser found.
Take a look in the output folder for the output of these commands:
https://github.com/stav/choice-parser/tree/master/output
Sample application commands:
$ ./choice_app -i input/motorcycle
$ ./choice_app -i input/motorcycle -q
$ ./choice_app -i input/motorcycle -s
$ ./choice_app -i input/motorcycle -s -o
$ ./choice_app -i input/motorcycle -s2 -o
$ ./choice_app -i input/choices -m SplitstemMogrifyer,BooleanoptionMogrifyer -f WhitespaceFilter
-
-s==-s1 -
-s2prints pretty statistics -
-s5prints everything including the tokens and the questions -
-o outputwrites the output to the relative " output " folder -
-oby itself sends the output to/dev/null - the
-qswitch is a shortcut for-f QualifiedFilter