apertium/apertium-udm-kpv

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

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Udmurt and Komi-Zyrian (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

Requirements

You will need the following software installed:

If this does not make any sense, we recommend you look at: www.apertium.org

Compiling

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.

Testing

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

Files and data

For more information

Help and support

If you need help using this language pair or data, you can contact:

See also the file AUTHORS included in this distribution.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.