README.md 570 Bytes
Newer Older
Mathieu Mangeot-Nagata's avatar
Mathieu Mangeot-Nagata committed
1
### Installation
Mathieu Mangeot-Nagata's avatar
Mathieu Mangeot-Nagata committed
2

3
4
5
6
7
8
9
#### source install:
- build-essential, zlib1g-dev, libreadline-dev, bison, flex
- foma : https://fomafst.github.io
- graphviz

#### docker install:
    docker build -t foma .
Mathieu Mangeot-Nagata's avatar
Mathieu Mangeot-Nagata committed
10

Mathieu Mangeot-Nagata's avatar
Mathieu Mangeot-Nagata committed
11
12
### Use

13
14
15
16
17
18
19
20
21
22
23
24
25
26
#### docker use:

    >docker run -ti --volume /Users/mangeot/docker/na-fst:/workdir foma
    >cp /na-fst/* /workdir/.
    >cd /workdir
    
#### foma use:

	>cp na.foma na-src.foma
	>sed -i 's/^quit$//' na-src.foma
    >foma -l na-src.foma
    foma[1]: up njɤ˩ ʑi˩ bi˩ -zo˧ -ho˩
    
#### flookup use:
Mathieu Mangeot-Nagata's avatar
Mathieu Mangeot-Nagata committed
27

28
	>echo "njɤ˩ ʑi˩ bi˩ -zo˧ -ho˩" | flookup na.fsm