[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/lit/ - Literature


View post   

File: 227 KB, 1200x1551, FNlUt6oWQAs9plM.jpg [View same] [iqdb] [saucenao] [google]
20095308 No.20095308 [Reply] [Original]

I read a book and remember seeing a humorously long word. I've forgotten what the word was so I can't control f on an online copy.
Does anyone know if any type of program or website exists where you can copy paste the entire text of a book (essentially treating it as a text file) and break the entire thing down in various ways, including word lengths?

Something like this for example:
1 letter words: 567 occurrences
2 letter words: 300 occurrences
3 letter words: 2734 occurrences

And so on, being able to scroll through all the words in separate categories. That way I would be able to sort by 17 letter words and upwards to immediately find what I'm looking for.

>> No.20095316

>>20095308
No, but that doesn't sound like a hard program to program.

>> No.20096123

It's fucking easy if you know python. Around ten lines of code

>> No.20097411

>>20095316
>>20096123
But I don't know how to code

>> No.20097529

>>20095308
This page

https://www.online-utility.org/text/analyzer.jsp

analyzes text and lists all the words used, sorted by how many times they're used. It's not quite what you want but you could probably use it if you can't find anything better. Your long word is probably used only once so you can just scroll back from the end and you'll spot it fairly fast.

Another way: if you have a word processor or text editor which supports regular expressions, you can search for all long words pretty easily using those. Just look up regular expressions online. They are useful to learn in general.

Alternatively give me your book and I'll find the longest words if you want.

>> No.20097548

>>20097411
I'd say you should learn the basics for these types of situations. The world is becoming ever more technology-oriented and not knowing the very basics of a popular coding language can be a hindrance.

>> No.20097851
File: 98 KB, 876x847, 1646012618889.jpg [View same] [iqdb] [saucenao] [google]
20097851

>>20097529
Thank you! The word was "bourgeoisification"

>Consequently, with no petty gentry to set
the pace, the bourgeoisification of the working class, though it is
taking place in the North, is taking place more slowly.