line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Quiz::Flashcards::Sets::Katakana::Romaji_Simple;
|
2
|
|
|
|
|
|
|
|
3
|
2
|
|
|
2
|
|
45547
|
use warnings;
|
|
2
|
|
|
|
|
6
|
|
|
2
|
|
|
|
|
68
|
|
4
|
2
|
|
|
2
|
|
11
|
use strict;
|
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
67
|
|
5
|
2
|
|
|
2
|
|
2066
|
use utf8;
|
|
2
|
|
|
|
|
19
|
|
|
2
|
|
|
|
|
12
|
|
6
|
|
|
|
|
|
|
|
7
|
2
|
|
|
2
|
|
65
|
use base 'Exporter';
|
|
2
|
|
|
|
|
5
|
|
|
2
|
|
|
|
|
2748
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
our @EXPORT = (qw( get_set ));
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
=head1 NAME
|
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
Quiz::Flashcards::Sets::Katakana::Romaji_Simple - Flashcard set with the basic 46 japanese katakana
|
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
=head1 VERSION
|
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
Version 0.01
|
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=cut
|
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
our $VERSION = '0.01';
|
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
=head1 DESCRIPTION
|
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
This module will provide L 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 is installed.
|
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=head1 SYNOPSIS
|
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
This module is used by L and not on its own. Refer to the source code of L 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, C, C, C, C, C.
|
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=cut
|
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=head1 AUTHOR
|
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
Christian Walde, C<< >>
|
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
=head1 BUGS
|
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
Please report any bugs or feature requests to C, or through
|
48
|
|
|
|
|
|
|
the web interface at L. 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 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
|
|
|
|
|
|
|
my $ab = "Quiz::Flashcards::Audiobanks::Japanese_Syllables";
|
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
my @set;
|
72
|
|
|
|
|
|
|
push @set, { question => "ア", complexity => 1, answer => "a", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "a.wav" };
|
73
|
|
|
|
|
|
|
push @set, { question => "イ", complexity => 1, answer => "i", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "i.wav" };
|
74
|
|
|
|
|
|
|
push @set, { question => "ウ", complexity => 1, answer => "u", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "u.wav" };
|
75
|
|
|
|
|
|
|
push @set, { question => "エ", complexity => 1, answer => "e", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "e.wav" };
|
76
|
|
|
|
|
|
|
push @set, { question => "オ", complexity => 1, answer => "o", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "o.wav" };
|
77
|
|
|
|
|
|
|
push @set, { question => "カ", complexity => 2, answer => "ka", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "ka.wav" };
|
78
|
|
|
|
|
|
|
push @set, { question => "キ", complexity => 2, answer => "ki", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "ki.wav" };
|
79
|
|
|
|
|
|
|
push @set, { question => "ク", complexity => 2, answer => "ku", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "ku.wav" };
|
80
|
|
|
|
|
|
|
push @set, { question => "ケ", complexity => 2, answer => "ke", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "ke.wav" };
|
81
|
|
|
|
|
|
|
push @set, { question => "コ", complexity => 2, answer => "ko", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "ko.wav" };
|
82
|
|
|
|
|
|
|
push @set, { question => "サ", complexity => 3, answer => "sa", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "sa.wav" };
|
83
|
|
|
|
|
|
|
push @set, { question => "シ", complexity => 3, answer => "shi", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "shi.wav" };
|
84
|
|
|
|
|
|
|
push @set, { question => "ス", complexity => 3, answer => "su", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "su.wav" };
|
85
|
|
|
|
|
|
|
push @set, { question => "セ", complexity => 3, answer => "se", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "se.wav" };
|
86
|
|
|
|
|
|
|
push @set, { question => "ソ", complexity => 3, answer => "so", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "so.wav" };
|
87
|
|
|
|
|
|
|
push @set, { question => "タ", complexity => 4, answer => "ta", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "ta.wav" };
|
88
|
|
|
|
|
|
|
push @set, { question => "チ", complexity => 4, answer => "chi", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "chi.wav" };
|
89
|
|
|
|
|
|
|
push @set, { question => "ツ", complexity => 4, answer => "tsu", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "tsu.wav" };
|
90
|
|
|
|
|
|
|
push @set, { question => "テ", complexity => 4, answer => "te", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "te.wav" };
|
91
|
|
|
|
|
|
|
push @set, { question => "ト", complexity => 4, answer => "to", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "to.wav" };
|
92
|
|
|
|
|
|
|
push @set, { question => "ナ", complexity => 5, answer => "na", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "na.wav" };
|
93
|
|
|
|
|
|
|
push @set, { question => "ニ", complexity => 5, answer => "ni", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "ni.wav" };
|
94
|
|
|
|
|
|
|
push @set, { question => "ヌ", complexity => 5, answer => "nu", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "nu.wav" };
|
95
|
|
|
|
|
|
|
push @set, { question => "ネ", complexity => 5, answer => "ne", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "ne.wav" };
|
96
|
|
|
|
|
|
|
push @set, { question => "ノ", complexity => 5, answer => "no", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "no.wav" };
|
97
|
|
|
|
|
|
|
push @set, { question => "ハ", complexity => 6, answer => "ha", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "ha.wav" };
|
98
|
|
|
|
|
|
|
push @set, { question => "ヒ", complexity => 6, answer => "hi", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "hi.wav" };
|
99
|
|
|
|
|
|
|
push @set, { question => "フ", complexity => 6, answer => "fu", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "hu.wav" };
|
100
|
|
|
|
|
|
|
push @set, { question => "ヘ", complexity => 6, answer => "he", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "he.wav" };
|
101
|
|
|
|
|
|
|
push @set, { question => "ホ", complexity => 6, answer => "ho", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "ho.wav" };
|
102
|
|
|
|
|
|
|
push @set, { question => "マ", complexity => 7, answer => "ma", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "ma.wav" };
|
103
|
|
|
|
|
|
|
push @set, { question => "ミ", complexity => 7, answer => "mi", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "mi.wav" };
|
104
|
|
|
|
|
|
|
push @set, { question => "ム", complexity => 7, answer => "mu", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "mu.wav" };
|
105
|
|
|
|
|
|
|
push @set, { question => "メ", complexity => 7, answer => "me", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "me.wav" };
|
106
|
|
|
|
|
|
|
push @set, { question => "モ", complexity => 7, answer => "mo", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "mo.wav" };
|
107
|
|
|
|
|
|
|
push @set, { question => "ラ", complexity => 8, answer => "ra", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "ra.wav" };
|
108
|
|
|
|
|
|
|
push @set, { question => "リ", complexity => 8, answer => "ri", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "ri.wav" };
|
109
|
|
|
|
|
|
|
push @set, { question => "ル", complexity => 8, answer => "ru", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "ru.wav" };
|
110
|
|
|
|
|
|
|
push @set, { question => "レ", complexity => 8, answer => "re", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "re.wav" };
|
111
|
|
|
|
|
|
|
push @set, { question => "ロ", complexity => 8, answer => "ro", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "ro.wav" };
|
112
|
|
|
|
|
|
|
push @set, { question => "ワ", complexity => 9, answer => "wa", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "wa.wav" };
|
113
|
|
|
|
|
|
|
push @set, { question => "ヲ", complexity => 9, answer => "wo", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "o.wav" };
|
114
|
|
|
|
|
|
|
push @set, { question => "ヤ", complexity => 9, answer => "ya", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "ya.wav" };
|
115
|
|
|
|
|
|
|
push @set, { question => "ユ", complexity => 9, answer => "yu", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "yu.wav" };
|
116
|
|
|
|
|
|
|
push @set, { question => "ヨ", complexity => 9, answer => "yo", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "yo.wav" };
|
117
|
|
|
|
|
|
|
push @set, { question => "ン", complexity => 9, answer => "n", question_type => "text", answer_type => "text", audiobank => $ab, audio_file => "n.wav" };
|
118
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
|
121
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
|
124
|
|
|
|
|
|
|
sub get_set {
|
125
|
0
|
|
|
0
|
1
|
|
return @set;
|
126
|
|
|
|
|
|
|
}
|
127
|
|
|
|
|
|
|
|
128
|
|
|
|
|
|
|
1; # End of Quiz::Flashcards::Sets::Katakana::Romaji_Simple
|