Analyzing Hebrew scrolls in Python