blob: d9f83def6d9544dd0b4ff12bad2c09d513c3dc54 (
plain)
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
44
45
|
1. write a word list - one noun per line, save in file correct-Foo.txt
2. create a first compilable grammar:
% runghc MkLex.hs 0 Foo >FooAbs.gf
% runghc MkLex.hs 1 Foo >Foo1.gf
3. compile this and create a first full-form word list
% gf Foo1.gf
> gt -cat=Utt | l | wf correct-Foo.txt
4. manually correct some singular genitive forms (the largest error source)
uutuus uutuuksen ... => uutuus uutuuden ...
5. create a second compilable grammar:
% runghc MkLex.hs 2 Foo >Foo2.gf
6. compile this into a second full-form word list
% gf Foo2.gf
> gt -cat=Utt | l | wf correct-Foo.txt
7. manually correct the remaining partitive forms (mostly plural)
8. create yet another grammar:
% runghc MkLex.hs 4 Foo >Foo4.gf
9. compile this into yet another full-form word list
% gf Foo4.gf
> gt -cat=Utt | l | wf correct-Foo.txt
10. manually correct any remaining errors (which should be rare now)
11. if relevant, run a test of the regularity of the vocabulary:
% export LEX=Foo ; make -e
|