Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Re: Re: Re: Text Analysis Tools to compare Slinker and Stinker?

by Cody Pendant (Prior)
on Jan 23, 2003 at 03:25 UTC ( [id://229208]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: Text Analysis Tools to compare Slinker and Stinker?
in thread Text Analysis Tools to compare Slinker and Stinker?

>a scene from The Princess Bride
Man in black:  (turning his back, and adding the poison to one of the goblets)
	Alright, where is the poison?  The battle of wits has begun.  It ends
	when you decide and we both drink - and find out who is right, and who
	is dead.
Vizzini:  But it's so simple.  All I have to do is divine it from what I know of
	you.  Are you the sort of man who would put the poison into his own
	goblet or his enemy's? Now, a clever man would put the poison into his
	own goblet because he would know that only a great fool would reach for
	what he was given.  I am not a great fool so I can clearly not choose
	the wine in front of you...But you must have known I was not a great
	fool; you would have counted on it, so I can clearly not choose the wine
	in front of me.
Man in black:  You've made your decision then?
Vizzini:  (happily) Not remotely!  Because Iocaine comes from Australia.  As
	everyone knows, Australia is entirely peopled with criminals.  And
	criminals are used to having people not  trust them, as you are not
	trusted by me.	So, I can clearly not choose the wine in front of you.
Man in black:  Truly, you have a dizzying intellect.
Vizzini:  Wait 'till I get going!!  ...where was I?
Man in black:  Australia.
Vizzini:  Yes! Australia!  And you must have suspected I would have known the
	powder's origin,so I can clearly not choose the wine in front of me.
Man in black:  You're just stalling now.
Vizzini:  You'd like to think that, wouldn't you!  You've beaten my giant, which
	means you're exceptionally strong...so you could have put the poison in
	your own goblet trusting on your strength to save you, so I can clearly
	not choose the wine in front of you.  But, you've also bested my
	Spaniard, which means you must have studied...and in studying you must
	have learned that man is mortal so you would have put the poison as far
	from yourself as possible, so I can clearly not choose the wine in front
	of me!

Man in black:  You're trying to trick me into giving away something.  It won't
	work.
Vizzini:  It has worked!  You've given everything away! I know where the poison
	is!
Man in black:  Then make your choice.
Vizzini:  I will, and I choose...(pointing behind the man in black) What in the
	world can that be?
Man in black:  (turning around, while Vizzini switches goblets) What?! Where?! I
	don't see anything.
Vizzini:  Oh, well, I...I could have sworn I saw something. No matter.	(Vizzini
	laughs)
Man in black:  What's so funny?
Vizzini:  I...I'll tell you in a minute.  First, lets drink, me from my glass
	and you from yours.

(They both drink)


is that the one you meant?

I still maintain that this was in interesting exercise.

I did one other thing, which was brute-force but also interesting.

I grabbed every 2-char string from the posters, put them in a hash with number of occurrences, sorted the results by number, and compared the most popular 1,000 2-char strings from the suspect posters with the most popular 2-char strings from "real" posters. Again, the results were inconclusive.

Slinker and Stinker shared 75% of the most-popular-strings, but another poster shared 68%, so it wasn't very dramatic evidence either way.
--
“Every bit of code is either naturally related to the problem at hand, or else it's an accidental side effect of the fact that you happened to solve the problem using a digital computer.” M-J D

  • Comment on Re: Re: Re: Re: Text Analysis Tools to compare Slinker and Stinker?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (3)
As of 2024-04-25 16:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found