-
Notifications
You must be signed in to change notification settings - Fork 13
/
readme
executable file
·76 lines (55 loc) · 2.83 KB
/
readme
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
====================== Introduction ==================== sw
This is a RML package (RML is Russian acronym, stands for Linguistic Environment).
This program is distributed under the Library GNU Public Licence, which is in the file
COPYING.
This program was written by Alexey Sokirko, Igor Nozhov, Lev Gershenzon, Andrey Putrin
and many other people.
The project started in Moscow in Dialing
Company (Russian and English language). The German part was created
at Berlin-Brandenburg Academy of Sciences and Humanities in Berlin (the project DWDS).
Russian website (Russian documents) is www.aot.ru.
More detail about Morphology dicts is here: Docs/Morph_UNIX.txt
============== Prerequisites ========================
0. Install cmake (at least 3.24),
0.1 Install zlib1g zlib1g-dev
sudo apt-get install zlib1g zlib1g-dev
1. g++ 9.0 or higher or Microsoft Visual Studio 2019
2. You need flex and bison to build projects after Morphology (Synan and Seman)
sudo apt install flex bison
2.2 For Windows install cygwin (wget, gzip) and add cygwin bin to PATH
2.3 For windows I used flex and bison from https://sourceforge.net/projects/winflexbison/?source=typ_redirect
mkdir RML/external
mkdir RML/external/winflex
cd RML/external/winflex
wget https://sourceforge.net/projects/winflexbison/files/win_flex_bison-2.5.24.zip/download
unzip win_flex_bison-2.5.24.zip
or build it from sources https://github.com/lexxmark/winflexbison
3. To compile HTTP-daemons please install libevent
https://github.com/libevent/libevent:
6.1. download source archive from https://libevent.org/ , for example
6.2 wget https://github.com/libevent/libevent/releases/download/release-2.1.12-stable/c
6.3 tar xfz libevent-2.1.12-stable.tar.gz
6.4 mv libevent-2.1.12-stable/libevent-2.1.12-stable $RML/Source/contrib/libevent
6.5 cd $RML/Source/contrib/libevent
6.6 ./configure --disable-openssl
6.7 make & sudo make install
or
sudo apt install libevent-dev
4. To compile COM-objects you need to run Visual Studio as administrator.
5. To run Windows GUI Rossdev.exe and MorphWizard you must set Russian everywhere in Region Setting.
6. git clone git@github.com/aot.git --recursive RML
7. nder Windows follow https://learn.microsoft.com/en-us/cpp/build/cmake-projects-in-visual-studio?view=msvc-170
================= Compilation under Linux =======================
export RML=/home/sokirko/RML
export CXX=/usr/bin/g++
export CC=/usr/bin/gcc
cd $RML
mkdir build
cd build
cmake ..
// or with debug
// cmake .. -DCMAKE_BUILD_TYPE=Debug
// or to compile MorphWizard or Rossdev
// cmake .. -A Win32
make
make DESTDIR=$RML install