Difference between revisions of "AOT"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
<pre> |
<pre> |
||
mkdir /tmp/RML |
mkdir /tmp/RML |
||
Line 30: | Line 31: | ||
./generate_morph_bin.sh Russian |
./generate_morph_bin.sh Russian |
||
</pre> |
</pre> |
||
[[Category:Russian]] |
Revision as of 18:30, 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/AgramtabLib/GerGramTab.cpp"
- "Source/common/PlmLine.cpp", and add:
#include <string.h>
at the top.
Then:
./compile_morph.sh ./generate_morph_bin.sh Russian