This is an Apertium monolingual language package for Western Sierra Nahuatl. What you can use this language package for:
- Morphological analysis of Western Sierra Nahautl
- Morphological generation of Western Sierra Nahautl
- Part-of-speech tagging of Western Sierra Nahautl
You will need the following software installed:
- lttoolbox (>= 3.3.0)
- apertium (>= 3.3.0)
- vislcg3 (>= 0.9.9.10297)
- hfst (>= 3.8.2)
If this does not make any sense, we recommend you look at: apertium.org.
Given the requirements being installed, you should be able to just run:
$ ./configure
$ make
You can use ./autogen.sh
instead of ./configure
if you're compiling
from source.
If you're doing development, you don't have to install the data, you can use it directly from this directory.
If you are installing this language package as a prerequisite for an Apertium translation pair, then do (typically as root / with sudo):
$ make install
You can use a --prefix
with ./configure
to install as a non-root user,
but make sure to use the same prefix when installing the translation
pair and any other language packages.
If you are in the source directory after running make, the following commands should work:
$ echo "teh ticochiz" | apertium -d . nhi-morph
^teh/tehuatl<prn><pers><p2><sg>$ ^ticochiz/<s_sg2>cochi<v><iv><fut>$^./.<sent>$
$ echo "teh ticochiz" | apertium -d . nhi-tagger
^tehuatl<prn><pers><p2><sg>$ ^cochi<v><iv><fut><s_sg2>$^.<sent>$
$ echo "Yeh in tlacatl" | apertium -d . nhi-phone
^Yeh/jeh$ ^in/in$ ^tlacatl/tɬakatɬ$
$ echo "teh ticochiz" | apertium -d . nhi-segmenter
^teh/teh$ ^ticochiz/ti>cochi>z$^./.$
$ echo "ce tlahcuilolli tleh campa niitztoc" | apertium -d . nhi-nhi_SEP
^ce/se$ ^tlahcuilolli/tlajkuiloli$ ^tleh/tlej$ ^campa/kampa$ ^niitztoc/niitstok$
apertium-nhi.nhi.lexc
- Morphotactic dictionaryapertium-nhi.nhi.phon
- Grapheme to phoneme convertorapertium-nhi.nhi.twol
- Morphophonological rulesapertium-nhi.nhi.spellrelax
- Spelling relaxation rulesapertium-nhi.nhi.rlx
- Constraint Grammar disambiguation rulesapertium-nhi.nhi.tagged
- Tagged corpusnhi.prob
- Tagger modelmodes.xml
- Translation modes
If you need help using this language pair or data, you can contact:
- Mailing list: [email protected]
- IRC:
#apertium
on irc.oftc.net (irc://irc.oftc.net/#apertium)
See also the file AUTHORS
, included in this distribution.