Bedrock is a high-level text pre-processing API, written in Python and can run on NLTK or Spacy as its backends.
Project description
You have discovered bedrock
Bedrock is a high-level text pre-processing API, written in Python and can run on NLTK or Spacy as its backends. It allows you to quickly perform the text processing groundwork without having. It does the menial work, so you don’t have to.
Use this library if you find the following highlights useful: * Fast prototyping * Switching between different backends * Work in batches, rather than writing loops * Support for DataFrame inputs/outputs
Install bedrock in a jiffy:
pip install bedrock
bedrock download all
From zero to bedrock hero in 10 seconds
Now you can run
import bedrock
bedrock.process.pipeline('Hallo Welt')
Congrats! :tada:
Engines and Languages
Currently bedrock supports the following engines: * spacy * nltk
And the following languages and corresponding download arguments: * English (‘en’ or ‘english’) * German (‘de’, ‘german’ or ‘deutsch’)
Installation and usage
Package installation
pip install bedrock
Install support for all languages:
bedrock download all
Install support only for English:
bedrock download en
Install support for German:
bedrock download de
Import modules from package in your code:
from bedrock import process # Processing texts
from bedrock import collection # Loading data collections
from bedrock import common # Some common functions
from bedrock import feature # Feature extraction
from bedrock import viz # Visualizations
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 Distributions
Built Distribution
File details
Details for the file bedrock-0.1.0.dev10-py2.py3-none-any.whl
.
File metadata
- Download URL: bedrock-0.1.0.dev10-py2.py3-none-any.whl
- Upload date:
- Size: 14.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0414d9f84cd587de025b3c699dd606249b9215d092e9121f52c7985daaa40526 |
|
MD5 | 9523768e85832e3af19c13bf8dda2f27 |
|
BLAKE2b-256 | d6f33d5055bcd0ac47a47fad29ca99d00090af1ca0b3eae500ea959d92440b02 |