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.
Beware: camlp4 is not updated at every Ocaml distribution, so you may have
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
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
explained in SETUP/config_help.txt.
......
......@@ -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,
but this has not been tested.
The Sanskrit Heritage Platform, implemented as a set of Web services,
uses a separate package Heritage_resources that defines the Sanskrit
linguistic data necessary for its operation.
Both packages may be pulled as Git packages. In the installation directory,
run successively:
linguistic data necessary for its operation. It also uses the Zen
computational linguistics Ocaml library.
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_Platform.git
This will create two sub_directories, namely Heritage_Resources
This will create three sub_directories, namely Zen, Heritage_Resources
and Heritage_Platform.
B. Sanskrit Platform installation.
......@@ -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
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
and of the HTML client browser target. Currently it can take values:
* 'Computer' or 'Server' for Internet server
......@@ -145,13 +152,13 @@ in CGIDIR under names declared as respectively
CGIINDEX, CGIINDEXD, CGIDECL, CGICONJ, CGILEMMA, CGIREADER, CGIPARSER, CGITAGGER,
CGISANDHI, CGIGRAPH and CGIUSER.
2. Elaboration of the tools executables
2. Elaboration of the services
This is simply achieved by command:
make
This compiles the Zen linguistic platform, included in the distribution.
Then it compiles the various Web services of the platform.
This compiles the Zen linguistic platform, together with the various
Web services of the platform.
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
# should be 'Station', 'Computer' or 'Server'
# Station allows external analysis mode if UoH tools installed
# Computer is standard client installation
# Server means opening the platform Web services as a Heritage mirror
PLATFORM='Computer'
# 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