RiTa: A toolkit for natural language and computational literature

The RiTa website

literature. It is implemented in Java and JavaScript (with a unified API for both) and optionally integrates with Processing(JS), Android, and Node, and is available via Npm and Bower. It is free/libre and open-source according to the GPL license (http://www.gnu.org/licenses/gpl.txt).

  • Original Author: Daniel C. Howe (http://rednoise.org/~dhowe)
  • License: GPL (see included LICENSE file for full license)
  • Maintainers: See included AUTHORS file for contributor list
  • Web Site: http://rednoise.org/rita
  • Github Repo: https://github.com/dhowe/RiTaJS
  • Bug Tracker: https://github.com/dhowe/RiTa/issues

In NodeJS

To install: $ npm install rita

var rita = require('rita');
var rs = rita.RiString("The elephant took a bite!");

To run tests:

$ cd node_modules/rita/ && npm install && cd - 
$ npm test rita

Or, see the 'Development Setup' instructions below...

Please! We are looking for more coders to help out... Just press Fork at the top of this github page and get started, or follow the instructions below...

  1. Download and install npm The easiest way to do this is to just install node.
  2. Fork and clone this library.

a. First, login to github and fork the project

b. Then, from a terminal/shell:

$ git clone https://github.com/dhowe/RiTaJS.git
  1. Now navigate into the project folder and install dependencies via npm.
$ cd RiTaJS; npm install
  1. To create the library from src, use gulp.
$ gulp build
  1. Run non-graphical tests in node with gulp.
$ gulp test.node
  1. Run all tests (in phantomJS) with gulp.
$ gulp test
  1. Work on an existing issue, then submit a pull request...