Hiragana: Removing Japanese as a standalone trigger word

master
Rob Emery 2014-11-15 22:12:17 +00:00
parent afe13a63ea
commit 67aca2702e
2 changed files with 2 additions and 1 deletions

View File

@ -2,7 +2,7 @@ package DDG::Goodie::Hiragana;
# ABSTRACT: converts romaji syllables into hiragana
use DDG::Goodie;
triggers startend =>'japanese hiragana','japanese','hiragana';
triggers startend =>'japanese hiragana','hiragana', 'hiragana japanese';
zci answer_type => 'hiragana';
zci is_cached => 1;

View File

@ -19,6 +19,7 @@ ddg_goodie_test(
"hiragana konnichiwa" => test_zci('こんにちわ', html => "<div class='zci--hiragana text--primary'>&#x3053;&#x3093;&#x306B;&#x3061;&#x308F;</div>"),
"nihon hiragana" => test_zci('にほん', html => "<div class='zci--hiragana text--primary'>&#x306B;&#x307B;&#x3093;</div>"),
"hiragana tsukue no ue" => test_zci('つくえ の うえ', html => "<div class='zci--hiragana text--primary'>&#x3064;&#x304F;&#x3048; &#x306E; &#x3046;&#x3048;</div>"),
"Japanese zero" => undef,
"what is hiragana?" => undef,
"hiragana" => undef,
);