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 writer > psi-writer

psi-writer

PSI Writer prints the content of the lattice in PSI format.

By default, first line contains column description (as a comment). It can be skipped with --no-header option.

Aliases

write-lattice, write-psi

Examples

txt-reader ! psi-writer

Read text into lattice and write its contents in PSI format.

in:
Lorem ipsum dolor sit amet
consectetur
adipiscing elit.
out:
## beg. len.  text         tags                  annot.text  annotations
01 0000 26    Lorem_ipsum_dolor_sit_amet frag,txt-reader Lorem_ipsum_dolor_sit_amet FRAG[]
02 0026 01    \n           ∅                     ∅           ∅
03 0027 11    consectetur  frag,txt-reader       consectetur FRAG[]
04 0038 01    \n           ∅                     ∅           ∅
05 0039 16    adipiscing_elit. frag,txt-reader   adipiscing_elit. FRAG[]

Options

Allowed options:
  --no-header           do not print the column description

Other help resources