Trying out Haskell by writing some digital humanities text analysis tools.
Clone the repo, then run:
stack build
stack install
This will create distantreading
and distantreading-server
executables.
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
To start the app as a REST service, run:
distantreading-server
This will start the service on port 4444.