OpenMaTrEx is a free/open-source example-based machine translation (EBMT) system based on the marker hypothesis. The latest version is 0.97.1 and is available at http://openmatrex.org/
Part I: INSTALL OpenMaTrEx
1. Download and unzip OpenMaTrEx-0.97.1
2. As described in INSTALL file, install required software, including Giza++, IRSTLM, Moses, Moses scripts, Additional (preprocessing) scripts, args4j (available from http://download.java.net/maven/1/args4j/jars/, download the jar file and put it in OpenMaTrEx-0.97.1/lib directory)
3. Install OpenMaTrEx itself
ant dist
Note: No need to set the path of BASE_DIR, OPENMATREX_DIR, MOSES_SCRIPTS_DIR, etc.
Part II: USE OpenMaTrEx
2011年5月10日星期二
2011年5月6日星期五
Install g++-3.3 on Ubuntu 10.04
Ubuntu 10.04 seems not to support g++-3.3 anymore. Trying to install g++-3.3 via command apt-get install g++-3.3 gets errors of "Couldn't find package g++-3.3".
An alternative way is to install them manually, following these steps:
Download gcc/g++-3.3 install files form Ubuntu archive server http://archive.ubuntu.com/ubuntu/pool/main/g/gcc-3.3/
cpp-3.3_3.3.6-10_i386.deb
gcc-3.3_3.3.6-10_i386.deb
g++-3.3_3.3.6-10_i386.deb
gcc-3.3-base_3.3.6-10_i386.deb
libstdc++5_3.3.6-10_i386.deb
libstdc++5-3.3-dev_3.3.6-10_i386.deb
Then use the dpkg commands to install these deb files one by one:
An alternative way is to install them manually, following these steps:
Download gcc/g++-3.3 install files form Ubuntu archive server http://archive.ubuntu.com/ubuntu/pool/main/g/gcc-3.3/
cpp-3.3_3.3.6-10_i386.deb
gcc-3.3_3.3.6-10_i386.deb
g++-3.3_3.3.6-10_i386.deb
gcc-3.3-base_3.3.6-10_i386.deb
libstdc++5_3.3.6-10_i386.deb
libstdc++5-3.3-dev_3.3.6-10_i386.deb
Then use the dpkg commands to install these deb files one by one:
sudo dpkg -i --force-depends gcc-3.3-base_3.3.6-10_i386.debSee http://www.blitzbasic.com/Community/posts.php?topic=81247 for more..
sudo dpkg -i --force-depends cpp-3.3_3.3.6-10_i386.deb
sudo dpkg -i --force-depends gcc-3.3-base_3.3.6-10_i386.deb
sudo dpkg -i --force-depends g++-3.3_3.3.6-10_i386.deb
sudo dpkg -i --force-depends libstdc++5_3.3.6-10_i386.deb
sudo dpkg -i --force-depends libstdc++5-3.3-dev_3.3.6-10_i386.deb
订阅:
博文 (Atom)