What does "Count Words" count?
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 152
- Joined: Fri Apr 24, 2015 12:28 pm
What does "Count Words" count?
Hi,
I'm currently evaluating Oxygen XML Editor 16.1 and was wondering what the "Count Words" feature actually counts. I was hoping that it counts only the text, but it seems that it counts everything in the XML. I did a test run with a text that has 23 words, and "Count Words" output 87 words. That can't be.
Is there also a way to count all words in a DITAMAP? We would need this for localization purposes.
Thanks,
Christina
I'm currently evaluating Oxygen XML Editor 16.1 and was wondering what the "Count Words" feature actually counts. I was hoping that it counts only the text, but it seems that it counts everything in the XML. I did a test run with a text that has 23 words, and "Count Words" output 87 words. That can't be.

Is there also a way to count all words in a DITAMAP? We would need this for localization purposes.
Thanks,
Christina
-
- Posts: 9450
- Joined: Fri Jul 09, 2004 5:18 pm
Re: What does "Count Words" count?
Hi Christina,
Could you possibly paste the content of the sample DITA topic you tested with?
I tested on a small topic and it worked for me.
If you want this statistics on a DITA Map, if you open the DITA Map in the DITA Maps Manager view, then use the "Configure transformation scenario" button and you will find a scenario called DITA Map Metrics Report in the list. After you run it, it should report various map-wide statistics.
Regards,
Radu
Could you possibly paste the content of the sample DITA topic you tested with?
I tested on a small topic and it worked for me.
If you want this statistics on a DITA Map, if you open the DITA Map in the DITA Maps Manager view, then use the "Configure transformation scenario" button and you will find a scenario called DITA Map Metrics Report in the list. After you run it, it should report various map-wide statistics.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 152
- Joined: Fri Apr 24, 2015 12:28 pm
Re: What does "Count Words" count?
Hi Radu,
it made me wonder that it worked on your side, so I rechecked my file.
I found that the document contains processing instructions from FrameMaker that were added to the sum of counted words. When I deleted them from the file, I got the correct result. It seems that we must take out all of the processing instructions before we switch programs.
Thank you very much for pointing me to the DITA MAP Metrics Report. This is awesome.
Best regards,
Christina
it made me wonder that it worked on your side, so I rechecked my file.
I found that the document contains processing instructions from FrameMaker that were added to the sum of counted words. When I deleted them from the file, I got the correct result. It seems that we must take out all of the processing instructions before we switch programs.
Thank you very much for pointing me to the DITA MAP Metrics Report. This is awesome.
Best regards,
Christina
-
- Posts: 9450
- Joined: Fri Jul 09, 2004 5:18 pm
Re: What does "Count Words" count?
Hi Christina,
Regards,
Radu
I will add an improvement request to avoiding counting words which are inside comments and processing instructions.I found that the document contains processing instructions from FrameMaker that were added to the sum of counted words. When I deleted them from the file, I got the correct result.
Yes, it's a feature which we need to promote more. If you use it and have feedback about various improvements which could be made to it, please tell us.Thank you very much for pointing me to the DITA MAP Metrics Report.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service