Skip to content

chilland/pymitie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

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')

About

A docker image for mitie-py

Resources

Stars

Watchers

Forks

Packages

No packages published