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: http://search.cpan.org/dist/Lingua-EN-Fathom/lib/Lingua/EN/Fathom.pm which can be done if the publican files are converted to text and this option https://github.com/DaveChild/Text-Statistics which is a PHP Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
(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. Cheers, Jeff.
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 READABILITY INDICES Fog : 11.1802 Flesch : 50.3802 Flesch-Kincaid : 8.5945 To ssh://git.fedorahosted.org/git/publican.git bead334..abf4f61 HEAD -> devel
Verified in publican-3.9.9-0.fc19.t27.noarch