+filters (2.41) unstable; urgency=low
+
+ * pirate: Roll r's. Also, conjugate 'is' in first person, and add some
+ more phrases. Closes: #443213
+
+ -- Joey Hess <joeyh@debian.org> Wed, 19 Sep 2007 14:26:41 -0400
+
filters (2.40) unstable; urgency=low
* Update url to web page in README.
'\bof\b' => "o'",
'\bdon\'t\b' => "dern't",
'\bdo not\b' => "dern't",
- '\bnever\b' => "ne'er",
+ '\bnever\b' => "no nay ne'er",
'\bever\b' => "e'er",
'\bover\b' => "o'er",
'\bYes\b' => 'Aye',
'\baround\b' => "aroun'",
'\bto\b' => "t'",
'\bit\'s\b' => "'tis",
+ '\bIt\'s\b' => 'It be',
'\bwoman\b' => 'wench',
'\blady\b' => 'wench',
'\bwife\b' => 'lady',
'\bjet\b' => 'flying machine',
'\bdriving\b' => 'sailing',
'\bdrive\b' => 'sail',
+ '\bwith\b' => "wi'",
+ '\bam\b' => 'be',
+ '\bis\b' => 'be',
+ '\bare\b' => 'be',
+ '\bwas\b' => 'be',
+ '\bwere\b' => 'be',
+ '\bwere\b' => 'be',
);
while (@trans_table) {
s/ings\b/in's/g;
s/(\.( |\t|$))/avast($1,3)/eg;
s/([!\?]( \t|$))/avast($1,2)/eg; # Greater chance after exclamation
+s/\Br\B/roll()/eg;
+
+sub roll {
+ return 'r' x (rand(5)+1) if rand > 0.5;
+ return 'r';
+}
sub avast {
my $stub=shift;
"$stub Fire the cannons!",
", to be sure$stub",
", I'll warrant ye$stub",
+ "$stub Arr, me hearty!",
);
if (int rand($chance) == 1) {