Clarity.TextStats
Description
Task that uses textacy to get aggregate statistics about the text.
Example
Clarity.TextStats({
documentset: [ProviderNotes]
});
Arguments
| Name |
Type |
Required |
Notes |
| termset |
termset |
No |
|
| documentset |
documentset |
No |
|
| cohort |
cohort |
No |
|
| group_by |
str |
No |
Default = report_type, the field that statistics be grouped on. |
Results
| Name |
Type |
Notes |
| avg_word_cnt |
float |
Average word count |
| avg_grade_level |
float |
Average Flesch Kincaid grade level |
| avg_sentences |
float |
Average number of sentences |
| avg_long_words |
float |
Average number of long words |
| avg_polysyllable_words |
float |
Average number of polysyllabic words |