Differences between revisions 6 and 7
Revision 6 as of 2014-01-30 12:12:35
Size: 6770
Editor: GregorThiele
Comment:
Revision 7 as of 2014-01-30 13:35:20
Size: 6773
Editor: GregorThiele
Comment:
Deletions are marked like this. Additions are marked like this.
Line 70: Line 70:
At the lower part of the graph panel is the text outline. A list that contains all sentences that have been parsed in the current ICARUS session. The selected sentence is shown in the graph panel. At the lower part of the graph panel is the text outline. A list that contains all sentences that have been parsed in the current matetools session. The selected sentence is shown in the graph panel.

ICARUS-Matetools-Parser-perspective

The matetools_perspective.png perspective provides a GUI to use the mate-tools parsing pipeline.

How to parse a text/sentence:
  1. Copy the prefered text/sentence into the "Parser Input Field".
    • matetools_parserinput.png

  2. Select the desired model set
    • If the parsing model is already specified continue with 3.)
    • To create a new parsing model click on matetools_preferences.png This will open the matetools preferences dialog attachment:matetools_preferences_dialog.png

    • Click "New" to create a new model, edit or delete to manage existing models. Example model (edit mode): matetools_model_edit.png

    • Note: In this example we have no moprh-tagger model set. This works because the "Use Morph Tagger" Option above is unchecked.
    • Specify the parser-, tagger-, lemmatizer- and morph-tagger-model
    • After setting up the model it can be used by clicking on the model set dropdown menu.
  3. Select the tokenizer. The default tokenizer use whitespace to split the sentence into tokens.
  4. Click on matetools_parse.png to parse the text/sentence.

  5. The resulting parse tree of this example is shown here: attachment:matetools_example.png

Graph-List Outline

matetools_graph-outline.png This tab is used to show the parse tree:

Graph-List Outline Toolbar: matetools_graph-outline-tb.png

  • preferences.png = Open the preferences

  • arc-layout.png = Change the current graph layout. There are three different layout types available qe_layouts.png

    1. Arc layout qe_arc-layout.png

    2. No layout qe_no-layout.png

    3. Tree qe_tree-layout.png

  • clear.png = Clear graph panel - every nodes/edges are deleted

  • export.png = Save the current search graph to XML file (may be imported later)

  • import.png = Import a search graph XML file

  • print.png = Print the current graph

  • add-node.png = Add a new node to the current search graph

  • add-edge.png = Connects two nodes (two nodes must be selected before this action can be performed)

  • add-pedge.png = Connects two nodes with a precedence relation (two nodes must be selected before this action can be performed)

  • delete.png = Delete selected node/edge (multi selection possible)

  • edit.png = Open the edit node/edge dialog (Instead of using this button you may doubleclick a node/edge to open the edit dialog)

  • clone.png = Duplicate (copy and insert) the selected nodes/edges. Quick way to duplicate a graph. Note: edges are only copied when their source and target node is selected.

  • copy_button.png = Copy and the selected nodes/edges. Note: edges are only copied when their source and target node is selected. (strg+c)

  • paste_button.png = Paste previously copied nodes/edges. (strg+p)

  • reorder-graph.png = Redraw the graph, can be useful while adding new nodes, edges or constraints may mess up the graph layout. Example (arc-layout): (left nodes/edges unsorted; right nodes/edges reorderes) graph-redraw.png

  • undo.png = Undo the last graph editor operation

  • redo.png = Redo the last graph editor operation

  • zin.png = Increase zoom level

  • zdefault.png = Switch back to the default zoom level

  • zout.png = Decrease zoom level

  • zauto.png = Autofit zoom level to the current graph panel size (default off)

  • zcompress.png = Compress graph (right-left). Merge node/edge information into a node. Search annotation highlight is never merged and always visible. (default off)

  • hl_inedge.png = Highlight the incoming edge of the selected node (multiselection possible) (default off)

  • hl_outedge.png = Highlight the outgoing edge/edges of the selected node (multiselection possible) (default off)

    • Example where the node "son" is selected and highlight is switched on for incoming and outgoing edges hl_example.png Note: It is possible to navigate through a graph (after selecting at least one node/edge) using the "arrow keys"

  • matetools_tb-unused.png = unused right now

At the lower part of the graph panel is the text outline. A list that contains all sentences that have been parsed in the current matetools session. The selected sentence is shown in the graph panel.

Toolbar: text-tb.png

  • text_outline.png = Toggle a textpanel to copy the selected sentence. (see below)

    • text_outline-on.png

  • item-first.png = First sentence

  • item-previous.png = Previous sentence

  • sentence-nr.png = Shows the current selected sentence (first number) and the total sentences (last number). In the example figure sentence 2 of 3 is selected. The user may navigate using the arrows to the left/right. It is possible to enter the sentence no. in this field by pressing "return" the sentence pops up. Note that the sentence numbers belong to the the internal index (the corpus index may differ for example if one sentence number have been skipped)

  • item-next.png = Next sentence

  • item-last.png = Last sentence

Table Outline

attachment:matetools_table-outline.png A table representation of the graph shown in the Graph-List outline.

Parser Input

matetools_parserinput.png

Toolbar: matetools_parserinput-tb.png

  • undo.png = Undo the last operation

  • redo.png = Redo the last operation

  • cut_button.png = Cut the selected text

  • copy_button.png = Copy and the selected text. (strg+c)

  • paste_button.png = Paste previously copied text. (strg+p)

  • select_all.png = Select all text within the parser input panel

  • clear.png = Clear parser input panel

extern/ICARUS-Matetools-Parser (last edited 2014-04-25 10:05:16 by GregorThiele)