-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy patharchived2019.html
More file actions
501 lines (468 loc) · 27.3 KB
/
archived2019.html
File metadata and controls
501 lines (468 loc) · 27.3 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
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
<!DOCTYPE html>
<html lang="en">
<head>
<link href="https://fonts.googleapis.com/css?family=Sarabun&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Prompt&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Kanit|Prompt&display=swap" rel="stylesheet">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<title>เรียนเขียนโปรแกรมจากศูนย์ - อักษรฯ จุฬาฯ</title>
<!-- Bootstrap core CSS -->
<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link href="vendor/bootstrap/css/custom.css" type="text/css" rel="stylesheet">
</head>
<body>
<!-- Page Content -->
<div class="jumbotron" style='padding: 120px'>
<div class="row justify-content-md-center" style='background-color:transparent'>
<div class="col-md-center">
<h1>การเขียนโปรแกรมเพื่อการประมวลผลภาษาธรรมชาติ</h1>
<h4>2209671 & 2209261 Programming for Natural Language Processing (Semester 1 2019)</h4>
<ul class="list-unstyled" style='font-size: 20px'>
<li>ภาควิชาภาษาศาสตร์ คณะอักษรศาสตร์ จุฬาลงกรณ์มหาวิทยาลัย</li>
<li>Linguistics Department - Faculty of Arts Chulalongkorn University</li>
</ul>
</div>
</div>
</div>
<div class="container">
<!-- Title -->
<!-- Course information -->
<div class="row">
<div class="col-md-6">
<h2>เรียนแล้วจะทำอะไรได้บ้าง</h2><br>
<p>จุดมุ่งหมายโดยรวมคือเรียนเขียนคำสั่งให้คอมพิวเตอร์ทำโน่นทำนี่ให้กับเรา
โดยจะเรียนไปถึงระดับที่ทำให้สามารถเขียนโปรแกรมด้วยภาษา Python ที่ช่วยทำประมวลข้อมูลทางภาษาในรูปแบบต่างๆ
ที่สำคัญๆ เรียนเสร็จควรจะทำพวกนี้ได้</p>
<ul>
<li>นับจำนวนคำและความถี่ของคำ </li>
<li>หา concordance และ collocation ของคำในคลังข้อมูล </li>
<li>แปลงรูปแบบของข้อมูลจาก text เป็น json ให้เหมาะสมกับการใช้</li>
<li>เขียนโปรแกรมดาวน์โหลดหรือขูดข้อมูลจากแหล่งต่างๆ เช่น บัญชี facebook ของตัวเอง wikipedia ทวิตเตอร์
หรือเว็บไซต์แหล่งข่าว และแปลงเป็นรูปแบบที่ง่ายต่อการวิเคราะห์ทางภาษาศาสตร์</li>
<li>ใช้ชุดเครื่องมือ (toolkit) ในการวิเคราะห์คำและประโยคโดยอัตโนมัติ</li>
</ul>
</div>
<div class="col-md-6">
<h2 class="mb-4">ผู้สอน<br>(ภาคต้น ปีการศึกษา 2562)</h2>
<p>Attapol Thamrongrattanarit x Chaya Hiruncharoenvate</p>
<p>อาจารย์ ดร.อรรถพล ธำรงรัตนฤทธิ์ x อาจารย์ ดร.ชญา หิรัญเจริญเวช</p>
<p>attapol.t@chula.ac.th x chaya.hirun@gmail.com</p>
</div>
</div>
<br>
<!-- Course materials -->
<div class="row">
<div class="col-md-12">
<h2>Course Material</h2>
<p>Video lectures in Thai: <a
href="https://www.youtube.com/channel/UCgNWcPsv0yC94HHVXLjyJ5Q?view_as=subscriber">ภาษาศาสตร์คอมพิวเตอร์
Youtube channel</a> ของอาจารย์อรรถพล | <a
href="https://www.youtube.com/playlist?list=PLyyEwPZh6aHonswACFytZDCeDxUNvreX-">playlist</a> ของวิชานี้</p>
<p>Textbook: Python ๑๐๑ โดยกิตติภณ พละการ, กิตติภพ พละการ, สมชาย ประสิทธิ์จูตระกูล และ สุกรี สินธุภิญโญ
ภาควิชาวิศวกรรมคอมพิวเตอร์ คณะวิศวกรรมศาสตร์ จุฬาลงกรณ์มหาวิทยาลัย | <a
href="https://www.cp.eng.chula.ac.th/books/python101/">ดาวน์โหลดฟรี</a> </p>
<p>Slides: จากการบรรยายทั้งหมดเก็บอยู่ใน <a
href="https://drive.google.com/drive/folders/1jVNxX07bIRyJtAZRIBCV2fTV36iOy7BQ?usp=sharing">Google Drive</a>
(ยืมมาจาก cs106ap.stanford.edu)</p>
</div>
</div>
<br>
<div class="row">
<div class="col-lg-12">
<h2>Course Schedule</h2>
<p>PA = Programming assignment</p>
<p>The schedule will be adjusted based on students' needs.</p>
<p><a href="https://colab.research.google.com/drive/1FU-A7-7R_erbGlYUL15G8nCg737WsJRF">เฉลย Lab exercise</a></p>
<p><a href="https://colab.research.google.com/drive/1FU-A7-7R_erbGlYUL15G8nCg737WsJRF">เฉลย Lab exercise
(extra)</a></p>
<p><a href="https://ponraw.ee/prognlp-quiz/">แบบฝึกหัด ไม่มีผลต่อคะแนน</a></p>
<div class='table-responsive'>
<table class="table table-hover">
<thead>
<tr>
<th>สัปดาห์</th>
<th>หัวข้อ</th>
<th>ต้องทำอะไรบ้าง</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>
<h6><b>Intro to Computational Thinking</b></h6>
<ul>
<li><code>while</code>, <code>if</code> statement </li>
<li>Decomposition</li>
</ul>
</td>
<td>
<p>Before class: Install Anaconda (<a
href='https://docs.google.com/document/d/15UdZINoQhB8zAWBCMKoAofSxQUmDMXoaz-iibF2IkZ4/edit?usp=sharing'>tutorial</a>)
</p>
<p>Slides:
<a href="https://drive.google.com/open?id=1yIxLRh4Ys8FbZXrtYghlnT5ivJMoiCWZ">Intro</a> |
<a href="https://drive.google.com/open?id=1DUoCV8M0d-VUf1bWMlEb-fFDNr1KM8Xc">Karel basics</a> |
<a href="https://drive.google.com/open?id=1g88_l0CWgeVipCXmi0xOLVPefZLEeV74">Function, if, while</a>
|
<a href="https://drive.google.com/open?id=1ClWSUFYgY4TMncSd1lOeRMoW1uFV_bX_">not</a>
</p>
<p>In-class: <a
href='https://docs.google.com/document/d/1mclLFFXXBz6YXPH_mCBObwWSUbLSrLq9a--lYtFCOPg/edit?usp=sharing'>Lab1</a>
</p>
<p>Homework: <a
href='https://docs.google.com/document/d/1rJpUGJO9zgMTyWfkMW77J2IvvrFrlA-xrpnTORaHWO8/edit?usp=sharing'>PA1
Karel</a></p>
</td>
</tr>
<tr>
<td>2</td>
<td>
<h6><b>variables, modules, functions</b></h6>
<ul>
<li><a href="https://youtu.be/9FuaVv-Pyt4">เขียนโปรแกรมภาษาไพธอนบน console</a></li>
<li><a href="https://youtu.be/GQsaZi6P76I">Variables ตัวแปร</a></li>
<li><a href="https://youtu.be/o_9mFOL_mpQ">Functions และ built-in functions</a></li>
<li><a href="https://youtu.be/MOJ4NHAQjd8">การเขียน function</a></li>
</ul>
</td>
<td>
<p>Before class: work on PA1</p>
<p>Slides:
<a href="https://drive.google.com/open?id=1KheGMPLMhDJJ0pObBWvwXvMIlIDflCcQ">Intro</a> |
<a href="https://drive.google.com/open?id=1dcnf-vPb3s3JfbBHlSQbmF8CxyWAsKzF">Decomposition</a> |
<a href="https://drive.google.com/open?id=1I81Hv0sTW5Rpq3OokFu4e2m5fDjaSHQd">Style, elif, and,
or</a> |
<a href="https://drive.google.com/open?id=1W-yiOfqRuPdKQzhdrUB07B9HN_DQY1Z1">Variables</a> |
<a href="https://drive.google.com/open?id=1jWWHdmQyNhFY68qbZnOn35nqipWiWVrU">Functions</a>
<p>In-class: <a
href='https://colab.research.google.com/drive/1f4UQh-U7U3kWh7tDVB1hd9HOV2zrEZP_'>Lab2</a>
<p>
</td>
</tr>
<tr>
<td>3</td>
<td>
<h6><b>Types, strings, methods, iterations</h6></b>
<ul>
<li><a href="https://youtu.be/TtQ8LVdgsTw">Importing modules</a></li>
<li><a href="https://youtu.be/byxjKMJ_syk">String</a></li>
<li><a href="https://youtu.be/KLcwx1N6ZW4">String operands</a></li>
<li><a href="https://youtu.be/ZvZbX_Awq3c">Interact กับผู้ใช้ด้วย print และ input</a></li>
<li><a href="https://youtu.be/dFaGO8T_mzA">Docstring</a></li>
<li><a href="https://youtu.be/atA78y0jUdw">String splicing</a></li>
<li><a href="https://youtu.be/_n3yrbbeu5E">Methods and string manipulation</a></li>
</ul>
</td>
<td>
<p>Before class: ดูวิดีโอและทำ quiz บน google classroom</p>
<p>Slides:
<a href="https://drive.google.com/open?id=17yVW1G_RPvIXoYhLDzINJm41JuyQC2QW">IDE</a> |
<a href="https://drive.google.com/open?id=1zMZNZBZ5Fk44k5iOCfmEt28-BtimzoZw">String</a>
</p>
<p>In-class: ทบทวนเนื้อหาจากวิดีโอ และทำ <a
href="https://colab.research.google.com/drive/1Cbsd5hXv5a7cCa_i8aq5npA3CncZjU9n">Lab3</a></p>
<p>Homework: <a
href="https://docs.google.com/document/d/12wCnZIh7cBinRsDnu5iQq18LgeP95X-ClMyZAjFlFN4/edit?usp=sharing">PA2
Simple Python programs part 1</a></p>
</td>
</tr>
<tr>
<td>4</td>
<td>
<h6><b>Unicode, memory tracing, ทบทวน</h6></b>
<ul>
<li><a href="https://youtu.be/tu37ChG-E48">Computer memory organization</a></li>
<li><a href="https://youtu.be/ZN0noiAgOas">Function tracing and stack frames</a></li>
<li><a href="https://youtu.be/R_V3qPfm5pY">ตัวอย่าง 1 ทบทวนและใช้เครื่องมือที่เรียนมา</a></li>
<li><a href="https://youtu.be/xKLBaNEv_WA">ตัวอย่าง 2 ทบทวนและใช้เครื่องมือที่เรียนมา</a></li>
<li><a href="https://youtu.be/Z-mElNsk6to">ตัวอย่าง 3 ใช้ for loop เพื่อ iterate string</a></li>
<li><a href="https://youtu.be/MPnnHWi6FZA">ตัวอย่าง 4 ใช้ for loop เพื่อ iterate string</a></li>
</ul>
</td>
<td>
<p>Before class: ดูวิดีโอ </p>
<p>Slides:
<a
href="https://drive.google.com/file/d/1U0LZcnNV_yYnlpr0QWqndYavu1EdO8k-/view?usp=sharing">Unicode</a>
|
<a href="https://drive.google.com/open?id=1bQa6diXwpjQCoypku0J6IB3yi53oNFDV">Memory Tracing</a> |
<a href="https://drive.google.com/open?id=1omUa_D9Eb_nocrVFtO4PVnUEUNDSzpoz">Review</a>
</p>
<p>In-class: <a
href="https://colab.research.google.com/drive/1htEszeXrxLmLUCSCo7Hta5cf0OrxwHyJ">Lab4</a></p>
<p>Homework: <a
href="https://drive.google.com/open?id=1cZfe36ksgzec0kizq-U0SnUFn5pSdhdSGINr4b8fxmk">PA3 Simple
Python programs part 2</a></p>
</td>
</tr>
<tr>
<td>5</td>
<td>
<h6><b>List and iterations</h6></b>
<ul>
<li><a href="https://youtu.be/okwtmuwOcso">Data structure: List</a></li>
<li><a href="https://youtu.be/498T92HrHPc">List methods</a></li>
<li><a href="https://youtu.be/9v0fP-XxtnA">Function mapping (optional)</a></li>
<li><a href="https://youtu.be/BdicdSC-0MQ">For loop over indices</a></li>
<li><a href="https://youtu.be/QtOE_pUL1j8">While loop</a></li>
<li><a href="https://youtu.be/2T1_0eLYPAQ">ตัวอย่าง 1 iterate list ของคำ</a></li>
<li><a href="https://youtu.be/3fO3yQL5D9I">ตัวอย่าง 2 split string</a></li>
</ul>
</td>
<td>
<p>Before class: ดูวิดีโอ</p>
<p>Slide:
<a href="https://drive.google.com/open?id=1NX_41gG5ZCD1gSIxUmHGBt6e-6P7Ihto">Data structure:
List</a> |
<a href="https://drive.google.com/open?id=1r0MYw-OBP6V25rT3yi9B9pA-7Mj2TnV0">List programming
patterns</a>
</p>
<p>In-class: Exam 1 (เนื้อหา week 1-3), <a
href="https://colab.research.google.com/drive/1K5H6COHptPchEywqn9F68IQpF5PUSoTL">Lab5</a></p>
</td>
</tr>
<tr>
<td>6</td>
<td>
<h6><b>Tuple; Nested list: List of lists, list of tuples</h6></b>
<ul>
<li><a href="https://youtu.be/CxRoXBWgE2s">Data structure: Tuple</a></li>
<li><a href="https://youtu.be/CX5y8ZB_fl0">Sorting a list of tuples</a></li --!>
<li><a href="https://youtu.be/hhuzLVt9-Lk">Nested list</a></li>
<li><a href="https://youtu.be/M3BUoBVOEFc">Nested loop</a></li>
<li><a href="https://youtu.be/vW5zcQSVGhs">Parallel list</a></li>
</ul>
</td>
<td>
<p>Before class: ดูวิดีโอและทำ quiz บน google classroom</p>
<p>In-class: เฉลย Exam 1 | <a
href="https://colab.research.google.com/drive/1XYx_CRJHdI4pHYJBRID3HiLz3ki7AxUY">Lab6</a></p>
<p>Homework: <a
href="https://docs.google.com/document/d/1UspjsRshYPpkgqz5eW3EY3X6MbLhRcupec4HLM0dPbI/edit?usp=sharing">ตัวอย่างโจทย์
Exam 2</a>
</td>
</tr>
<tr>
<td>7</td>
<td>
<h6><b>File IO; Dictionaries</h6></b>
<ul>
<li><a href="https://youtu.be/hn3cwm0Kvps">Data structure: Dictionary</a></li>
<li><a href="https://youtu.be/7LZgQB53lsw">เรียนรู้จากตัวอย่าง 1: อ่านจากไฟล์
นับคำนิราศเมืองแกลง</a></li>
<li><a href="https://youtu.be/hWccha5z_Dg">เรียนรู้จากตัวอย่าง 2: เขียนลงไฟล์ หา concordance</a>
</li>
<li><a href="https://youtu.be/UjJRs7AlTLw">เรียนรู้จากตัวอย่าง 3: dictionary
ใช้นับการกระจายตัวของคำ</a></li>
<li><a href="code/week5 code.zip">Code และ data จากตัวอย่าง</a></li>
</ul>
</td>
<td>
<p>Before class: ดูวิดีโอและทำ quiz บน google classroom </p>
<p>
Slides:
<a href="https://drive.google.com/open?id=18dcoxg9qucRqNvW_UtjWh34vgzZSxuVj">File IO</a> |
<a href="https://drive.google.com/open?id=1OsLd6ITWUxsocYtaT25sIQ6CupVAZF0_">Dictionary</a>
</p>
<p>In-class: <a
href='https://colab.research.google.com/drive/1scDK01DADqtA205GvrcvipIOF2T99rra'>Lab7</a></p>
<p>Homework: <a
href='https://docs.google.com/document/d/1VI5pug9D917U1yTSaup5lwmN9_Qe-c51JjOdOVkBi4s/edit'>PA4
Jane</a></p>
</td>
</tr>
<tr>
<td>8</td>
<td>
<h6><b>Regular expression + UNIX</h6></b>
</td>
<td>
<p>ไม่มีเรียน พิธีรับปริญญา</p>
<p>Homework: </p>
<p><a
href='https://docs.google.com/document/d/1Pnnm9RjGzO_NSyewHZYAM7J9Q5yiFxOIB7Z-wVet_O8/edit#heading=h.82n577u549aa'>
Regular expression and UNIX exercises (Lab 8 - 9)
</a></p>
<p><a
href='https://colab.research.google.com/drive/1wzWxuT-EcmAUSdpKJPaINkThGamdw7uo#scrollTo=jvZkMG70OZNS'>Python
RegEx Exercise</a></p>
</td>
</tr>
<tr>
<td>9</td>
<td>
<h6><b>Midterm week</h6></b>
</td>
<td>
<p>Exam 2 (เนื้อหา week 4-6)</p>
<p>สถานที่: BRK302</p>
<p>วัน: October 10th, 2019</p>
<p>เวลา: 10:00 - 11:00</p>
<p>
Homework: <a
href='https://docs.google.com/document/d/1qYOOQC_af3-rr_Jb1sH_3-AFVvsAKuOVFhOZ4jsjY8g'>PA5
Chatbot</a> |
<a href='https://nozomiyamada.github.io/eliza'>Demo Website</a></p>
</td>
</tr>
<tr>
<td>10</td>
<td>
<h6><b>Set, Regex in Python, Console program</h6></b>
<ul>
<li><a href="https://youtu.be/9LuzO68lY3g">Set</a></li>
<li><a href="https://youtu.be/la8XLivFKys">ตัวอย่างการใช้ Set</a></li>
<li><a href="https://youtu.be/nqI10qMSFeI">ตัวอย่างการใช้ operations บน Set</a></li>
</ul>
</td>
<td>
<p>Slides:
<a href="https://drive.google.com/open?id=1oRoDQ9pgYVwQ9lTy-cmmHDEUJiR9XIbV">Command Line</a> |
<a href="https://drive.google.com/open?id=1mAzY2rWLBK_kBh8JEqHmlSHQCYpmCz9b">RegEx</a> |
<a href="https://drive.google.com/open?id=1jMgxK8vP8IQkttQvI6l3uy11YNsN5-T0">Set</a>
</p>
<p>In-class: <a href="https://colab.research.google.com/drive/1X03URsn-82VKCA-l9Lyk3QLHLzr8bc5y">Lab
10</a></p>
<p>
<p>
</td>
</tr>
<tr>
<td>11</td>
<td>
<h6><b>Nested data structures: dictionaries of tuples, lists, dictionaries</h6></b>
<ul>
<li><a href="https://youtu.be/WZXQJXE2W60">Nested dictionaries</a></li>
</ul>
</td>
<td>
<p>Before class: ดูวิดีโอและทำ quiz บน google classroom</p>
<p>Slides: <a
href="https://docs.google.com/presentation/d/1ztXVuxB4RAz1ZiEUW3ar9eqRwnkgv41I5tTJYK_023g/edit?usp=sharing">Nested
data structures</a>
<p>In-class: <a
href="https://colab.research.google.com/drive/1MWZY36LcsDMOgDCECUDUwJP6zq14M5tE#scrollTo=UGED9LVmda66">Lab
11</a></p>
<p>Homework: <a
href="https://docs.google.com/document/d/1sEJx-Xwui6KINaLix67uEBGkHz9jaB91emSK7MSsh_o/">ตัวอย่างโจทย์
Exam3</a></p>
</td>
</tr>
<tr>
<td>12</td>
<td>
<h6><b>Web technology, Serialization, and API</h6></b>
<ul>
<li><a href="https://youtu.be/2-fdXMyogKw">Serialization</a></li>
<li><a href="https://www.youtube.com/watch?v=kBXQZMmiA4s">HTTP HTML (สามารถเปิด subtitle
ภาษาไทยได้)</a></li>
<li><a href="https://www.youtube.com/watch?v=s7wmiS2mSXY">API คืออะไร (เป็นภาษาอังกฤษ)</a></li>
<li><a href="https://youtu.be/M4XuU0lpm2M">API Call demo</a></li>
</ul>
</td>
<td>
<p>Before class: ดูวิดีโอและทำ quiz บน google classroom</p>
<p>Slides:
<a href="https://drive.google.com/open?id=1kkkMeL892DYfySgcF0csy3waprL-ByrJ">Web Technology</a> |
<a href="https://colab.research.google.com/drive/15zq5TUIJDTshSck-lTPf4yKioAJh0T4Z">Demo</a>
</p>
<p>In-class: <a
href="https://colab.research.google.com/drive/1n11pjpJtjuqoiE244tEroK_UNS_IvCKF#scrollTo=_iDSDMBB-ghb">Lab
12</a></p>
</td>
</tr>
<tr>
<td>13</td>
<td>
<h6><b>Introduction to NLP</h6></b>
</td>
<td>
<p>Before class: </p>
<p>Slides: <a
href="https://docs.google.com/presentation/d/1c9y_xzBfLM1EY_C10X6eNEsZAXOBM04wDPYmoP0lhVE/edit?usp=sharing">Intro
to NLP</a> </p>
<p>In-class: Exam 3 (เนื้อหา week 7-11),
<a href="https://colab.research.google.com/drive/1p5EzcL5YF-49PgftVyMZ8IwIYJpf5jMJ">Lab13</a>
</p>
</td>
</tr>
<tr>
<td>14</td>
<td>
<h6><b>Object-oriented Programming</h6></b>
<ul>
<li><a href="https://youtu.be/hFwiMnqd8iA">การสร้างและimport module</a></li>
<li><a href="https://youtu.be/7SWzgLRYll4">Classes and Objects</a></li>
<li><a href="https://youtu.be/WB3N7iB0eDs">Methods</a></li>
<li><a href="https://youtu.be/Ucz9bNRKHuI">ตัวอย่างการเขียน class และ method </a></li>
<li><a href="https://youtu.be/6Pf1iSaUDu4">Subclasses and Inheritance</a></li>
<li><a href="https://youtu.be/jdd5DNXNl0A">ตัวอย่างการใช้ subclass</a></li>
<li><a href="code/tweet.py">tweet.py</a> | <a href="code/corpus.py">corpus.py</a> |
<a href="code/text_container.py">text_container.py</a>
</li>
</ul>
</td>
<td>
<p>Before class: ดูวิดีโอและทำ quiz บน google classroom</p>
<p>Slides: <a
href="https://drive.google.com/open?id=18brMpUKwF2wP6snmjKyXBP11QNKrezNv">Object-Oriented
Programming</a></p>
<p>In-class: เฉลย Exam 3, <a href="https://drive.google.com/open?id=1kogx5c5r5LniTWPZW4f5Z5sfFlGuE0B3ZrTuwep0k3s">แนวข้อสอบ Exam 4</a>, <a href="https://colab.research.google.com/drive/1uVfzaR1TciWuApt4fZaC2w82PKIqzHcA">Lab14</a></p>
<p>Homework: <a
href="https://docs.google.com/document/d/1AGFVrOmRoctLuHw0-BWWXy0MeBuiPAdxdR3Hnw7yOr8/edit">PA6</a>
</p>
</td>
</tr>
<tr>
<td>15</td>
<td>
<h6><b>Lambdas, list comprehension, and sorting</h6></b>
<ul>
<li><a href="https://youtu.be/bKHMih6Dap8">List comprehension</a> |
<a href="code/week8demos/list_comprehension.py">code</a>
</li>
<li><a href="https://youtu.be/YNtI3ZyiZK4">List filtering and comprehension</a> |
<a href="code/week8demos/list_filtering.py">code</a>
</li>
<li><a href="https://youtu.be/hnNiQ-gJ1Z0">Dictionary comprehension</a> |
<a href="code/week8demos/dict_comprehension.py">code</a>
</li>
</ul>
</td>
<td>
<p>Slides: <a
href="https://drive.google.com/file/d/1i9WJP972c--4YCvAOfR9wsDQxG308_OT/view">Comprehensions</a> |
<a
href="https://drive.google.com/file/d/1JshG6n-eot12g_G83clddhsA67bb02vG/view">Lambdas and sort</a>
</p>
<p>In-class: <a href="https://colab.research.google.com/drive/1kme2nQE37eRsM6QDLTa_5fuHA2rLW2ib">Lab
15</a></p>
</td>
</tr>
<tr>
<td>16</td>
<td>
<h6><b>Wrap up</h6></b>
</td>
<td>
<p>Slides: <a href="https://docs.google.com/presentation/d/14rSlnOyutScPxDONDdYtEZY8xUdMyFEkv32RXh4f4yI/edit?usp=sharing">Conclusions</a></p>
<p>In-class: Exam 4</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<!-- Course information -->
<br>
</div>
</div>
<!-- Bootstrap core JavaScript -->
<script src="vendor/jquery/jquery.min.js"></script>
<script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
</body>
</html>