Skip to content

jiggzson/pyPOStagger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

serpentPOS

serpentPOS is a python port of jspos and is not my work. I needed it so I figured I'd share the code.

Usage:

    from serpentPOS import lexer, postagger
    string = 'This is some text to be tagged by the tagger'
  
    words = lexer.Lexer().lex(string)
    print postagger.POSTagger().tag(words)
    #output: [('This', u'DT'), ('is', u'VBZ'), ('some', u'DT'), ('text', u'NN'), ('to', u'TO'), ('be', u'VB'), ('tagged', u'VBN'),
    ('by', u'IN'), ('the', u'DT'), ('tagger', u'NN')]

About

a parts-of-speech (POS) tagger for python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages