PDF Search: understanding genre and medieval romance