TechWhirl (TECHWR-L) is a resource for technical writing and technical communications professionals of all experience levels and in all industries to share their experiences and acquire information.
For two decades, technical communicators have turned to TechWhirl to ask and answer questions about the always-changing world of technical communications, such as tools, skills, career paths, methodologies, and emerging industries. The TechWhirl Archives and magazine, created for, by and about technical writers, offer a wealth of knowledge to everyone with an interest in any aspect of technical communications.
Re: Any Perl or FrameScript jocks want a challenge? was: Re: Grade-level writing - tool suggestions?
Subject:Re: Any Perl or FrameScript jocks want a challenge? was: Re: Grade-level writing - tool suggestions? From:martin -dot- smith -at- golehtek -dot- com To:David Neeley <dbneeley -at- oddpost -dot- com> Date:Thu, 19 Feb 2004 15:13:32 +0000
Hi,
I checked out the link that David provided for the Flesch-Kincaid algorithm. A
Flesch-Kincaid scoring plug-in would be easy to write in FrameScript, however
one would need a reliable algorithm or dictionary lookup for determining the
number of syllables per word. Is anyone aware of an algorithm for calculating
syllables? Note that FrameMaker's hyphenation dictionary is not accessible
through FrameMaker's API, so accessing the dictionary from a script is not an
option. Another option would be a public domain dictionary that can be accessed
through SQL (FrameScript provides full SQL capability).
Martin R. Smith
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.