Sign inSign up

chilland/pymitie

By chilland

•Updated almost 10 years ago

A python2 base image with MITIE built in.

Image
0

676

chilland/pymitie repository overview

⁠pymitie-docker

A python2 base image with MITIE⁠ built in. Uses this⁠ setup code for the MITIE python wrapper.

⁠Usage

Download the models you wish to use and mount them as a volume. Then use mitie as you would normally in python. the library itself is installed in /usr/src/MITIE/mitielib.

wget https://github.com/mit-nlp/MITIE/releases/download/v0.4/MITIE-models-v0.2.tar.bz2
tar --no-same-owner -xjf MITIE-models-v0.2.tar.bz2 
docker run -ti -v /LOCAL/PATH/TO/MODELS/MITIE-models:/usr/src/MITIE-models --rm chilland/pymitie:v0.0.1 python2
from mitie import *

ner = named_entity_extractor('/usr/src/MITIE/MITIE-models/english/ner_model.dat')

Tag summary

Content type

Image

Digest

Size

321.2 MB

Last updated

almost 10 years ago

docker pull chilland/pymitie