2012-10-30

From SMBC Wiki
(Redirected from 2779)
Jump to navigation Jump to search
2012-10-30
2012-10-30
Title text: 2012-10-30

Votey[edit]

20121030after.gif


Explanation[edit]

Ambox notice.png This explanation is either missing or incomplete.

Transcript[edit]

Ambox notice.png This transcript was generated by a bot: The text was scraped using AWS's Textract, which may have errors. Complete transcripts should also describe what happens in each panel.
[Describe panel here]
True weinersmith tales:
I had this idea that all political speech could be improved.
If you changed
Everything- but
The nouns to " nurble, you
Could still
Follow
Everything
One of my twitter followers, Jeff Lee posted a quick and dirty program: The Political Speech Nurbler.

<?Php

11 Extremety quick-and-dirty political speech nurbler (changes everything except nouns to
11
suggested by Zach Weinersmith (https://twitter.com/ZachWeiner/status/261840134218063
11
11 Requres PHP, and part-of-speech txt from the "Part of Speech Database", available at
http://wordlist.sourceforge. net
11
11
Usage: php nurbler.php input-file
11
if ($argc != 2) exit("Usage: php {$argv[0]} input-file\n");
if (ifile_exists(Sargv[1])) exit("Error: could not find {$argv[i]}\n"); $part array();
$pos file("part-of-speech.txt");
foreach($pos as $line) {
if (preg_match("/<[^\t]*)\t(.*)$/", $line, $parts $part[trim(strtolower($parts[1l))] $parts[2];
}
}
$infile implode("", file("sotu.txt"));
while ($infile) (
if Sinfile, $matches >> {
echo nurble(Smatches[1] $matches[2];
$infile trim( substr( $infile, strlen(Smatches[1])+strlen(Smatches[2])));
function nurble( $what
global Spart;
$check -trim(strtolower($what))
if (lisset($part[$check])) return "nurble"; 11 better to nurble unknown words
return (strpos(Spart[Scheck], "N")

Votey Transcript[edit]

Ambox notice.png This transcript was generated by a bot: The text was scraped using AWS's Textract, which may have errors. Complete transcripts should also describe what happens in each panel.
[Describe panel here]
You nurble nurble nurble idiocy.
Nurble you!
JVI line Kn

Comment.png add a comment! ⋅ Comment.png add a topic (use sparingly)! ⋅ Icons-mini-action refresh blue.gif refresh comments!

Discussion

No comments yet!