Difference between revisions of "AOT"
Jump to navigation
Jump to search
Line 12: | Line 12: | ||
Edit the file "compile_morph.sh" and replace "gmake" with "make" |
Edit the file "compile_morph.sh" and replace "gmake" with "make" |
||
Edit the files: |
|||
⚫ | |||
⚫ | |||
* "Source/common/PlmLine.cpp", and add: |
|||
<pre> |
<pre> |
||
#include <string.h> |
#include <string.h> |
||
</pre> |
</pre> |
||
at the top. |
|||
Then: |
Then: |
Revision as of 18:27, 2 August 2011
mkdir /tmp/RML cd /tmp/RML wget http://heanet.dl.sourceforge.net/project/rupostagger/rupostagger/0.1.02/rupostagger-0.1.02.tar.gz tar -xzvf rupostagger-0.1.02.tar.gz cp rupostagger-0.1.02/LemServer/aot.ru/* . tar -xzvf lemmatizer.tar.gz tar -xzvf rus-src-morph.tar.gz export RML=/tmp/RML
Edit the file "compile_morph.sh" and replace "gmake" with "make"
Edit the files:
- "Source/MorphWizardLib/FormInfo.h"
- "Source/common/PlmLine.cpp", and add:
#include <string.h>
at the top.
Then:
./compile_morph.sh ./generate_morph_bin.sh Russian