Skip to content

degibons/nltk-pos-tagger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NLTK POS Tagger service

Shipped with treebank_NaiveBayes_aubt trained tagger (accuracy: 0.98178).

Penn Treebank POS tags

Docker usage

docker build -t nltk-pos-tagger .

docker run -d -p 8888:80 nltk-pos-tagger

Send POST request to localhost:8888 with english text to tag (param text):

'text': 'The Volga is the longest river in Europe.'

Recieve JSON response with tagged text (param tagged_text):

{ "tagged_text": [ [ "The", "DT" ], [ "Volga", "NNP" ], [ "is", "BEZ" ], [ "the", "DT" ], [ "longest", "JJS" ], [ "river", "NN" ], [ "in", "IN" ], [ "Europe", "NNP" ], [ ".", "." ] ] }

About

NLTK POS Tagger service

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published