Since my girl friend is a teacher I was confronted with an interesting task.
Determine the readability a website.
There a few indices out there (Fog, Flesch, Kincaid, and Frye) that use things like: syllables in a word, words in a sentence, and such.
Fortunately there is a module that does this already:
Lingua::EN::Fathom which builds on Lingua::EN::Syllable. So I just need to add in Frye's readability index to the module (must give the author that patch when I get it working), construct the sub that fetches the page, the sub that tries to rip out some representative text, and then run it through the black box. I probably should make it a Tk (or other GUI app for that matter) so that it's easy for students and teachers to use.
Of course, I need to finish writing that db search routine for work before I do that...
Interesting Task 1 Comment More | Login | Reply /