Sign inSign up

wapmorgan/morphos

By wapmorgan

•Updated over 1 year ago

A morphological solution for Russian and English as docker image to integrate in non-PHP stack.

Image
0

1.3K

wapmorgan/morphos repository overview

Morphos⁠ - A morphological solution for Russian and English language written completely in PHP and delivered as a PHP library or docker image to integrate in non-PHP stack.

The server starts in a container and listens 8080 port for GET-requests.

Integrate service into your stack (for example, docker compose)

services:
  morphos:
    image: wapmorgan/morphos:3.2.30
    ports:
      - 8093:8080

or standalone container:

docker run --env NUM_WORKERS=4 --rm --publish 8093:8080 -v wapmorgan/morphos:3.2.29

Tip: adjust NUM_WORKERS env variable if you will send a lot of load to service. By default, it's 4.

There are API: marks in documentation for functions, that exposed as service endpoints. Just pass them the same arguments as to PHP-functions/methods.

Follow the documentation to get more...⁠.

Tag summary

Content type

Image

Digest

sha256:fea0bf791…

Size

53 MB

Last updated

about 3 years ago

docker pull wapmorgan/morphos