Changeset 2055
- Timestamp:
- 03/09/08 03:52:48 (2 months ago)
- Files:
-
- Swishetest/trunk/make_collection (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
Swishetest/trunk/make_collection
r2003 r2055 34 34 " [--min_words_per_file=$min_words_per_file] [--max_words_per_file=$max_words_per_file] [--num_files=$num_files]\n" . 35 35 " [--verbose] [--englishify] [--filetype=(txt|html|xml)] [--(no)randommode]:\n" . 36 " Makes a set of (possibly random) xml, html, or txt files based on a dict.\n"; 36 " Makes a set of (possibly random) xml, html, or txt files based on a dict.\n" . 37 " If you dont set a --base_dir, then it outputs data like a swish-e prog.\n"; 37 38 } 38 39 … … 91 92 # choose the next word, either randomly, or sequentially 92 93 93 if ($ toCap) { $toadd = "\u$toadd"; $toCap = 0; }94 if ($englishify && toCap) { $toadd = "\u$toadd"; $toCap = 0; } 94 95 if (!defined($toadd)) { next; } 95 96 $doc .= $toadd;
