Skip to content

apertium/apertium-nhi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Western Sierra (Zacatlán-Ahuacatlán-Tepetzintla) Nahuatl: apertium-nhi

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

Requirements

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.

Compiling

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.

Testing

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$

Files and data

For more information

Help and support

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •