| 1 | | == Getting started == |
| 2 | | |
| 3 | | === Run GenI === |
| 4 | | |
| 5 | | Open a terminal and run GenI like so: |
| 6 | | {{{ |
| 7 | | geni |
| 8 | | }}} |
| 9 | | |
| 10 | | You should see the following main screen: |
| 11 | | |
| 12 | | [[Image(http://projects.haskell.org/GenI/images/GenI-main-screenshot.png, 212px)]] |
| 13 | | |
| 14 | | === Load some files === |
| 15 | | |
| 16 | | Now select the ''File'' menu and then ''Open files...'' |
| 17 | | |
| 18 | | [[Image(http://projects.haskell.org/GenI/images/GenI-config-menu.png,290px)]] |
| 19 | | |
| 20 | | The surface realiser takes three inputs: a set of trees, a lexicon and a semantic expression. |
| 21 | | Using the ''Browse'' buttons, select the following files: |
| 22 | | * examples/ej/mac (macros) |
| 23 | | * examples/ej/lexicon (lexicon) |
| 24 | | * examples/ej/suite (test suite) |
| 25 | | |
| 26 | | [[Image(http://projects.haskell.org/GenI/images/GenI-config-basic.png,209px)]] |
| 27 | | |
| 28 | | Now click on the button ''Load''. GenI should now look like this: |
| 29 | | |
| 30 | | [[Image(http://projects.haskell.org/GenI/images/GenI-main-screenshot-2.png, 212px)]] |
| 31 | | |
| 32 | | Note: alternately, you could have run GenI like so: {{{geni -m examples/ej/mac -l examples/ej/lex -s examples/ej/suite}}} |
| 33 | | |
| 34 | | === Generate === |
| 35 | | |
| 36 | | Now click on the ''Generate'' button. What appears, maybe after some seconds of thinking is a results window. |
| 37 | | To see the output, click on the ''Realisations'' tab: |
| 38 | | |
| 39 | | [[Image(http://projects.haskell.org/GenI/images/GenI-realisations.png, 212px)]] |
| 40 | | |
| 41 | | You should see a small number of sentences on the left. If you click on |
| 42 | | one of these sentences, its derivation and derived tree will appear on |
| 43 | | the right. |
| 44 | | |
| 45 | | Voila! This shows you roughly the kind of things GenI is capable of |
| 46 | | doing. Now in the rest of the walkthrough, we'll see how the realiser |
| 47 | | responds to a different input semantics and grammar. |
| 48 | | |
| 49 | | == Playing with input semantics == |
| 50 | | |
| 51 | | ''to be completed'' |
| 52 | | |
| 53 | | == Other advanced stuff == |
| 54 | | |
| 55 | | ''to be completed'' |
| 56 | | |
| 57 | | [[Image(http://projects.haskell.org/GenI/images/GenI-config-advanced.png,209px)]] |
| 58 | | |
| 59 | | == See also == |
| | 1 | See http://kowey.github.com/GenI/manual/gui.html |