Red Hat Bugzilla – Bug 1031364
Feature Request - Flesh-Kinkaid Statistics Info
Last modified: 2016-01-26 20:57:43 EST
Description of problem:
In order to make sure our documentation is correctly written, it would be nice to have the following 2 features:
1. embedded spell check that checks the file when "publican-build" is done
2. flesh-kincaid statistics that can be generated when requested.
Some packages that I/Rudi/Jeff found that may be useful
there's a Perl module available for this:
which can be done if the publican files are converted to text
and this option
which is a PHP
Version-Release number of selected component (if applicable):
Steps to Reproduce:
(In reply to Laura Novich from comment #0)
> Description of problem:
> In order to make sure our documentation is correctly written, it would be
> nice to have the following 2 features:
One bug one feature!
> 1. embedded spell check that checks the file when "publican-build" is done
Publican used to have this and it caused an endless amount of hateful commentary from writers. We will not be adding it back in.
> 2. flesh-kincaid statistics that can be generated when requested.
This is the feature we will do for this bug.
Added report action.
[Users_Guide]$ publican --quiet report
File name : build/en-US/txt/Users_Guide.txt
Number of characters : 315482
Number of words : 41476
Percent of complex words : 18.44
Average syllables per word : 1.7353
Number of sentences : 4362
Average words per sentence : 9.5085
Number of text lines : 5664
Number of blank lines : 2369
Number of paragraphs : 2097
Fog : 11.1802
Flesch : 50.3802
Flesch-Kincaid : 8.5945
bead334..abf4f61 HEAD -> devel
Verified in publican-3.9.9-0.fc19.t27.noarch