Commit 49a72175 authored by Gérard Huet's avatar Gérard Huet

Installation instructions with external Zen library

parent 292f5145
...@@ -26,11 +26,15 @@ the auxiliary package Ocamlbuild. ...@@ -26,11 +26,15 @@ the auxiliary package Ocamlbuild.
Beware: camlp4 is not updated at every Ocaml distribution, so you may have Beware: camlp4 is not updated at every Ocaml distribution, so you may have
to settle for not the most recent version of Ocaml. to settle for not the most recent version of Ocaml.
1) Install the Heritage_resources package: 1) Install the Zen computational linguistics library:
git clone https://gitlab.inria.fr/huet/Zen.git
2) Install the Heritage_resources package:
git clone https://gitlab.inria.fr/huet/Heritage_Resources.git git clone https://gitlab.inria.fr/huet/Heritage_Resources.git
2) Create your configuration file "config" in directory SETUP. 3) Create your configuration file "config" in directory SETUP.
Look at the SETUP/CONFIGS directory to find examples. All fields are Look at the SETUP/CONFIGS directory to find examples. All fields are
explained in SETUP/config_help.txt. explained in SETUP/config_help.txt.
......
...@@ -41,14 +41,18 @@ Unix operating system, such as FreeBSD, Linux or MacOSX. ...@@ -41,14 +41,18 @@ Unix operating system, such as FreeBSD, Linux or MacOSX.
They may also apply under to versions of Windows under the Cigwin emulator, They may also apply under to versions of Windows under the Cigwin emulator,
but this has not been tested. but this has not been tested.
The Sanskrit Heritage Platform, implemented as a set of Web services, The Sanskrit Heritage Platform, implemented as a set of Web services,
uses a separate package Heritage_resources that defines the Sanskrit uses a separate package Heritage_resources that defines the Sanskrit
linguistic data necessary for its operation. linguistic data necessary for its operation. It also uses the Zen
Both packages may be pulled as Git packages. In the installation directory, computational linguistics Ocaml library.
run successively: these packages may be pulled as Git packages.
Create a clean installation directory HERITAGE, where you run successively:
git clone git@gitlab.inria.fr:huet/Zen.git
git clone git@gitlab.inria.fr:huet/Heritage_Resources.git git clone git@gitlab.inria.fr:huet/Heritage_Resources.git
git clone git@gitlab.inria.fr:huet/Heritage_Platform.git git clone git@gitlab.inria.fr:huet/Heritage_Platform.git
This will create two sub_directories, namely Heritage_Resources This will create three sub_directories, namely Zen, Heritage_Resources
and Heritage_Platform. and Heritage_Platform.
B. Sanskrit Platform installation. B. Sanskrit Platform installation.
...@@ -69,6 +73,9 @@ this README file). Let "host" be your hostname or any label of your choosing. ...@@ -69,6 +73,9 @@ this README file). Let "host" be your hostname or any label of your choosing.
Go to subdirectory SETUP, and edit file config.txt Go to subdirectory SETUP, and edit file config.txt
for customization, as follows. for customization, as follows.
ZENDIR is the UNIX path to the subdirectory ML of the Zen library.
So it should be of the form '.../Zen/ML/'.
PLATFORM is a customization parameter of the HTTP server platform PLATFORM is a customization parameter of the HTTP server platform
and of the HTML client browser target. Currently it can take values: and of the HTML client browser target. Currently it can take values:
* 'Computer' or 'Server' for Internet server * 'Computer' or 'Server' for Internet server
...@@ -145,13 +152,13 @@ in CGIDIR under names declared as respectively ...@@ -145,13 +152,13 @@ in CGIDIR under names declared as respectively
CGIINDEX, CGIINDEXD, CGIDECL, CGICONJ, CGILEMMA, CGIREADER, CGIPARSER, CGITAGGER, CGIINDEX, CGIINDEXD, CGIDECL, CGICONJ, CGILEMMA, CGIREADER, CGIPARSER, CGITAGGER,
CGISANDHI, CGIGRAPH and CGIUSER. CGISANDHI, CGIGRAPH and CGIUSER.
2. Elaboration of the tools executables 2. Elaboration of the services
This is simply achieved by command: This is simply achieved by command:
make make
This compiles the Zen linguistic platform, included in the distribution. This compiles the Zen linguistic platform, together with the various
Then it compiles the various Web services of the platform. Web services of the platform.
3. Installation 3. Installation
......
# Format of the config configuration file of the Sanskrit Heritage Platform
# Absolute path of the ML directory of your Zen installation
ZENDIR='Zen_installation_dir/ML/'
# Type of platform for the server # Type of platform for the server
# should be 'Station', 'Computer' or 'Server' # should be 'Station', 'Computer' or 'Server'
# Station allows external analysis mode if UoH tools installed # Station allows external analysis mode if UoH tools installed
# Computer is standard client installation # Computer is standard client installation
# Server means opening the platform Web services as a Heritage mirror
PLATFORM='Computer' PLATFORM='Computer'
# Default transliteration : 'VH', 'WX', 'KH' or 'SL' # Default transliteration : 'VH', 'WX', 'KH' or 'SL'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment