Skip to main content

Tools, wrappers, etc... for data science with a concentration on text processing

Project description


Tools for data science with a focus on text processing.

* Focuses on "medium data", i.e. data too big to fit into memory but too small to necessitate the use of a cluster.
* Integrates with existing scientific Python stack as well as select outside tools.


* See the `examples/` directory.
* The [docs]( contain plots of example output.


### `cmd`
* Unix-like command line utilities. Filters (read from stdin/write to stdout) for files

### `parallel`
* Wrappers for Python multiprocessing that add ease of use
* Memory-friendly multiprocessing

### `text`
* Stream text from disk to formats used in common ML processes
* Write processed text to sparse formats
* Helpers for ML tools (e.g. Vowpal Wabbit, Gensim, etc...)
* Other general utilities

### `workflow`
* High-level wrappers that have helped with our workflow and provide additional examples of code use

### `modeling`
* General ML modeling utilities

Check out the master branch from the [rosettarepo][rosettarepo]. Then, (so long as you have `pip`).

cd rosetta
make test

Getting the source (above) is the preferred method since the code changes often, but if you don't use Git you can download a tagged release (tarball) [here]( Then

pip install rosetta-X.X.X.tar.gz


### Code

You can check the latest sources with

git clone git://

### Contributing

Feel free to contribute a bug report or a request by opening an [issue](

The preferred method to contribute is to fork and send a pull request. Before doing this, read ``


* Major dependencies on Pandas and numpy.
* Minor dependencies on Gensim.
* Some examples need scikit-learn.

From the base repo directory, `rosetta/`, you can run all tests with

make test


Documentation is hosted at [here]( This does NOT auto-update. To make new docs:

cd docs/
make html

*Rosetta* refers to the [Rosetta Stone](, the ancient Egyptian tablet discovered just over 200 years ago. The tablet contained fragmented text in three different languages and the uncovering of its meaning is considered an essential key to our understanding of Ancient Egyptian civilization. We would like this project to provide individuals the necessary tools to process and unearth insight in the ever-growing volumes of textual data of today.


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 rosetta, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size rosetta-0.1.2.tar.gz (86.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page