Some parts of this website may do not work correctly, because your browser doesn't support JavaScript or you have disabled it. In order to use all features please enable JavaScript in your browser.

Specification for reader > utt-reader

utt-reader

UTT Reader reads a file in UTT (UAM Text Tools) format into the lattice.

UTT is a package of language processing tools developed at Adam Mickiewicz University. You can find more information about the project at http://utt.amu.edu.pl.

The detailed description of the UTT file format can be found at http://utt.amu.edu.pl/files/utt.html#UTT-file-format.

Aliases

read-utt

Examples

utt-reader ! psi-writer

Convert UTT format to PSI format.

in:
     0000 00 BOS *
     0000 07 W Piszemy lem:pisać,V
     0007 01 S _
     0008 05 W dobre lem:dobry,ADJ
     0013 01 S _
     0014 08 W progrumy cor:programy lem:program,N
     0022 01 P .
     0023 00 EOS *
     0023 01 S _
     0024 00 BOS *
     0024 11 W Warszawiacy lem:Warszawiak,N
     0035 01 S _
     0036 03 W też
     0039 01 P .
     0040 00 EOS *
out:
## beg. len.  text         tags                  annot.text  annotations
01 0000 07    Piszemy      token                 Piszemy     'Piszemy',lem=pisać,V
02 0007 01    _            token                 _           '_'
03 0008 05    dobre        token                 dobre       'dobre',lem=dobry,ADJ
04 0013 01    _            token                 _           '_'
05 0014 08    progrumy     token                 progrumy    'progrumy',lem=program,N,cor=programy
06 0022 01    .            token                 .           '.'
07 0000 23    Piszem...my. sentence              Piszemy_dobre_progrumy. sen[1-2-3-4-5-6]
08 0023 01    _            token                 _           '_'
09 0024 11    Warszawiacy  token                 Warszawiacy 'Warszawiacy',lem=Warszawiak,N
10 0035 01    _            token                 _           '_'
11 0036 04    też          token                 też         'też'
12 0040 01    .            token                 .           '.'
13 0024 17    Warsza...eż. sentence              Warszawiacy_też. sen[9-10-11-12]

Other help resources