Ignore:
Timestamp:
01/18/13 18:46:38 (12 years ago)
Author:
Tomasz Obrebski <to@…>
Branches:
master
Children:
e0cd003
Parents:
18e1952
git-author:
Tomasz Obrebski <to@…> (01/18/13 18:46:38)
git-committer:
Tomasz Obrebski <to@…> (01/18/13 18:46:38)
Message:

tok accepts options and prints help message now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/tok.l/tok_cmdline.ggo

    r5f4d9c3 r243d027  
    11package "tok" 
    22version "0.1" 
     3usage   "tok [OPTIONS]" 
     4purpose "tok transforms raw text into UTT format." 
    35 
    4 option "interactive"            i       "Interactive mode." flag off 
     6description "OPTIONS" 
     7 
     8option "interactive"            i       "Interactive mode (no output buffering)." flag off 
     9 
     10text " 
     11DESCRIPTION 
     12 
     13tok reads from standard input, identifies tokens on the basis of their orthographic form and writes a sequence of segments in UTT format to 
     14the standard output. The type of the token is printed as the type field. 
     15 
     16OUTPUT FORMAT 
     17 
     18UTT-file with four fields: start, length, type, and form. In the type field five types of tokens are distinguished: 
     19 
     20  W (word) - continuous sequence of letters 
     21  N (number) - continuous sequence of digits 
     22  S (space) - continuous sequence of space characters 
     23  P (punctuation) - single printable character other than W, N, S 
     24  B (unprintable character) - single unprintable character 
     25 
     26USAGE EXAMPLE 
     27 
     28      tok 
     29" 
Note: See TracChangeset for help on using the changeset viewer.