Hiragana: Removing Japanese as a standalone trigger word
parent
afe13a63ea
commit
67aca2702e
|
@ -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;
|
||||
|
|
|
@ -19,6 +19,7 @@ ddg_goodie_test(
|
|||
"hiragana konnichiwa" => test_zci('こんにちわ', html => "<div class='zci--hiragana text--primary'>こんにちわ</div>"),
|
||||
"nihon hiragana" => test_zci('にほん', html => "<div class='zci--hiragana text--primary'>にほん</div>"),
|
||||
"hiragana tsukue no ue" => test_zci('つくえ の うえ', html => "<div class='zci--hiragana text--primary'>つくえ の うえ</div>"),
|
||||
"Japanese zero" => undef,
|
||||
"what is hiragana?" => undef,
|
||||
"hiragana" => undef,
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue