File: README

package info (click to toggle)
sfst 1.7.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,036 kB
  • sloc: cpp: 6,969; lex: 567; yacc: 269; perl: 135; python: 100; makefile: 49; sh: 13
file content (43 lines) | stat: -rw-r--r-- 671 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
Simple transducer example


Compilation

>>> fst-compiler easy.fst easy.a


Test of the interactive analysis tool

>>> fst-mor easy.a
reading automaton...
finished.
analyse> easiest
easy<ADJ><sup>
analyse> latest
late<ADJ><sup>
analyse> late
late<ADJ><pos>
// entering an empty line switches to generation mode
analyse>
generate> late<ADJ><pos>
late
generate> q


Test of the batch-mode analysis tool

echo easier| fst-infl easy.a
reading automaton...
finished.
> easier
easy<ADJ><comp>


Test of the second batch mode analysis tool (usually faster)

>>> fst-compact easy.a easy.ca
>>> echo later| fst-infl2 easy.ca
reading automaton...
finished.
> later
late<ADJ><comp>