Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Programs that analyze word frequency?

+1
−0

I would like a utility that could analyze a document and give me stats like this:

WORD:           FREQUENCY:
a               47,268
the             37,201
gross           215
irregardlessly  1  

Does anyone know if this is available?

BTW, I'd rather not use an online tool. Call me paranoid, but uploading my unpublished novel to the internet, to me, would be akin to walking down main street with nothing but a condom on. :)

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.
Why should this post be closed?

This post was sourced from https://writers.stackexchange.com/q/23952. It is licensed under CC BY-SA 3.0.

0 comment threads

2 answers

You are accessing this answer with a direct link, so it's being shown above all other answers regardless of its score. You can return to the normal view.

+1
−0

If you have access to Linux or Cygwin on Windows, you can get it to tell you just about anything you want to know about your text with a few lines of shell code. Here's one approach.

Here's another article which explains the process in more detail.

In this case, you would probably first have to copy your text from its native format and then paste it without formatting into a text file so the internal formatting codes, etc. don't interfere with the logic.

The advantage of an approach like this is that, with a little effort, you can get your tool to report anything you want in exactly the format you want it in.

Microsoft is also talking about adding such shell capabilities into an upcoming release of Windows 10.

If you're on a Mac, you probably already have all of the necessary tools installed.

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.

This post was sourced from https://writers.stackexchange.com/a/24010. It is licensed under CC BY-SA 3.0.

0 comment threads

+0
−0

My beloved Scrivener does the job beautifully. Paste your text in and then go under Project —> Text Statistics and it gives you the list you're looking for.

Other people on this board have recommended Word Counter (Mac) and both Primitive Word Counter and yWriter (Windows), but I cannot speak to their utility as I've never used them.

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.

0 comment threads

Sign up to answer this question »