Difference between revisions of "Mwreorder"
(Link to French page) |
|||
(5 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
[[Mwreorder : outils de réorganisation des suites de mots|En français]] |
|||
''placeholder page for documentation of mwreorder program'' |
|||
{{TOCD}} |
|||
''describe what it is for'' |
|||
==Installation== |
==Installation== |
||
Line 58: | Line 58: | ||
''how to use the program in a translation pipeline'' |
''how to use the program in a translation pipeline'' |
||
==See also== |
|||
* [[User:Skh/Application_GSoC_2010#Project:_Improving_multiword_support_in_Apertium|Multiword project proposal]] |
|||
⚫ | |||
⚫ | |||
[[Category:Multiwords]] |
Latest revision as of 09:27, 6 October 2014
Installation[edit]
- Downloading
In order to download the application, open terminal and type the following command:
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 to your present working directory (for ex. "~/multiword-reorder")
- Compiling
First, navigate to the folder to which multiword-reorder has just been downloaded:
cd </path to folder>
Before you build the program you will have to configure it first. Use:
sh autogen.sh
In order to run this successfully, couple of libraries needs to be installed in the system. This includes liblttoolbox3-dev, pkg-config libxml2-dev, g++ and automake. Make sure you have these libraries installed - else the process might not complete. You can install these libraries by typing
sudo apt-get install [name of the library]
After this runs without errors we can move into building the binary, 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 "sh autogen.sh" successfully (or generate the Makefile some other way).
Now it's time to install the program. When doing this you must be root. Do it by executing following command:
sudo make install
When this finishes, you will have the software installed and ready to run!
Multidix reordering file[edit]
how to write a multidix reordering file
Usage[edit]
First you need to download and install the pipeline. How to do that see here: http://wiki.apertium.org/wiki/Minimal_installation_from_SVN
If you have any problems with installing it you should see: http://wiki.apertium.org/wiki/Installation_Troubleshooting
how to use the program in a translation pipeline