Changes between Version 14 and Version 15 of documentation


Ignore:
Timestamp:
Feb 17, 2010, 6:10:20 PM (14 years ago)
Author:
Vojtěch Kovář
Comment:

"Program usage" updated

Legend:

Unmodified
Added
Removed
Modified
  • documentation

    v14 v15  
    3737== Program usage ==
    3838
    39 The usage of the system is very simple:
     39The program usage is as follows:
    4040
    41 {{{./set.py [-gd] <file>}}}
     41  {{{./set.py [OPTIONS] file}}}
    4242
    43 where
     43where file has is tagged sentence in vertical or BRIEF format as shown above and OPTIONS can be as follows:
     44    -  {{{-g}}}         graphic output
     45    -  {{{-d}}}         dependency output (not compatible with {{{-p}}} and {{{--laa}}})
     46    -  {{{-p}}}         phrasal trees output
     47    -  {{{-c}}}         use collocation data in probabilistic ranking of matches
     48    -  {{{--laa}}}      phrasal trees output in format usable for tree comparison using the Leaf Ancestor Assessment program by Geoffrey Sampson
     49    -  {{{--cout}}}     output in form of collocations (not compatible with {{{-p}}}, {{{-d}}} and {{{--laa}}})
     50    -  {{{--phrases}}}  output in form of phrases
     51    -  {{{--marx}}}     output phrases in an alternative format
     52    -  {{{--postags}}}  use Prague positional tags in input
     53    -  {{{--version}}}  show the version of the program
    4454
    45     * {{{-g}}} specifies graphical tree output (if not given, output tree will display only in the text format that is not readable well),
    46     * {{{-d}}} switches to the dependency tree output, instead of hybrid trees, and
    47     * {{{<file>}}} should contain a tagged Czech sentence in the BRIEF format as showed above and in UTF-8 encoding.
     55Requirements:
     56  - Python 2.5
     57  - python-qt4       (for graphical output only)
     58  - pyqt4-dev-tools  (for graphical output only)
    4859
    4960The system performs parsing of the input sentence according to rules defined in the file grammar.set that is present in the installation. The structure of the rules and the process of analysis are further described in the following sections.