classifyLongText(): do not assume that hits is nonempty
Merge pull request #13 from bassosimone/fix/classifyLongText

classifyLongText(): do not assume that hits is nonempty