Hindi and Punjabi

From Apertium
Jump to navigation Jump to search


Compiling

$ svn co https://svn.code.sf.net/p/apertium/svn/languages/apertium-hin
$ svn co https://svn.code.sf.net/p/apertium/svn/incubator/apertium-pan
$ svn co https://svn.code.sf.net/p/apertium/svn/incubator/apertium-hin-pan

cd apertium-hin
./autogen.sh
./configure
make
cd ..

cd apertium-pan
./autogen.sh
./configure
make
cd ..

cd apertium-hin-pan
./autogen.sh
./configure --with-lang1=../apertium-hin --with-lang2=../apertium-pan
make



Important files

  • apertium-hin/apertium-hin.hin.dix: Hindi morphological dictionary
  • apertium-pan/apertium-pan.pan.dix: Punjabi morphological dictionary
  • apertium-hin-pan/apertium-hin-pan.hin-pan.dix: Hindi--Punjabi bilingual dictionary

Testing

$ echo "आगे" | apertium -d . hin-pan
ਅੱਗੇ