Word Frequency Wishlist

From the Word Frequency list, I’d love it if Scrivener would highlight all instances in the current document when I double-click a word.

I’d also love a Phrase Frequency tool, where I specify a number of words and the current doc is searched for recurring phrases of that length.

Thanks for considering!

Thanks, we’ll take a look at it. I can say that for the moment there are implementation details that would make this rather of clumsy—you have to go into a modal sheet to select the word, then somehow get out of that sheet to see the highlighting (since the project is non-interactive behind it), and thus going through a list of words sequentially would be more trouble than it is worth. So with the current design, I don’t see this fitting in neatly—but as a general idea for future consideration, it’s something that could certainly be useful, so I’d not want to leave it off the list merely on those grounds alone.

Meanwhile, do note that Scrivener already can do project-wide word selection via the Project Search tool, which will also filter your Binder list by only those documents that contain the desired words. You can even dump a bunch of words into the search tool, set the Operator to “Any Word”, and have it highlight all of them together. That’s a great way to hunt for overused words, especially since you can save a search like this as a dynamic Collection tab for future use.

Thanks for the reply!

I thought that this feature might work with the structure as is if it were available only in Scrivenings mode - in that mode, everything at the selected level and below it is displayed, so I figured it would be searchable?

If you’re considering this for future enhancements, I just wanted to clarify one thing. I think I was unclear in something I said. When I wrote “Specify a number of words” I meant a digit like 2 or 5, not “and” and “through” and “chocolate”.

So if our story started:

and I set the analyzer to 5-word phrases, the analyzer would read:

And so on through the story. And then the output would be:

etc.

And that would let me catch all the repetition in the story. At a fairly processor intensive cost, to be sure, but even if the program hung up for me for a few minutes, it would still be vastly quicker than doing it all by eye :slight_smile:.

Pair that up with the ability to save the results and jump to them, and it would make a moderately useful editing tool.

Thanks again for the reply and for considering!

Looks like you’re after some concordance feature. That’s pretty esoteric for a writer’s tool. On the few occasions (*) I’ve needed that sort of analysis I’ve used Laurence Anthony’s AntConc (a web search will find it for you).

(*) despite my being involved in textual analysis projects.

Very interesting tool! Thanks a lot.

I think, looking at that, that the n-gram feature is what I was looking for. May have to download and give it a spin. Thanks!

…and now I have downloaded, and it is exactly what I wanted. I’d still love to see something like it built into Scrivener (Hey, L&L folks, since Mr. Anthony gives it away as freeware, maybe he’d license it cheap? :slight_smile: ), but until I get that, this is amazingly cool and useful.

The only drawback to the NGram feature is that it breaks words at apostrophes, so “you’re” becomes “you re” and is picked up as two words. But that’s minor, and this tool is great and VERY fast - 5 seconds for a 7,500 word story.

Thanks for the recommendation!

Go to Global Settings | Token Definition

I forget what the defaults are, but my settings are as follows:

Looks like I added an apostrophe to the append following box. YMMV, I forget what else I may have changed. I spent a good while tweaking it to get it working how I wanted.

Did this feature ever get added to Scrivener? It would be very handy indeed. As an editor, I’m constantly having to search for the kind of habitual usages that make individual writers’ style maddening after a few pages, for the usual reader. Some of them are single words (like starting a dialogue sentence with “Well,” others are phrases people are almost unaware of using “at any rate” “at that stage”, etc. (I see I myself have 25 "At this stage"es and 3 "At that stage"es in my current monster of a book.)

To my knowledge, that has not been implemented.
But I remember seeing and app (I unfortunately don’t remember which – perhaps someone will) that does exactly that.
You could load your text to it, have it on the side as a reference. Better than nothing.

Antidote has a function like that. But it is around 100 CAD$

Edit → Writing Tools → Linguistic Focus

Useful?

1 Like

Thanks; I tend to avoid using add-ons that may send other apps doolally.

1 Like