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