folgerhs alternatives and similar packages
Based on the "Text" category.
Alternatively, view folgerhs alternatives based on common mentions on social networks and blogs.
-
pandoc-citeproc
Library and executable for using citeproc with pandoc -
scholdoc
Fork of Pandoc for the implementation of a ScholarlyMarkdown parser -
prettyprinter
A modern, extensible and well-documented prettyprinter. -
skylighting
A Haskell syntax highlighting library with tokenizers derived from KDE syntax highlighting descriptions -
blaze-from-html
A blazingly fast HTML combinator library for Haskell. -
commonmark
Pure Haskell commonmark parsing library, designed to be flexible and extensible -
regex-genex
Given a list of regexes, generate all possible strings that matches all of them. -
regex-applicative
Regex-based parsing with an applicative interface -
pandoc-csv2table
A Pandoc filter that renders CSV as Pandoc Markdown Tables. -
servant-checked-exceptions
type-level errors for Servant APIs. -
double-conversion
A fast Haskell library for converting between double precision floating point numbers and text strings. It is implemented as a binding to the V8-derived C++ double-conversion library. -
pretty-show
Tools for working with derived Show instances in Haskell. -
text-format
A Haskell text formatting library optimized for ease of use and high performance. -
diagrams-pandoc
A pandoc filter to express diagrams inline using the haskell EDSL diagrams.
Learn any GitHub repo in 59 seconds
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of folgerhs or a related project?
README
This library parses the TEI-encoded Shakespeare plays published by the Folger Shakespeare Library. It also demonstrates different use cases for stage data by providing some example applications.
You can download individual plays here and the complete set here.
The toolset can be installed using cabal or stack:
cabal install folgerhs
stack install folgerhs
Once installed, it can be used as a library (documentation needs yet to be written) or as an application.
Stage animation
The current speaker is surrounded by a white border, arrows going up represent
characters leaving the stage, arrows going down represent characters entering
it. The animation can be stopped using the space
bar, you can advance it by
using the right
arrow and rewind it using the left
one.
$ folgerhs animate TN.xml
[Part of Twelfth Night](./video.gif)
Per-line character presence
With characters as columns and lines as rows, a line-by-line breakdown of speakers and characters on stage.
$ folgerhs presence R2.xml --without-unnamed | head -n 2
Act.Scene.Line,RichardII,Gaunt,HenryIV,Mowbray,DuchessOfGloucester,LordMarshal,Aumerle,Green,Bagot,Bushy,York,Queen,Ross,Willoughby,Northumberland,Hotspur,Berkeley,Salisbury,WelshCaptain,BishopOfCarlisle,Scroop,Gardener,Fitzwater,Surrey,AbbotOfWestminster,DuchessOfYork,Exton,Groom,Jailer
1.1.1,Speaker,Present,Absent,Absent,Absent,Absent,Absent,Absent,Absent,Absent,Absent,Absent,Absent,Absent,Absent,Absent,Absent,Absent,Absent,Absent,Absent,Absent,Absent,Absent,Absent,Absent,Absent,Absent,Absent
Per-character speech ratio
$ folgerhs speakers Rom.xml | head -n 5
19.38% Romeo
14.03% Juliet
10.70% Nurse
7.49% Benvolio
7.37% Mercutio