added metadata to Frequency.pm
parent
5fba0cd131
commit
812c0e41e5
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue