Public Repository

Last pushed: 5 months ago
Short Description
SyntaxNet parser with models for Russian language + standalone server for python wrapper
Full Description

SyntaxNet parser with models for Russian language (postagging, parsing). This container uses Russian-SynTagRus models.

  1. Demo usage:
    echo "мама мыла раму" | docker run --rm -i inemo/syntaxnet_rus

  2. Standalone SyntaxNet server that does not recreate models (stays alive):
    docker run --shm-size=1024m -ti --rm -p 8111:9999 inemo/syntaxnet_rus server 0.0.0.0 9999

    the old version:
    docker run --shm-size=1024m -i --rm -p 8111:9999 inemo/syntaxnet_rus python /root/models/syntaxnet/bazel-bin/syntaxnet/parser_eval.runfiles/__main__/syntaxnet/api/syntaxnet_rus_api.py --host=0.0.0.0 --port=9999

    2.1. You also can use the server in conjunction with SyntaxNet python wrapper. https://github.com/IINemo/syntaxnet_wrapper

    2.2. You can use telnet to talk with parser (be aware about escape problems of unicode in telnet, e.g., 'маму' will not work by default via telnet):

    telnet localhost 8111
    мама мыла \n\n

  3. Github repo:
    https://github.com/IINemo/docker-syntaxnet_rus

Docker Pull Command
Owner
inemo

Comments (0)