We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

WordsDocument: Wordcount is not accurate

We make use of Words Document getStats to count the number of words per page. The following issues occur with the wordcount:


1) Text in textareas are not included in the wordcount

2) Text in the comments are counted, but should not be included in the wordcount

3) Footnotes are not counted, which is great but this should be configurable in the call.

See document attached. Please make the wordcount more accurate.

Hi Richard,

We are logging your requirements and will update you soon.

Best Regards,

Hi Muhammad, what is the status of these three issues? The textareas are also mentioned on http://www.aspose.com/community/forums/2/607737/let-splitdocument-and-saveas-return-all-images-directly/showthread.aspx

Hi Richard,

New feature requests to support parameters to include/exclude text areas, comments and footnotes have been logged into our issue tracking system as SAASWORDS-226, SAASWORDS-227SAAS and SAASWORDS-228 respectively.

The issues are not resolved yet. We will update you as soon as any of these features is available.

Best Regards,

Hi Muhammad, do you’ve got an update on the parameters for including/excluding textareas, comments and footnotes in the wordcounts?

Hi Richard,

Unfortunately work on these features has not been started yet because of some other priority issues. ETA request has been forwarded to our product team.

We will update you as soon as ETA for these issues is available. Sorry for the inconvenience.

Best Regards,

Hi Richard,

Just to update you that these issues have been fixed and these features will be available after next service update.

Best Regards,

Hi Muhammad, thanks for the update that is great news!


We would like the footnotes to be excluded by default, but they should be available in the results directly. That way the default check parameters won’t have to change. We would like the result as follows:

Output:

array(
‘pages’ => array(
1 => array(
‘words’ => 412,
‘footnotes’ => 80
),
2 => array(
‘words’ => 212,
‘footnotes’ => 34
),
3 => array(
‘words’ => 312,
‘footnotes’ => 84
),
)
);

That way we can make optimal use of the Aspose API, because we can decide ourselves to include the footnotes in our calculations without having to do another API call.

Hi Richard,

Let these features be released in a few days. Hopefully it will serve your requirements.

Best Regards,

Thanks for being patient. We have good news for you i.e. SAASWORDS-228 ;SAASWORDS-227 ;SAASWORDS-226 ;SAASWORDS-225 have now been resolved. You may now please re-test your scenario with Aspose.Words for Cloud. Hope, this helps.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.

Can you provide me with a link to the place where these features are documented?

Hi Richard,

You can use the example from Get Word and Paragraph Count and pass any parameter listed on the API page at https://apireference.aspose.cloud/words/#/Statistics
Best Regards,

Also made a PR for the comments. Please create a new release in the repo.


https://github.com/asposeforcloud/Aspose_Cloud_SDK_For_PHP

Hi Richard,

Your comments have been forwarded to our Marketplace team. They will update these changes soon.

Best Regards,