The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

alvis-nlp-server - Perl script for the server of the Alvis NLP Platform.

SYNOPSIS

alvis-nlp-server [options]

OPTIONS

--help brief help message
--man full documentation
--rcfile=file read the given configuration file

DESCRIPTION

This script is the server part of the ALVIS NLP Platform in distributed mode. The document is sent to the requesting client and then back to the server after the annotation process. One document is processed at a time. According the configuration, document can be stored in a local directory or sent to the next step of the Alvis pipeline.

During the annotation, the documents are saved in the ALVISTMP directory, and their id in ALVISTMP/.proc_id file.

METHODS

PROTOCOL

  • Requesting a document:

    1. from the client, to the server:
    REQUEST
    2. from the server, to the client:
    SENDING id (id is the document id)
    SIZE size (size is the document size)
    document (document is the XML document)
    <DONE>
    3. from the client, to the server:
    ACK
  • Returning a document:

    1. from the client, to the server:
    GIVEBACK
    id (id is the document id)
    document (document is the annotated document)
    <DONE>
    2. from the server, to the client:
    ACK
  • Aborting the annotation process:

    1. from the client, to the server:
    ABORTING
    id (id is the document id)
  • Exiting:

    the server understands the following messages QUIT, LOGOUT and EXIT. However, this is not been implemented in the client yet.

SEE ALSO

Alvis web site: http://www.alvis.info

AUTHORS

Thierry Hamon <thierry.hamon@lipn.univ-paris13.fr> and Julien Deriviere <julien.deriviere@lipn.univ-paris13.fr>

LICENSE

Copyright (C) 2005 by Thierry Hamon and Julien Deriviere

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available.