Difference between revisions of "AOT"
Jump to navigation
Jump to search
Line 18: | Line 18: | ||
* "Source/AgramtabLib/RusGramTab.cpp" |
* "Source/AgramtabLib/RusGramTab.cpp" |
||
* "Source/AgramtabLib/EngGramTab.cpp" |
* "Source/AgramtabLib/EngGramTab.cpp" |
||
* "Source/AgramtabLib/agramtab_.cpp" |
|||
* "Source/common/PlmLine.cpp", and add: |
* "Source/common/PlmLine.cpp", and add: |
||
Revision as of 18:32, 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/AgramtabLib/agramtab_.cpp"
- "Source/common/PlmLine.cpp", and add:
#include <string.h>
at the top.
Then:
./compile_morph.sh ./generate_morph_bin.sh Russian