[Solved] Count how many times a word is used

Discuss the word processor
Locked
kanuski
Posts: 10
Joined: Thu Sep 14, 2017 2:49 pm

[Solved] Count how many times a word is used

Post by kanuski »

This is a difficult topic to research. I am just wondering if there is a built-in method for counting the number of times a word occurs in a document. The only way I have found is to find and replace the word with itself. This gets messy when there are different styles being used.
Last edited by kanuski on Sat Oct 21, 2023 9:25 am, edited 1 time in total.
Apache OpenOffice 4.1.1
Windows 8.1
FJCC
Moderator
Posts: 9625
Joined: Sat Nov 08, 2008 8:08 pm
Location: Colorado, USA

Re: Count how many times a word is used?

Post by FJCC »

If you do a Find All with Find & Replace, you can then select Tools -> Word Count to see the number of words in the current selection.

Using Find & Replace for this can be tricky. You have to consider plurals, possessives, tenses of verbs, and lots of other variations on what constitutes "a word".
OpenOffice 4.1 on Windows 10 and Linux Mint
If your question is answered, please go to your first post, select the Edit button, and add [Solved] to the beginning of the title.
User avatar
White Phoenix
Posts: 312
Joined: Tue Jan 01, 2008 7:10 am

Re: [Solved] Count how many times a word is used?

Post by White Phoenix »

What if you have five hundred words to look for? Are HTML editors the only tools that has a word count feature? They do/did this to find key words for tagging web pages.
Apache OpenOffice 4.1.15 on Linux Mint 21.3 with Cinnamon.
User avatar
RoryOF
Moderator
Posts: 35210
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: [Solved] Count how many times a word is used?

Post by RoryOF »

There is a extension to OpenOffice
https://extensions.openoffice.org/en/project/Linguist
that in its later versions was said to produce individual counts of all words in the file.

It has not been supported for some time, so may or may not work. Best to try this on a copy of any important file, not on an original file.
Apache OpenOffice 4.1.16 on Xubuntu 24.04.4 LTS
User avatar
White Phoenix
Posts: 312
Joined: Tue Jan 01, 2008 7:10 am

Re: [Solved] Count how many times a word is used?

Post by White Phoenix »

RoryOF wrote: Sat Nov 02, 2024 11:36 am It has not been supported for some time, so may or may not work. Best to try this on a copy of any important file, not on an original file.
I have multiple copies of the file I am using, so no problem there. Thanks for the tip, Rory.
Apache OpenOffice 4.1.15 on Linux Mint 21.3 with Cinnamon.
User avatar
White Phoenix
Posts: 312
Joined: Tue Jan 01, 2008 7:10 am

Re: [Solved] Count how many times a word is used?

Post by White Phoenix »

Oh wow! It works perfectly and is very fast!
Apache OpenOffice 4.1.15 on Linux Mint 21.3 with Cinnamon.
Locked