added metadata to Frequency.pm

master
Dylan Lloyd 2012-11-06 17:35:36 -05:00
parent 5fba0cd131
commit 812c0e41e5
1 changed files with 9 additions and 0 deletions

View File

@ -5,6 +5,15 @@ use DDG::Goodie;
triggers start => 'frequency', 'freq';
primary_example_queries 'frequency of all characters in testing';
secondary_example_queries 'frequency of B in battle', 'frequency of all in testing 1234 ABC!';
description 'calculate the frequency of characters in a string';
name 'Frequency';
code_url 'https://github.com/duckduckgo/zeroclickinfo-goodies/blob/master/lib/DDG/Goodie/Frequency.pm';
category 'calculations';
topics 'geek';
attribution github => [ 'http://github.com/unlisted', 'Morgan'],
handle remainder => sub {
if ($_ =~ /^of ([a-z]|(?:all ?|)(?:letters|characters|chars|)) in (.+)/i)
{