Skip to main content

an English POS tagging tool based on the free CLAWS web tagger API by Lancaster University

Project description

This package allows you to automatically collect POS tagging results from http://ucrel-api.lancaster.ac.uk/claws/free.html and save them as txt files in your local folder.

Make sure to place your python file in a folder that contains (only) the txt files you wanna tag.

Example:

from CLAWSTag import Tagger

Tagger.Postag('c5', 'horiz').start()

There're 5 possible combos for Postag() to receive settings of tagsets ('c5' or 'c7') and output styles ('horiz(ontal)' or 'vert(ical)' or '(pseudo)xml'). The others are:

Tagger.Postag('c5', 'xml').start()

Tagger.Postag('c7', 'horiz').start()

Tagger.Postag('c7', 'vert').start()

Tagger.Postag('c7', 'xml').start()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

CLAWSTag-0.0.2.1.tar.gz (2.6 kB view hashes)

Uploaded Source

Built Distribution

CLAWSTag-0.0.2.1-py3-none-any.whl (3.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page