NAME
Report
VERSION
Version 0.0.1
SYNOPSIS
Report Object
use Report;
my $report = Report->new(
headless_data = $section->headless_data
);
SUBROUTINES/METHODS
new
avg_sentence_length
Returns the average sentence length
avg_word_length
Returns the average word length
grade_level
Returns the grade level.
sentence_count
Returns the number of sentences, based off the count of ".", "?", and "!" marks.
sorted_word_list
Returns a hash of lists, based on word frequency.
syllable_count
Returns the number of syllables for a word.
words
Returns array of words, in order.
word_count
Returns the number of words.
word_list
Returns hash of lowercase words as keys, count as values.
AUTHOR
Leam Hall, <leamhall at gmail.com>
BUGS
Please report any bugs or feature requests to https://github.com/LeamHall/bookbot/issues.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc lib/Book/Collate/Report
You can also look for information at:
GitHub Project Page
ACKNOWLEDGEMENTS
Besides Larry Wall, you can blame the folks on IRC Libera#perl for this stuff existing.
LICENSE AND COPYRIGHT
This software is Copyright (c) 2021 by Leam Hall.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)