Difference between revisions of "Mwreorder"
Line 19: | Line 19: | ||
;Compiling |
;Compiling |
||
For this first you will need to go to the folder you have downloaded. |
|||
Use: |
|||
<pre> |
|||
cd </path to folder> |
|||
</pre> |
|||
Now before you build the program you will have to configure it first. |
|||
Use: |
|||
<pre> |
|||
sh autogen.sh |
|||
</pre> |
|||
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. |
|||
Building goes on with the following command: |
|||
<pre>make</pre> |
|||
Now we finally got to building the binary, the executable program, from the source code. This is done by running the make command: |
|||
<pre>make</pre> |
|||
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). |
|||
==Multidix reordering file== |
==Multidix reordering file== |
Revision as of 13:45, 11 December 2010
placeholder page for documentation of mwreorder program
describe what it is for
Installation
- Downloading
If you want to download the application:
- open your terminal
- 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. Building goes on with the following command:
make
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).
Multidix reordering file
how to write a multidix reordering file
Usage
how to use the program in a translation pipeline