forked from GitHub/gf-core
46 lines
1023 B
Plaintext
46 lines
1023 B
Plaintext
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
|
|
|
|
|
|
|
|
|