This app allows you to create random expressions with a simple generating language.
It uses symbolic expressions which are replaced by a word picked from a word list.
Click the +
button on the left panel to add a variable, then pick a word list from the
drop-down menu.
You can name your variables only with alphanumeric characters.
In the righthand textbox, you can write the generating expression, using the variables defined in the left panel.
Note the $
on the left of each variable: this is how you reference variables in the textbox.
For example, click +
and keep
the default variable with the default word list,
write $x0
in the righthand textbox and
click Generate
, this will result in 5 different
words being generated in the area below the textbox.
You can use {a|b}
for OR
logic, i.e evaluating to either a
or
b
.
{a|}
works as a way to keep a
half the time.
Obviously, this works with variables too, i.e. {$x0|$x1}
also works, as well as nested
expressions of any kind.
Beginning your variable definition with a capital will capitalize the resulting word, i.e
$var = word
and $Var = Word
Word lists ending in _SW
mean that they are a "subword" list,
with each morpheme in its respective list, e.g. for Ge|ne|va
,
Ge
would be in the _SW1
list, ne
in the _SW2
list,
and va
in the _SW3
list.
You can declare multiple variables per field, using a comma, if you want to get multiple words from the same wordlist without having to create two fields.
For more thorough examples, you can load templates in the Import/Export
button.
Pick your example in the drop-down menu, then click Load Example
and then click
Import
You can declare multiple variables in the same left-hand field, by separating them with a comma, i.e.
x0,x1,x2,x3
.
Pretty nifty if you want different words from the same list!
The entire word lists can be found here