The Hebrew Reading Ease is a scale based on word frequency. The script iterates through the Hebrew Bible and generates a frequency index of each word that occurs. Then, the script works back through the text and generates a difficulty average for each passage. The concept is that the more frequently words occur, the easier it will be to recognize and read them. Thus, a passage with a high score should be easier to read and a passage with a low score should be more difficult. To learn more see the Hebrew Reading Ease Abstract.
Currently, the script will rate all of the OT books, a chapter or a specific verse. You must pass the passage that you would like rated to the script in the form of Gen.1.1. You may also specify Gen, or Gen.1, or ot to rate all books. The script relies on the xml files of the Open Scriptures MorphHB project found here: http://github.com/openscriptures/morphhb.
Please note that the script does not take into account that some portions of the Hebrew Bible are actually Aramaic. Further, note that the Hebrew Reading Ease scale is currently being evaluated for its accuracy in describing the difficulty with which one may read a passage of biblical Hebrew.
The repository may be found at http://github.com/jag3773/HebrewReadingEase
The hre.txt file contains a verse, chapter, book listing of all of the frequencies values that the script outputs.