Next: , Up: xdk


11.1.1 Main window

We show a screenshot of the main window of the GUI below:


pix/main.jpg

The main window consists of five parts, from top to bottom:

  1. the menu bar comprising the pull-down menus
  2. the status display comprising information about the currently loaded grammar and example files
  3. the inspect lexical entries button and text field
  4. the examples list view and scroll bar
  5. the solve button and text field
11.1.1.1 Menu bar

The menu bar consists of the following pull-down menus, from left to right:

The Project menu consists of the following menu entries:

The Search menu consists of the following menu entries:

The Dimensions, Principles and Outputs menus are different depending on the currently opened grammar. Here, you can decide whether you wish to use or to switch off individual dimensions2, principles and outputs.

The Extras menu consists of the following menu entries:

Below, we display an example output of the Generate all orderings... function:


pix/orderings.jpg

'number of orderings' states the number of possible orderings. 'number of solutions' states the number of solutions (this can be higher than the number of possible orderings for e.g. different analyses on a dimension other than lp). 'ordering -> solutions' states a mapping from sentences to lists of indices of their corresponding solutions. By clicking on this list with the right mouse button, and then selecting Actions and then Outputs, you can invoke all used output functors for the solutions contained in the list.

The Save solving statistics file... function omits empty examples, examples starting with /, * or %.

11.1.1.2 Status display

The status display shows two things:

If the selected grammar file(s) could not be successfully compiled, the Grammar status includes the note (not successfully compiled).

11.1.1.3 Inspect lexical entries button and text field

In the inspect lexical entries text field you can enter a list of words. After pressing the return key or after clicking on the Inspect lexical entries button the GUI opens the Oz Inspector to display all possible lexical entries for that word for the used dimensions. The lexical entries are displayed in the Output Language (OL). If a lexical entry in the list equals another, e.g. the third is equal to the first, then this is signified as follows: entry#3#'=1'.

Below, we show an example output of this function:


pix/entries.jpg

Here, the first number (3) corresponds to the number of lexical entries for the word (lieben), and the numbers before each of these lexical entries is the index of that entry.

11.1.1.4 Examples list view and scroll bar

The examples list view displays the list of currently opened examples. Use the scroll bar on the right hand side of the list view to scroll through it. If you click on one of the examples, the GUI copies this example to the solve text field. If you double click on one of the examples, the GUI first copies the example to the solve text field and then solves the example.

11.1.1.5 Solve button and text field

In the solve text field you can enter a list of words. After pressing the return key or after clicking on the solve button the GUI opens the Oz Explorer to display all possible solutions for that list of words (under the currently opened grammar and selections in the Dimensions and Principles menus).

11.1.1.6 Tips and tricks

When looking for example files which correspond to grammar files, the GUI simply removes the suffix from the grammar file and adds the new suffix txt. E.g. for the grammar file Grammars/Acl01.ul, it looks for the examples file Grammars/Acl01.txt.

You can “tear-off” the pull-down menus such that they become independent windows (depends on the version of Tcl/Tk and your operating system, e.g. seems to work under Unix and Windows, but not MacOS X).

Some of the menu entries have keyboard shortcuts, displayed to their right. E.g. by pressing the keys control and o simultaneously, you can invoke the menu entry Open grammar file... of the Project menu.


Footnotes

[1] The functor must export the IL grammar under the key grammar.

[2] Toggling the lex dimension has no effect on the XDK solver - the lexicon is always used.