Word Frequency

The only thing I’ve ever wanted from it that Scrivener doesn’t do is in this app: supermagnus.com/mac/Word_Counter/index.html

Yeah, it counts words. But it can also generate a list/table for a given selection of text, showing the frequency with which all words occur. I think it’s a great tool. I use this little app for every finished section/chapter, so I can see what’s going on with the ‘color’ of my work.

Do I need it built into Scrivener? Not really. But it would make Scrivener perfect, as far as I’m concerned.

View Menu/Statistics/Text Statistics/Word Frequency?


Yep, as Dafu says, you can get this from the Text Statistics sheet (note that in 1.03, “Text Statistics” is called “Document Statistics”). Just click on the arrow at the bottom of the sheet to get a list of words with frequency used in the current document (and, of course, you can use it in Edit Scrivenings to get a word frequency list for multiple documents).

I think raustin was specifying that it’s possible to select a section of text and get word frequency info for that selection? I could be wrong. I don’t think Scr. does this, does it? It does it for the whole file, correct?

Just to clarify.

I don’t think that’s what he/she meant. Maybe he/she can clarify if he/she drops by again. :slight_smile: At any rates, the current frequency sheet is all there is. :slight_smile:

I’d like to be able to export the word frequency list to a CSV or tab-separated plaintext spreadsheet.

Actually, what I would like is some AppleScript or Lua or somesuch hooks so that I can actually do statistics with the word frequency lists. I’d like to see Kulback-Leibler distances between the distribution of words in each chapter. (Yeah, I’m weird like that; I have a tiny table of base-2 logarithms so I can manually set the exposure parameters in photos.)

I’m guessing that APIs and programming hooks are just not viable in S2’s release schedule. But hey, a word frequency export can’t be that hard. In any case, I’m more in favor of a timely release than of feature bloat, at least right now. (Must. Have. New Edit Scrivenings Mode. For Project. Due Monday).

AppleScript is still on the table, but you are right, not for 2.0. It was one of those major projects that if added in for the initial release, would have pushed everything back even further.

Is this still on the table? Last response was over a year ago so just checking in to see if I should go ahead and stop dreaming about it. :wink:

Edit: Misread you originally.

I’m not sure what the status is on this one.

The really odd thing is, I just registered on this forum to make the EXACT same comment. I swear.

Another great feature would be to highlight adverbs and adjectives, so I can easily remove them.