Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

Python wrapper for the CETEMPublico corpus

Project description

cetem-publico is a Python wrapper for the CETEMPublico corpus. It takes care of downloading, storing and importing the corpus into NLTK.

THIS IS STILL A WORK IN PROGRESS, API MIGHT BREAK WITHOUT WARNING.

Installing

Install and update using pip:

pip install [--user] cetem-publico

A Simple Example

import CETEMPublico

cp = CETEMPublico.load() # loads a small 10KB sample
# or
cp = CETEMPublico.load(full=True) # loads the full 12GB

print(cp.tagged_sents())

Acknowledgements

This module only exists thanks to the Publico newspaper and the team responsible for the CETEMPublico corpus.

Bugs and stuff

Open a GitHub issue or, preferably, send me a pull request.

License

MIT

Project details


Download files

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

Files for cetem-publico, version 0.0.16
Filename, size File type Python version Upload date Hashes
Filename, size cetem_publico-0.0.16-py3-none-any.whl (4.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size cetem-publico-0.0.16.tar.gz (4.0 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page