Difference between revisions of "Finnish and Estonian"
Jump to navigation
Jump to search
Line 90: | Line 90: | ||
cd apertium-fin-est |
cd apertium-fin-est |
||
./autogen.sh --with-lang1=../giellatekno/giella-fin/tools/mt/apertium --with-lang2=../giellatekno/giella-est/tools/mt/apertium |
./autogen.sh --with-lang1=../../giellatekno/giella-fin/tools/mt/apertium --with-lang2=../../giellatekno/giella-est/tools/mt/apertium \ |
||
--prefix=$PREFIX/local |
|||
make |
make |
||
cd .. |
cd .. |
Revision as of 10:49, 13 October 2014
Tagset stuff
Example of forms with (at the moment) different tagset conventions in the fin and est transducers.
Pronouns
Numerals
Form (Fin) | Form (Est) | Tag (Fin) | Tag (Est) | Ex. (Fin) | Ex. (Est) |
---|---|---|---|---|---|
10 | 10 | 10<num><card><sg><nom> | 10<num><card> |
Nouns
Adjectives
Adverbs
Verbs
Form (Fin) | Form (Est) | Tag (Fin) | Tag (Est) | Ex. (Fin) | Ex. (Est) |
---|---|---|---|---|---|
olen | olen | olla<v><act><ind><prs><sg1> | olema<v><pers><prs><ind><sg1><aff> | Minä olen talossa. | Ma olen majas. |
ole | ole | olla<v><act><ind><prs><conneg> | olema<v><pers><prs><ind><neg> | Minä en ole talossa. | Ma ei ole majas. |
ole | ole | olla<v><act><imprt><p2><sg> | olema<v><pers><prs><imprt><p2><sg> | Ole! | Ole! |
ole | ole | olla<v><imprt><prs><conneg> | olema<v><pers><prs><imprt><p2><sg><neg> | Älä ole! | Ära ole! |
olla | olla | olla<v><act><infa><sg><lat> | olema<v><inf> | Minä haluan olla... | Ma tahan olla.. |
olemaan | olema | olla<v><act><infma><ill> | olema<v><pers><sup><ill> | Minä menen olemaan. | Ma lähen olema. |
Compiling the language pair
- Get the source code
mkdir giellatekno cd giellatekno svn co https://victorio.uit.no/langtech/trunk/langs/fin giella-fin svn co https://victorio.uit.no/langtech/trunk/langs/est giella-est svn co https://victorio.uit.no/langtech/trunk/gtcore core cd .. mkdir apertium cd apertium svn co https://svn.code.sf.net/p/apertium/svn/incubator/apertium-fin-est cd ..
- Build Giellatekno components
cd giellatekno cd core ./autogen.sh ./configure --disable-silent-rules --prefix=$PREFIX/local make install cd .. cd giella-est ./autogen.sh ./configure --with-hfst --without-xfst --enable-apertium --prefix=$PREFIX/local make V=1 cd .. cd giella-fin ./autogen.sh ./configure --with-hfst --without-xfst --enable-apertium --prefix=$PREFIX/local make V=1 cd .. cd ..
- Build Apertium components
cd apertium cd apertium-fin-est ./autogen.sh --with-lang1=../../giellatekno/giella-fin/tools/mt/apertium --with-lang2=../../giellatekno/giella-est/tools/mt/apertium \ --prefix=$PREFIX/local make cd ..