nlparrot

natural language processing server
Log | Files | Refs | README | LICENSE

README.md (631B)


      1 NLParrot
      2 ========
      3 
      4 NLParrot is a natural language processing server. It can be used in combination
      5 with other programs that cannot or do not want to load huge ML libraries into
      6 their memory.
      7 
      8 ## Run with virtualenv
      9 
     10 ```bash
     11 python -m venv venv
     12 source venv/bin/activate
     13 pip install -r requirements.txt
     14 NLPARROT_SOCKET_PATH=/run/nlparrot/nlparrot.sock python src/nlparrot/server.py
     15 ```
     16 
     17 ## Run with docker
     18 
     19 You can build a docker image and run NLParrot with docker:
     20 
     21 ```bash
     22 docker build -t nlparrot .
     23 docker run --rm --name nlparrot \
     24     --env NLPARROT_LISTEN_HOST=0.0.0.0 \
     25     --env NLPARROT_LISTEN_PORT=12345 \
     26     nlparrot
     27 ```