Name: apertium-udm-kpv
Owner: Apertium
Description: Apertium translation pair for Udmurt and Komi-Zyrian
Created: 2018-03-08 02:28:35.0
Updated: 2018-05-13 22:04:15.0
Pushed: 2018-05-13 22:04:14.0
Homepage: http://wiki.apertium.org/wiki/Udmurt_and_Komi
Size: 8141
Language: Makefile
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
apertium-udm-kpv
)This is an Apertium language pair for translating between Udmurt and Komi-Zyrian. What you can use this language package for:
For information on the latter two points, see subheading “For more information” below
You will need the following software installed:
If this does not make any sense, we recommend you look at: www.apertium.org
Compiling in the giella infrastructure: check out at
go to `$GTHOME/langs/udm
and set up and compile (where $GTHOME
is the folder
where you downloaded the giella infrastructure):
autogen.sh
configure --with-hfst --enable-reversed-intersect --enable-apertium
ake
Then go to $GHOME/langs/kpv
and issue the same 3 commands.
Things are fine if you in the folder tools/mt/apertium
(in the udm
and kpv
folders) find files ending in .gz
, e.g. apertium-udm.udm.RL.att.gz
Given these requirements being installed, you should be able to return to your apertium-udm-kpv folder and run:
autogen.sh --with-lang1=/path/to/$GTHOME/langs/udm/tools/mt/apertium --with-lang2=/path/to/$GTHOME/langs/kpv/tools/mt/apertium
Eventually instead also (??)
configure
ke
You can use ./autogen.sh
instead of ./configure
you're compiling from
git. If you installed any prerequisite language packages using a --prefix
to ./configure
, make sure to give the same --prefix
to ./configure
here.
If you are in the source directory after running make
, the following
commands should work:
cho "??" | apertium -d . udm-kpv
If everything works, the answer should be
Some more advanced examples:
ho "TODO test sentence 2" | apertium -d . kpv-udm
test translated sentence 2
After installing somewhere in $PATH
, you should be able to do e.g.
cho "TODO test sentence 1" | apertium udm-kpv
test translated sentence 1
apertium-udm-kpv.udm-kpv.dix
- Bilingual dictionaryapertium-udm-kpv.udm-kpv.t1x
- Chunking rules for translating into kpvapertium-udm-kpv.kpv-udm.t1x
- Chunking rules for translating into Udmurtapertium-udm-kpv.udm-kpv.t2x
- Interchunk rules for translating into kpvapertium-udm-kpv.kpv-udm.t2x
- Interchunk rules for translating into Udmurtapertium-udm-kpv.udm-kpv.t3x
- Postchunk rules for translating into kpvapertium-udm-kpv.kpv-udm.t3x
- Postchunk rules for translating into Udmurtapertium-udm-kpv.udm-kpv.lrx
- Lexical selection rules for translating into kpvapertium-udm-kpv.kpv-udm.lrx
- Lexical selection rules for translating into Udmurtmodes.xml
- Translation modesIf you need help using this language pair or data, you can contact:
#apertium
on irc.freenode.net
See also the file AUTHORS included in this distribution.