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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
cetem-publico-0.0.16.tar.gz
(4.0 kB
view hashes)
Built Distribution
Close
Hashes for cetem_publico-0.0.16-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11b151fedc2cf416920b657c9cb6016afbee03fb1aa0c9b7a0c695a1fcbad2d4 |
|
MD5 | ff0fa27e153e979e7ee20e71eff5ef42 |
|
BLAKE2b-256 | 54ff9fd84e02d4219b9d7142599f85a99366936f143baed51636944a295c86fb |