Alvis Semantic Tagger - AlvisSemTag
-----------------------------------

A semantic annotation module for the Alvis NLP-line


INSTALL
-------

  - download the latest version package

  - expand the archive
        tar xfj trish2-VRSION.tar.bz2

  - check that requisites are present
        make check

  - build the library and the executables
        make

  - copy the includes, libraries and executables into standard directories
        make install


The building and installation process will look for the PREFIX environment to know where to install the files. If PREFIX is empty, it will install in /usr/local.


USAGE
-----

AlvisSemTag [-x SUFFIX] [-c CANONDICT] [-p PARENTDICT] ONTOFILE ALVISFILE [ALVISFILES...]

ONTOFILE is an ontology in XML-RDF format.
ALVISFILE is a file in Alvis enriched-document format.
SUFFIX is the output filename suffix replacement. By default ".ast": if the input is named "document.xml", the output will be named "document.ast".
CANONDICT is a trish2 compiled dictionary that provides canonical forms for semantic units.
PARENTDICT is a trish2 compiled multi-valued dictionary that provides the parent nodes semantic units, use this for speed-up.

Example files are given in the share dictionary, to test AlvisSemTag type:
  trish2 -D canonical_head_variants.dict.trish2 -n -a "\t" canonical_head_variants.dict
  trish2 -m -D Subtilis_Molecular_Biology-v2.parent.trish2 -n -a "\t" Subtilis_Molecular_Biology-v2.parent
  AlvisSemTag -c canonical_head_variants.dict.trish2 -p Subtilis_Molecular_Biology-v2.parent.trish2 Subtilis_Molecular_Biology-v2.rdf transcript_9988470.abs.nlp.alvis

The annotated document is saved in transcript_9988470.abs.nlp.ast.


AUTHOR
------

Robert Bossy <Robert_DOT_Bossy_AT_jouy_DOT_inra_DOT_fr>
