Text analysis via Annotated suffix trees on Ruby