Goodie LOLCAT Translator


![screenshot from 2014-11-10 21 47 07](https://cloud.githubusercontent.com/assets/1478816/4988898/32515c1c-6923-11e4-89a5-fe49a21ff6bb.png)

**What does your Instant Answer do?**
Converts text into the LOLCAT language

**What problem does your Instant Answer solve (Why is it better than organic links)?**
It is a dynamic translator

**What is the data source for your Instant Answer? (Provide a link if possible)**
The Goodie PM file source code
https://github.com/JohnCarlosReed/zeroclickinfo-goodies/blob/master/lib/DDG/Goodie/LOLCAT.pm

**What are some example queries that trigger this Instant Answer?**
lolcat followed by any text

**Which communities will this Instant Answer be especially useful for? (gamers, book lovers, etc)**
meme lovers, cat people, geeks

**Is this Instant Answer connected to a DuckDuckHack [Instant Answer idea](https://duck.co/ideas)?**
Yes:  https://duck.co/ideas/idea/4595/lolcat-translator-goodie

**Which existing Instant Answers will this one supercede/overlap with?**
None

**Are you having any problems? Do you need our help with anything?**
No

**Where did you hear about DuckDuckHack? (For first time contributors)**
Searched for Perl open source projects


## Checklist
Please place an 'X' where appropriate.

```
[X] Added metadata and attribution information (https://duck.co/duckduckhack/metadata)
[X] Wrote test file and added to t/ directory (https://duck.co/duckduckhack/goodie_tests)
[X] Verified that instant answer adheres to design guidelines (https://duck.co/duckduckhack/design_styleguide)
[] Verified that instant answer adheres to code styleguide (https://duck.co/duckduckhack/code_styleguide)
[] Tested cross-browser compatibility

    Please let us know which browsers/devices you've tested on:
    - Ubuntu 14
        [X] Firefox

```

This is my first Goodie, so I wasn't sure about that.  I knew it would
trigger easily, but thought perhaps that would be fun way for people to
discover that feature.

I'm more than happy to change it to a niche trigger though.

Thanks,

John

On Tue, Nov 11, 2014 at 10:39 AM, Zaahir Moolla <notifications@github.com>
wrote:

> In lib/DDG/Goodie/LOLCAT.pm:
>
> > +    good     => [ qw/gud goed guud gude gewd/ ],
> > +    really   => [ qw/rly rily rilly rilley/ ],
> > +    world    => [ qw/wurrld whirld wurld wrld/ ],
> > +    q(i'?m\b)     => 'im',
> > +    '(?!e)ight'   => 'ite',
> > +    '(?!ues)tion' => 'shun',
> > +    q(you'?re)    => [ qw/yore yr/ ],
> > +    '\boh\b(?!.*hai)'  => [qw/o ohs/],
> > +    'can\si\s(?:ple(?:a|e)(?:s|z)e?)?\s?have\sa' => 'i can has',
> > +    '(?:hello|\bhi\b|\bhey\b|howdy|\byo\b),?'    => 'oh hai,',
> > +    '(?:god|allah|buddah?|diety)'                => 'ceiling cat',
> > +);
> > +
> > +
> > +# Triggers
> > +triggers start => "lolcat";
>
> I'm worried that this trigger is going to be very broad. I can see a lot
> of queries starting with the word "lolcat" that aren't intended to convert
> the query to "lolcat speak"
>
> e.g. "lolcat images", "lolcat memes", "lolcat ", "lolcat gifs"
>
> I think a more niche trigger is necessary such as "lolcat speak" or "to
> lolcat", etc
>
> any thoughts/ideas?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/duckduckgo/zeroclickinfo-goodies/pull/740/files#r20170059>
> .
>



-- 
(Sent from my Atari 2600)