#!/usr/bin/perl -w #this is fairly silly use strict; use LWP::Simple; my $page = ''; my $url = 'http://www.google.com/search?q=%2B%22all+your%22+%2B%22are+ +belong+to+us%22+-base+-bases&num=100&hl=en&lr=&safe=off&start=' ; for (my $i=0; $i<=900; $i+=100) { $page .= get( $url.$i ) ; } $page =~ s/<[^>]*?>//gs ; $page =~ s/&[^;]*?;//gs ; my (@nouns) = ($page =~ /all your(.{3,20}?)are belong to us/gsi ); my %unique; foreach (@nouns) { s/^\s*//s ; s/\s*$//s ; tr/\n//d ; $unique{$_}++; } print join ', ', sort keys %unique ;
Typical output:
BARESIS, BASS, BIOCHEMISTS, BLOCKS, BUMS, Bosch, Buff, CHANNEL, CHAT, DSL, Droga, Elfie, GUITARS, Human Head, Internet, NATION, Notepad, Oses, PEPSI, PHASE PROBLEM, Phone, RAILBAIT, SEXY BARBS, STUPIDNESS, Simpsons, YOLGs, absolutepower, bats, blocks, blue butts, buff, buffs, christmas presents, face, family, fantasy, forums, government, issues, letters, lewtz, link, magic, money, moo, pant, plots, posts, registration data, server, sex toy, sticks, topics, true shot damage

(I was going to sort them by frequency but Google doesn't give a big enough sample)

andy.


In reply to All your what, exactly, are belong to us? (apart from 'base') by andye

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.