Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Most frequent words in Gone with the Wind, help!

by Not_a_Number (Prior)
on Mar 14, 2016 at 20:48 UTC ( [id://1157723]=note: print w/replies, xml ) Need Help??


in reply to Most frequent words in Gone with the Wind, help!

Hmm... Are you talking about the book or the film?

If the latter, your task would be considerably simplified by the fact that the script can be found online in this sort of format:

RHETT: I'm going to Charleston. Back where I belong. SCARLETT: Please, please take me with you. RHETT: No. I'm through with everything here. I want peace. I want to see if somewhere there is something left in life with charm +and grace. Do you know what I'm talking about? SCARLETT: No. I only know that I love you. RHETT: That's your misfortune. SCARLETT: Rhett! If you go, where shall I go? What shall I do? RHETT: Frankly my dear, I don't give a damn.

(But then you would still have to determine whether a given line by e.g. SCARLETT is part of a conversation with RHETT, or with somebody else, or a monologue, or whatever...)

And if the former, frankly, my dear, you have a big problem: parsing the text of a book for conversations between given characters is not a task for a beginner (in Perl or any other language).

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1157723]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-04-25 11:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found