Up

bullet

WordGen batch mode command syntax (for an example batch file click here):

 

option [parameters]  //explanation
   
-show //write options to screen
-reset //set all values to default (** see below)
-language [1-4] //language: Dutch(1) English(2) French(3) German(4)
-f [filename] //read parameters from file (pmf file, without extension!)
-w [0-1] //switch between non-words (0) / words (1)
-t [0-1] //switch between checking (0) and generation (1)
-l [n_strings][outputfilename][details (true-false)] //'Generate List' options
-n [number of letters] //number of letters
-bigramF [minimum][maximum] //constrain min and max bigram freq
-celexF [minimum][maximum] //constrain min and max celex / lexique freq
-neighbor [minimum][maximum] //constrain min and max number of neigbours
-wildcard [wildcard] //using wildcard
-heuristic //using heuristic
-forbidden [forbidden letters] //exclude forbidden letters
-legal [frequency] //min legal bigram frequency constraint
-posbigramF [frequency] //minimum positional bigram frequency constraint

 

//turning off options and constraints: without arguments!
-lx
-bigramFx
-celexFx
-neighborx
-wildcardx
-heuristicx
-forbiddenx
-legalx
-posbigramFx

//execute: all further options on the same input line are discarded
-go!

 


bulletIMPORTANT notes on WordGen syntax:

+  if a constraint is set, it stays on for the next go! command, unless it is reset (using the -reset or -[constraint]x command)

 

+ the constraint settings of the batch system and the GUI are stored seperately. Thus, clicking constraints with the mouse does not have an impact on the batch system.

 

+ batch files can contain line breaks. In the command line box in the GUI, everything should be entered as a single line of text.

 

For example, the following command should be entered to write 10 English 4-letter nonwords, having 2 to 7 neighbours, to a file called output.prn on the c:\drive:

 

-language 2 -w 0 -n 4 -neighbor 2 7 -l 10 c:\output.prn true -show go!

 

+ do not use spaces in filenames (not yet...)
 

+ when wwg encounters an error, it continues command line processing
 

bullet

default values are:
 

+  language=English;
+ words / non-words=NONWORDS
+ task=GENERATION
+ Number of letters=5
+ neighbor constraint=false
+ celex / lexique frequency constraint=false
+ bigram frequency constraint=false
+ minimum legal bigram frequency constraint=false
+ minimum positional bigram frequency constraint=false
+ use wild card (obliged letter constraint)=false
+ forbidden letters constraint=false
+ use heuristic=false
+- generate list=false

 

For questions, suggestions or remarks about this site, please contact the webmaster wouter.duyck@UGent.be