File: test4.py

package info (click to toggle)
hfst 3.16.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 14,532 kB
  • sloc: cpp: 101,875; sh: 6,717; python: 5,225; yacc: 4,985; lex: 2,900; makefile: 2,017; xml: 6
file content (7 lines) | stat: -rw-r--r-- 151 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
import libhfst
istr = libhfst.HfstInputStream()
while not istr.is_eof():
    tr = istr.read()
    print('Read transducer:')
    print(tr)
istr.close()