Free Support Forum - aspose.com

Problem to get readability statistics in word document

Hi,

We are using Aspose.Words for our application. We are trying to generate readability stats for a document as words, characters, paragraphs etc. using BuiltInDocumentProperties. But number of paragraphs is not correct (specially with large documents).

One more thing which we want is to calculate is the number of sentences and some average stats like sentences per paragraphs, words per sentence, characters per words etc for word document. Is there any way provided by aspose to calculate all these stats.

Thanks,

Prafull Gupta

Hi

Thanks for your inquiry. Characters, Words and Paragraphs properties can be updated using UpdateWordCount method. For more information see the following links.

http://www.aspose.com/documentation/file-format-components/aspose.words-for-.net-and-java/aspose.words.properties.builtindocumentproperties.html

http://www.aspose.com/documentation/file-format-components/aspose.words-for-.net-and-java/aspose.words.document.updatewordcount.html

I hope this could help you.

Best regards.