Just another Perl shrine PerlMonks

### Re^3: Have you netted a Perl Monk or Perl Pretender in 5 minutes or less?

 on Dec 17, 2012 at 13:41 UTC ( #1009165=note: print w/replies, xml ) Need Help??

More people are in proximity to pigs than sharks, therefore it does not follow that a pig poses a bigger risk than a shark...

Every person in the water at a beach right now—millions a day—is in proximity to sharks. Drastically fewer pig farmers are down in the stalls on a regular basis. Also, I think we can all agree that more persons are in proximity to pigs than sharks. Sharks are rarely anywhere near pigs. I'm sorry, I had to say something. :)

• Comment on Re^3: Have you netted a Perl Monk or Perl Pretender in 5 minutes or less?

Replies are listed 'Best First'.
Re^4: Have you netted a Perl Monk or Perl Pretender in 5 minutes or less?
by Anonymous Monk on Dec 17, 2012 at 14:15 UTC

Also, I think we can all agree that more persons are in proximity to pigs than shark. Sharks are rarely anywhere near pigs. I'm sorry, I had to say something. :)

I get the joke, but I don't get the grammar rules ... OTOH Parse a sentence says

```++++Time                                          0.00 seconds (98.93
+total)
Found 8 linkages (8 with no P.P. violations)
Linkage 1, cost vector = (UNUSED=0 DIS=0 AND=0 LEN=16)

+--------------------------------Xp-------------------------------
++
|                      +--------------MVt-------------+
+|
+------Wd------+       +--------MVp--------+          |
+|
|       +-Dmcm-+--Spx--+-Pp-+--Jp--+       +-Jp-+     +--Opc-+
+|
|       |      |       |    |      |       |    |     |      |
+|
LEFT-WALL more persons.n are.v in proximity.n to pigs.n than sharks.n
+.

Constituent tree:

(S (NP more persons)
(VP are
(PP in
(NP proximity))
(PP to
(NP pigs))
(PP than
(NP sharks)))
.)

IIUC (If I Understand Correctly), it is the people (and not the sharks) whose proximity is relative

Compare to
more persons are in proximity to pigs than proximity to sharks
more persons are in proximity to pigs than are sharks

:P Do you have any analysis of the seven other possible parse trees the site can generate for that sentence? Frankly, it's mostly beyond me. Isn't English fun!

Create A New User
Node Status?
node history
Node Type: note [id://1009165]
help
Chatterbox?
 [Discipulus]: italian doc says to modify somehow the initial SVG before using it with D3.js [Discipulus]: LanX the fact is that my js ability is even poorer than my Perl one.. [LanX]: oh its negative? ;P [Discipulus]: my warmest comprehension karlgoethebier ;=( [Discipulus]: yes LanX.. is so good to be appreciated (I fortunately have a big self estimation that compensate) [LanX]: you can manipulate a html tree by addressing and replacing so called document objects (DOM) and from my experience the same methods can be used with any XML, though I didn't test all browsers yet

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (15)
As of 2017-03-23 09:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
Voting Booth?
Should Pluto Get Its Planethood Back?

Results (285 votes). Check out past polls.