Changes between Version 14 and Version 15 of documentation
- Timestamp:
- Feb 17, 2010, 6:10:20 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
documentation
v14 v15 37 37 == Program usage == 38 38 39 The usage of the system is very simple:39 The program usage is as follows: 40 40 41 {{{./set.py [-gd] <file>}}}41 {{{./set.py [OPTIONS] file}}} 42 42 43 where 43 where 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 44 54 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. 55 Requirements: 56 - Python 2.5 57 - python-qt4 (for graphical output only) 58 - pyqt4-dev-tools (for graphical output only) 48 59 49 60 The 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.