Skip to content

kellyi/distantreading

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published