-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathPrompts.py
More file actions
318 lines (265 loc) · 11.6 KB
/
Prompts.py
File metadata and controls
318 lines (265 loc) · 11.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
from datetime import datetime
from pydub import AudioSegment
from tts import en_audio
AMZ_VOICE_INSTRUCTOR: str = "Matthew"
def create_prompts() -> dict[str, AudioSegment]:
print("Creating instructor prompts")
prompts: dict[str, AudioSegment] = dict()
voice: str = AMZ_VOICE_INSTRUCTOR
tag: str = "also_hear"
text: str = "You will also hear the following:"
prompts[tag] = en_audio(voice, text)
tag: str = "also_hear_short"
text: str = "Also:"
prompts[tag] = en_audio(voice, text)
tag: str = "produced"
text: str = f"""
This audio file was produced on
{datetime.today().strftime("%B %d, %Y")}
by Michael Conrad."
"""
prompts[tag] = en_audio(voice, text)
tag: str = "first_phrase"
text: str = "Here is your first phrase to learn for this session. Listen carefully:"
prompts[tag] = en_audio(voice, text)
tag: str = "language_culture_1"
text: str = """
Language and culture which are not shared and taught openly and freely will die.
If our language and culture die, then, as a people, so do we.
"""
prompts[tag] = en_audio(voice, text)
tag = "copy_1"
text = f"Production copyright {datetime.utcnow().year} by Michael Conrad."
prompts[tag] = en_audio(voice, text)
tag = "copy_by_sa"
text = f"""
This work is licensed to you under the Creative Commons Attribution Share-Alike license.
To obtain a copy of this license please look up Creative Commons online.
You are free to share, copy, and distribute this work.
If you alter, build upon, or transform this work, you must use the same license on the resulting work.
"""
prompts[tag] = en_audio(voice, text)
tag = "copy_by_nc"
text = f"""
This work is licensed to you under the Creative Commons Attribution Non-Commercial license.
To obtain a copy of this license please look up Creative Commons online.
You are free to share and adapt this work. If you alter, build upon, or transform this work,
you must use the same license on the resulting work.
"""
prompts[tag] = en_audio(voice, text)
tag = "is_derived"
text = "This is a derived work."
prompts[tag] = en_audio(voice, text)
tag = "is_derived_cherokee_nation"
text = """
This is a derived work. Permission to use the original Cherokee audio and print materials for
non-commercial use granted by "The Cherokee Nation of Oklahoma".
"""
prompts[tag] = en_audio(voice, text)
tag = "walc1_attribution"
text = """
Original audio copyright 2018 by the Cherokee Nation of Oklahoma.
The contents of the "We are Learning Cherokee Level 1" textbook were developed by Durbin Feeling,
Patrick Rochford, Anna Sixkiller, David Crawler, John Ross, Dennis Sixkiller, Ed Fields, Edna Jones,
Lula Elk, Lawrence Panther, Jeff Edwards, Zachary Barnes, Wade Blevins, and Roy Boney, Jr.";
"""
prompts[tag] = en_audio(voice, text)
tag = "intro_1"
text = """
In these sessions, you will learn Cherokee phrases by responding with each phrase's English
translation. Each new phrase will be introduced with it's English translation. You will then be
prompted to translate different phrases into English. It is important to respond aloud.
"""
prompts[tag] = en_audio(voice, text)
tag = "intro_3"
text = """
In these sessions, you will learn by responding aloud in English.
Each phrase will be introduced with an English translation.
As the sessions progress you will be prompted to translate different phrases into English.
It is important to respond aloud.
"""
prompts[tag] = en_audio(voice, text)
tag = "intro_2"
text = """
About the pronoun, "you". In English this pronoun can refer to
1 person, 2 people, or more people.
Cherokee has three different forms for, "you".
The different forms are determined by whether you mean
"one of you", "both of you", or "three or more of you".
When you hear the word, "you", assume it refers to one person
unless it is accompanied by
the word, "both", or the word, "all".
"""
prompts[tag] = en_audio(voice, text)
tag = "keep_going"
text = """
Do not become discouraged while doing these sessions.
Note: It is important to not do tomorrow's session today.
The learning method of graduated interval recall that this material uses
requires that you only do a single day's session each day.
You may repeat a day's session more than once in a day.
To reiterate.
On day one only do the session for day one.
You can repeat day one's session as many times as you like during the day.
On day two only do the session for day two.
You can repeat day two's session as many times as you like during the day.
On day three only do the session for day three.
You can repeat day three's session as many times as you like during the day.
And so forth.
"""
prompts[tag] = en_audio(voice, text)
tag = "begin"
text = "Let us begin."
prompts[tag] = en_audio(voice, text)
tag = "learn_sounds_first"
text = """
Only after you have learned how the words in Cherokee sound and how they are used together will you
be able to speak Cherokee. This material is designed to assist with learning these sounds and word
combinations. This is the way young children learn their first language or languages.
"""
prompts[tag] = en_audio(voice, text)
tag = "new_phrase"
text = "Here is a new phrase to learn. Listen carefully:"
prompts[tag] = en_audio(voice, text)
tag = "new_phrase_short"
text = "Here is a new phrase:"
prompts[tag] = en_audio(voice, text)
tag = "translate"
text = "Translate into English:"
prompts[tag] = en_audio(voice, text)
tag = "translate_short"
text = "Translate:"
prompts[tag] = en_audio(voice, text)
tag = "listen_again"
text = "Here is the phrase again:"
prompts[tag] = en_audio(voice, text)
tag = "listen_again_short"
text = "Again:"
prompts[tag] = en_audio(voice, text)
tag = "its_translation_is"
text = "Here it is in English:"
prompts[tag] = en_audio(voice, text)
tag = "in_english"
text = "In English:"
prompts[tag] = en_audio(voice, text)
tag = "concludes_this_exercise"
text = "This concludes this audio exercise."
prompts[tag] = en_audio(voice, text)
tag = "cll1-v3"
text = "Cherokee Language Lessons 1. 3rd Edition."
prompts[tag] = en_audio(voice, text)
tag = "cll2"
text = "Cherokee Language Lessons 2. 1st Edition."
prompts[tag] = en_audio(voice, text)
tag = "ced-sentences"
text = "Example sentences. Cherokee English Dictionary, 1st edition."
prompts[tag] = en_audio(voice, text)
tag = "bound-pronouns"
text = "Bound Pronouns Training."
prompts[tag] = en_audio(voice, text)
tag = "ced-mco"
text = "Cherokee English Dictionary Vocabulary Cram."
prompts[tag] = en_audio(voice, text)
tag = "osiyo-tohiju-then-what"
text = "Conversation Starters in Cherokee."
prompts[tag] = en_audio(voice, text)
tag = "wwacc"
text = "Advanced Conversational Cherokee."
prompts[tag] = en_audio(voice, text)
tag = "walc-1"
text = "We are learning Cherokee - Book 1."
prompts[tag] = en_audio(voice, text)
tag = "animals"
text = "Cherokee animal names."
prompts[tag] = en_audio(voice, text)
tag = "cll1-v3-about"
text = """
These audio exercise sessions complement the book 'Cherokee Language Lessons 1', 3rd Edition, by Michael Conrad.
Each set of audio exercises should be completed before working through the
corresponding material in the book. The audio will indicate when you should
switch to the book exercises.
By the time you complete the assigned sessions, you should have
little to no difficulty with reading the Cherokee in the chapter texts.
"""
prompts[tag] = en_audio(voice, text)
tag = "cll2-about"
text = """
These audio exercise sessions complement the book 'Cherokee Language Lessons 2', 1st Edition, by Michael Conrad.
Each set of audio exercises should be completed before working through the
corresponding material in the book. The audio will indicate when you should
switch to the book exercises.
"""
prompts[tag] = en_audio(voice, text)
tag = "beginning-cherokee"
text = "Beginning Cherokee. 2nd Edition."
prompts[tag] = en_audio(voice, text)
tag = "beginning-cherokee-about"
text = """
These audio exercise sessions were created to complement
the book 'Beginning Cherokee', 2nd Edition, by Ruth Bradley Holmes and Betty Sharp Smith.
Each set of audio exercises should be completed before working through the
corresponding lessons in the book.
The audio will indicate when you should switch to the book exercises.
By the time you complete the assigned audio exercises, you should have
little to no difficulty with reading the Cherokee in the chapter texts.
"""
prompts[tag] = en_audio(voice, text)
tag = "ced-sentences-about"
text = """
These audio exercise sessions complement the 'Cherokee English Dictionary', 1st Edition.
Vocabulary is based on the example sentences from each dictionary entry.
"""
prompts[tag] = en_audio(voice, text)
tag = "bound-pronouns-about"
text = """
These sessions closely follow the vocabulary from the Bound Pronouns app.
These exercises are designed to assist
with learning the different singular
and plural bound pronoun combinations.
"""
prompts[tag] = en_audio(voice, text)
tag = "two-men-hunting-about"
text = """
These sessions closely follow the vocabulary from the story entitled, 'Two Hunters',
as recorded in the Cherokee English Dictionary, 1st edition.
By the time you have completed these exercises you should be able to understand
the full spoken story without any difficulty.
"""
prompts[tag] = en_audio(voice, text)
tag = "ced-mco-about"
text = """
These sessions use vocabulary taken from the Cherokee English Dictionary, 1st Edition.
The pronunciations are based on the pronunciation markings as found in the dictionary.
"""
prompts[tag] = en_audio(voice, text)
tag = "osiyo-tohiju-then-what-about"
text = """
These sessions closely follow the book entitled, 'Conversation Starters in Cherokee', by Prentice Robinson.
The pronunciations are based on the pronunciation markings as found in the official
Cherokee English Dictionary - 1st Edition.
"""
prompts[tag] = en_audio(voice, text)
tag = "wwacc-about"
text = """
These sessions closely follow the booklet entitled, 'Advanced Conversational Cherokee', by Willard Walker.
"""
prompts[tag] = en_audio(voice, text)
tag = "walc-1-about"
text = """
These sessions closely follow the lesson material 'We are learning Cherokee - Book 1'.
"""
prompts[tag] = en_audio(voice, text)
tag = "animals-about"
text = """
These sessions closely follow the vocabulary from the Animals app.
"""
prompts[tag] = en_audio(voice, text)
tag = "short-speech"
text = """
Much the same way that English speakers shorten phrases such as “do not” into “don't” and “can not” into “can't”,
Cherokee speakers also shorten phrases by dropping certain vowels, syllables, and words in everyday speech.
Vocabulary will be introduced using the long form of the word or phrase.
Many challenges will be using a mixture of full and short forms.
"""
prompts[tag] = en_audio(voice, text)
return prompts