Giter Club home page Giter Club logo

baleen's Introduction

Baleen

An automated ingestion service for blogs to construct a corpus for NLP research.

Build Status Coverage Status Documentation Status Stories in Ready

Space Whale

Quick Start

This quick start is intended to get you setup with Baleen in development mode (since the project is still under development). If you'd like to run Baleen in production, please see the documentation.

  1. Clone the repository

$ git clone [email protected]:bbengfort/baleen.git $ cd baleen ```

  1. Create a virtualenv and install the dependencies

$ virtualenv venv $ source venv/bin/activate $ pip install -r requirements.txt ```

  1. Add the baleen module to your $PYTHONPATH via the virtualenv.

$ echo $(pwd) > venv/lib/python2.7/site-packages/baleen.pth ```

  1. Create your local configuration file. Edit it with the connection details to your local MongoDB server. This is also a good time to check and make sure that you can create a database called Baleen on Mongo.

$ cp conf/baleen-example.yaml conf/baleen.yaml ```

```yaml

debug: true testing: false database: host: localhost port: 27017 name: baleen ```

  1. Run the tests to make sure everything is ok.

$ make test ```

  1. Make sure that the command line utility is ready to go:

$ bin/baleen --help ```

  1. Import the feeds from the feedly.opml file in the fixtures.

$ bin/baleen import fixtures/feedly.opml Ingested 101 feeds from 1 OPML files ```

  1. Perform an ingestion of the feeds that were imported from the feedly.opml file.

$ bin/baleen ingest ```

Your Mongo database collections should be created as you add new documents to them, and at this point you're ready to develop!

About

Baleen is a tool for ingesting formal natural language data from the discourse of professional and amateur writers: e.g. bloggers and news outlets. Rather than performing web scraping, Baleen focuses on data ingestion through the use of RSS feeds. It performs as much raw data collection as it can, saving data into a Mongo document store.

Throughput

Throughput Graph

Attribution

The image used in this README, "Space Whale" by hbitik is licensed under CC BY-NC-ND 3.0

baleen's People

Contributors

bbengfort avatar waffle-iron avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.