- Timestamp:
- 12/16/08 23:40:47 (16 years ago)
- Branches:
- master, help
- Children:
- 2969c84
- Parents:
- 9ace5d2
- git-author:
- walas <walas@…> (12/16/08 23:40:47)
- git-committer:
- walas <walas@…> (12/16/08 23:40:47)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
app/src/mar/mar
radb4c8d r2d89d4b 10 10 #which is one of the parametres of the script 11 11 #contact: d287572@atos.wmid.amu.edu.pl, walasiek@gmail.com 12 13 my $version = '1.0'; 12 14 13 15 use lib "/usr/local/lib/utt"; … … 37 39 my $morfield='lem'; 38 40 my $tags=0; 41 my $show_version = 0; 39 42 40 43 #read configuration files########################### … … 90 93 "action=s" => \$action, 91 94 "help|h" => \$help, 92 "space|s" => \$explicit_space 95 "space|s" => \$explicit_space, 96 "version|v" => \$show_version, 93 97 ); 94 98 95 99 96 100 101 if($show_version){ 102 print "Version: $version\n"; 103 exit 0; 104 } 97 105 98 106 if($help) … … 103 111 Options: 104 112 --pattern -e PATTERN Pattern. 105 -- bos -E PATTERN Segment serving as sentence beginning marker. [TODO]113 --eos -E PATTERN Segment serving as sentence beginning marker. [TODO] 106 114 --macros=FILE Read macrodefinitions from FILE. [TODO] 107 115 --define=FILE Add macrodefinitions from FILE. [TODO] … … 110 118 s - search 111 119 P - postprocess 112 (default p gP)120 (default psP) 113 121 --command Print generated shell command and exit. 114 122 --help -h Print help. 123 --version -v Script version 115 124 116 125 In patern you can put any tag. Tags should begin with the @ character.
Note: See TracChangeset
for help on using the changeset viewer.