| 1 | package Quiz::Flashcards::Sets::Hiragana::Romaji_Simple; | ||
| 2 | |||
| 3 | 2 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 2 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 2 | ▶ | use utf8; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | 2 | ▶ | use base 'Exporter'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | |||
| 9 | 2 | our @EXPORT = (qw( get_set )); | |
| 10 | |||
| 11 | =head1 NAME | ||
| 12 | |||
| 13 | Quiz::Flashcards::Sets::Hiragana::Romaji_Simple - Flashcard set with the basic 46 japanese hiragana | ||
| 14 | |||
| 15 | =head1 VERSION | ||
| 16 | |||
| 17 | Version 0.04 | ||
| 18 | |||
| 19 | =cut | ||
| 20 | |||
| 21 | 2 | our $VERSION = '0.04'; | |
| 22 | |||
| 23 | =head1 DESCRIPTION | ||
| 24 | |||
| 25 | This module will provide L<Quiz::Flashcards> with the data needed to test and train the reading of the 46 basic katakana of the japanese alphabet. | ||
| 26 | |||
| 27 | The characters are presented in UTF8 text, so your system will need to have compatible fonts installed. The answer is expected as keyboard input. Upon confirmation of the answer the set will attempt to play a sound of the syllable if L<Quiz::Flashcards::Audiobanks::Japanese_Syllables> is installed. | ||
| 28 | |||
| 29 | =head1 SYNOPSIS | ||
| 30 | |||
| 31 | This module is used by L<Quiz::Flashcards> and not on its own. Refer to the source code of L<Quiz::Flashcards> for examples on how to access it. | ||
| 32 | |||
| 33 | =head1 FUNCTIONS | ||
| 34 | |||
| 35 | =head2 get_set | ||
| 36 | |||
| 37 | This function returns an array of all items in this set. The items are represented as hashes with the following members: C<question>, C<answer>, C<question_type>, C<answer_type>, C<audiobank>, C<audio_file>. | ||
| 38 | |||
| 39 | =cut | ||
| 40 | |||
| 41 | =head1 AUTHOR | ||
| 42 | |||
| 43 | Christian Walde, C<< <mithaldu at yahoo.de> >> | ||
| 44 | |||
| 45 | =head1 BUGS | ||
| 46 | |||
| 47 | Please report any bugs or feature requests to C<bug-Quiz-flashcards-sets-hiragana-romaji_simple at rt.cpan.org>, or through | ||
| 48 | the web interface at L<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Quiz-Flashcards-Sets-Hiragana-Romaji_Simple>. I will be notified, and then you'll | ||
| 49 | automatically be notified of progress on your bug as I make changes. | ||
| 50 | |||
| 51 | |||
| 52 | |||
| 53 | |||
| 54 | =head1 SUPPORT | ||
| 55 | |||
| 56 | Please refer to L<Quiz::Flashcards> for further information. | ||
| 57 | |||
| 58 | |||
| 59 | =head1 COPYRIGHT & LICENSE | ||
| 60 | |||
| 61 | Copyright 2009 Christian Walde, all rights reserved. | ||
| 62 | |||
| 63 | This program is free software; you can redistribute it and/or modify it | ||
| 64 | under the same terms as Perl itself. | ||
| 65 | |||
| 66 | |||
| 67 | =cut | ||
| 68 | |||
| 69 | 2 | my $ab = "Quiz::Flashcards::Audiobanks::Japanese_Syllables"; | |
| 70 | |||
| 71 | 2 | my @set; | |
| 72 | 2 | push @set, { question => "あ", complexity => 1, answer => "a", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "a.wav" }; | |
| 73 | 2 | push @set, { question => "い", complexity => 1, answer => "i", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "i.wav" }; | |
| 74 | 2 | push @set, { question => "う", complexity => 1, answer => "u", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "u.wav" }; | |
| 75 | 2 | push @set, { question => "え", complexity => 1, answer => "e", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "e.wav" }; | |
| 76 | 2 | push @set, { question => "お", complexity => 1, answer => "o", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "o.wav" }; | |
| 77 | 2 | push @set, { question => "か", complexity => 2, answer => "ka", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "ka.wav" }; | |
| 78 | 2 | push @set, { question => "き", complexity => 2, answer => "ki", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "ki.wav" }; | |
| 79 | 2 | push @set, { question => "く", complexity => 2, answer => "ku", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "ku.wav" }; | |
| 80 | 2 | push @set, { question => "け", complexity => 2, answer => "ke", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "ke.wav" }; | |
| 81 | 2 | push @set, { question => "こ", complexity => 2, answer => "ko", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "ko.wav" }; | |
| 82 | 2 | push @set, { question => "さ", complexity => 3, answer => "sa", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "sa.wav" }; | |
| 83 | 2 | push @set, { question => "し", complexity => 3, answer => "shi", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "shi.wav" }; | |
| 84 | 2 | push @set, { question => "す", complexity => 3, answer => "su", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "su.wav" }; | |
| 85 | 2 | push @set, { question => "せ", complexity => 3, answer => "se", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "se.wav" }; | |
| 86 | 2 | push @set, { question => "そ", complexity => 3, answer => "so", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "so.wav" }; | |
| 87 | 2 | push @set, { question => "た", complexity => 4, answer => "ta", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "ta.wav" }; | |
| 88 | 2 | push @set, { question => "ち", complexity => 4, answer => "chi", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "chi.wav" }; | |
| 89 | 2 | push @set, { question => "つ", complexity => 4, answer => "tsu", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "tsu.wav" }; | |
| 90 | 2 | push @set, { question => "て", complexity => 4, answer => "te", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "te.wav" }; | |
| 91 | 2 | push @set, { question => "と", complexity => 4, answer => "to", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "to.wav" }; | |
| 92 | 2 | push @set, { question => "な", complexity => 5, answer => "na", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "na.wav" }; | |
| 93 | 2 | push @set, { question => "に", complexity => 5, answer => "ni", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "ni.wav" }; | |
| 94 | 2 | push @set, { question => "ぬ", complexity => 5, answer => "nu", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "nu.wav" }; | |
| 95 | 2 | push @set, { question => "ね", complexity => 5, answer => "ne", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "ne.wav" }; | |
| 96 | 2 | push @set, { question => "の", complexity => 5, answer => "no", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "no.wav" }; | |
| 97 | 2 | push @set, { question => "は", complexity => 6, answer => "ha", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "ha.wav" }; | |
| 98 | 2 | push @set, { question => "ひ", complexity => 6, answer => "hi", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "hi.wav" }; | |
| 99 | 2 | push @set, { question => "ふ", complexity => 6, answer => "fu", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "hu.wav" }; | |
| 100 | 2 | push @set, { question => "へ", complexity => 6, answer => "he", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "he.wav" }; | |
| 101 | 2 | push @set, { question => "ほ", complexity => 6, answer => "ho", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "ho.wav" }; | |
| 102 | 2 | push @set, { question => "ま", complexity => 7, answer => "ma", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "ma.wav" }; | |
| 103 | 2 | push @set, { question => "み", complexity => 7, answer => "mi", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "mi.wav" }; | |
| 104 | 2 | push @set, { question => "む", complexity => 7, answer => "mu", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "mu.wav" }; | |
| 105 | 2 | push @set, { question => "め", complexity => 7, answer => "me", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "me.wav" }; | |
| 106 | 2 | push @set, { question => "も", complexity => 7, answer => "mo", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "mo.wav" }; | |
| 107 | 2 | push @set, { question => "ら", complexity => 8, answer => "ra", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "ra.wav" }; | |
| 108 | 2 | push @set, { question => "り", complexity => 8, answer => "ri", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "ri.wav" }; | |
| 109 | 2 | push @set, { question => "る", complexity => 8, answer => "ru", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "ru.wav" }; | |
| 110 | 2 | push @set, { question => "れ", complexity => 8, answer => "re", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "re.wav" }; | |
| 111 | 2 | push @set, { question => "ろ", complexity => 8, answer => "ro", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "ro.wav" }; | |
| 112 | 2 | push @set, { question => "わ", complexity => 9, answer => "wa", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "wa.wav" }; | |
| 113 | 2 | push @set, { question => "を", complexity => 9, answer => "wo", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "o.wav" }; | |
| 114 | 2 | push @set, { question => "や", complexity => 9, answer => "ya", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "ya.wav" }; | |
| 115 | 2 | push @set, { question => "ゆ", complexity => 9, answer => "yu", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "yu.wav" }; | |
| 116 | 2 | push @set, { question => "よ", complexity => 9, answer => "yo", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "yo.wav" }; | |
| 117 | 2 | push @set, { question => "ん", complexity => 9, answer => "n", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "n.wav" }; | |
| 118 | |||
| 119 | |||
| 120 | |||
| 121 | 0 | ▶ | sub get_set { |
|
Subroutine
get_set: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 122 | 0 | return @set; | |
| 123 | } | ||
| 124 | |||
| 125 | 2 | 1; # End of Quiz::Flashcards::Sets::Hiragana::Romaji_Simple | |