Changes between Version 17 and Version 18 of documentation
- Timestamp:
- Feb 17, 2010, 6:34:54 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
documentation
v17 v18 25 25 * '''Phrases''' 26 26 Word chunks that form phrases in the sentence. These can be output in two possible formats. 27 * '''Graphical output''' 28 Module for comfortable viewing all types of the output trees is available. It provides also possibility to export the resulting tree into several graphical formats. 27 29 28 30 The output trees in the text form are encoded by set of lines, each of them representing one node of the resulting tree. Each line contains four TAB-delimited fields: … … 37 39 == Program usage == 38 40 39 The program usage isas follows:41 The program can be used from the command line as follows: 40 42 41 43 {{{./set.py [OPTIONS] file}}} … … 81 83 === SET rules === 82 84 83 For current rules used in the SET system, please refer to the {{{grammar.set}}} definition file in the source package. 85 For current rules used in the SET system, please refer to the {{{grammar.set}}} definition file in the source package. Each rule is commented by an example of its usage. 84 86 85 87 == Implementation overview == … … 88 90 89 91 * {{{grammar}}} -- loading, organizing and parsing of rules sets, definition of the {{{Rule}}} a {{{Grammar}}} class. 90 91 92 * {{{token}}} -- definition of the {{{Token}}} class (and its derivatives) representing a single word/token. 92 93 93 * {{{segment}}} -- input parsing, definition of the {{{Segment}}} class representing the input sentence (a list of {{{Token}}} objects). 94 95 94 * {{{matcher}}} -- definition of the {{{Match}}} and {{{Matcher}}} class. A {{{Match}}} objects represents a rule realization, whereas {{{Matcher}}} searches for possible matches on a given segment. 96 97 95 * {{{parser}}} -- implements the parsing procedure itself ({{{Parser}}} class) including ranking functions. 98 99 * {{{tree_view}}} -- implements displaying graphical output of trees. 100 96 * {{{settings}}} -- contains global settings of the parser. 97 * {{{vertical_processor}}} -- implements processing vertical files with more sentences. 98 * {{{collocations}}} -- implements searching for collocations that is used in the best matches selection process. 99 * {{{TreeViewer}}} -- implements displaying graphical output of trees. 100 * {{{tree_view}}} -- old, simple module for displaying graphical output of trees. 101 101 * {{{utils}}} -- contains several helper functions. 102 103 102 * {{{set}}} -- represents the main module. 103 * {{{compare_dep_trees}}} -- helper script for evaluation of the parsing results. 104 104 105 105 == Screenshots ==