Skip to content

Latest commit

 

History

History
44 lines (28 loc) · 951 Bytes

README.md

File metadata and controls

44 lines (28 loc) · 951 Bytes

distantreading

Build Status

Trying out Haskell by writing some digital humanities text analysis tools.

Requirements

Setup

Clone the repo, then run:

stack build
stack install

This will create distantreading and distantreading-server executables.

Usage

Command line tool

Usage: distantreading --target TARGET [-s|--sentence]
  Generate statistics about a text file

Available options:
  --target TARGET          Target file
  -s,--sentence            Get sentence stats instead of word stats
  -h,--help                Show this help text

Server

To start the app as a REST service, run:

distantreading-server

This will start the service on port 4444.