How do I use it ... This reference supplies a short introduction on how to use the applet.
First troubleshooting - Why you may not be able to start the applet:
|
Start If your browser can handle Java a button with the
inscription "Start Applet" is shown on the right. Use it to start the program.
Shortly later, a window with the mainscreen opens. It is separated into three areas: On top
there is a menubar ...
|
|
with five entries. Furthermore, there is the mainscreen in center showing a startup message; as well the so called "rule-panel" on the right. Initially, it should read "no Rules available"
The Menubar
All buttons are supplied with a short discribtion (a kind of online help); This can be read in the statusbar while pointing at an item. (Note: Several errors and hints that might help are also shown via the statusbar on the buttom of the screen.)
Interpreter ... by clicking on this button a new window is presented. This is the interpreter or rule window for it provides a screen to enter own rules and hand them over to the actual interpreter. There are three simple steps to test an algorithm:
l->r where l is the left side, r stands
for the right side of the rule; and -> separates left from right side
(The arrow -> must appear in every rule).
Example: A rule that removes every occurance of the letter "a" within a text (i.e.
"a->epsilon") must be written as "a->".
(The " are not part of the rule.)
A stop rule looks like this: finished->.done. Here, the occurance of
finished is replaced by done; and no other rule is
applied after this one, because a dot right after -> marks the
stop rule.
It is also important to use one line for every rule, only. (If you think this is difficult load one of the examples into this rule window and experiment with the syntax of the rules.)
Comments (a whole line starting with --) as well as blank lines my
be included anywhere within the code; they are ignored by the interpreter.
to hand over your rules to
the interpreter and to start the algorithm.
| Also, within this rule-window the two preprepared examples may be loaded and tested immediately by using one of the buttons. |
|
There is an additional button with the inscription "from URL". Using it, a new window appears within you may specify a www-side containing a Markov-Algorithm. This is loaded right into the rule-window. (Any errors that might occure will be shown via the statusline.)
Running ... if the rule-window was closed via
"Apply Rules" and all rules are correct, they are printed on the right panel.
Furthermore, the mainscreen is initialised with the beginning word.
Now, use these buttons
to apply one rule
or twenty rules at once.
Contacting the author ... For questions or comments write an email to Alexander Theel using the following address alex.theel@gmx.net.