Mwreorder

From Apertium
Revision as of 15:17, 12 December 2010 by TodorStoyanov (talk | contribs) (→‎Usage)
Jump to navigation Jump to search

placeholder page for documentation of mwreorder program

describe what it is for

Installation

Downloading

If you want to download the application:

  1. open your terminal
  2. there you must write
svn co https://apertium.svn.sourceforge.net/svnroot/apertium/branches/gsoc2010/skh/multiword-reorder 

Then wait a few moments and the application should be downloaded in your present working directory (for ex. "Home Folder")

Compiling

For this first you will need to go to the folder you have downloaded. Use:

cd </path to folder>

Now before you build the program you will have to configure it first. Use:

sh autogen.sh

When you run the command, you'll see lots of messages scrolling on your screen. This is normal and you shouldn't worry about it. If configure finds an error, it complains about it and exits.However, if everything works like it should a Makefile.am will be generated.

Now we finally got to building the binary, the executable program, from the source code. This is done by running the make command:

make

Remember that "make" uses the Makefile.am for building the program. Otherwise it doesn't know what to do. This is why it's important to run the configure script successfully (or generate the Makefile some other way).

Now it's time to install the program. When doing this you must be root. If you've done things as a normal user, you can become root with the

su

command. It'll want your root password and then you're ready for the final step! When you're root, you can install the program with this command:

make install

Again, you'll get some weird messages scrolling on the screen. After they stop, congrats: you've installed the software and you're ready to run it!

Multidix reordering file

how to write a multidix reordering file

Usage

First you need to download and install the pipeline. How to do that see <a href="http://wiki.apertium.org/wiki/Minimal_installation_from_SVN" title="Minimal installation from SVN">here</a>


how to use the program in a translation pipeline