Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Build Status

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

Metadata

Release files for bedrock 0.1.0.dev10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for bedrock 0.1.0.dev10
File Interpreter ABI Platform
bedrock-0.1.0.dev10-py2.py3-none-any.whl Python 2, Python 3 none any Details

Release files / bedrock-0.1.0.dev10-py2.py3-none-any.whl

Download URL bedrock-0.1.0.dev10-py2.py3-none-any.whl
Size 14.0 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
0414d9f84cd587de025b3c699dd606249b9215d092e9121f52c7985daaa40526
BLAKE2b-256 checksum
How to use checksums
d6f33d5055bcd0ac47a47fad29ca99d00090af1ca0b3eae500ea959d92440b02
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.0.dev10 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page