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