From a95aa18dd79b93d4de7dcca56588d7bfc1b9dc3a Mon Sep 17 00:00:00 2001 From: Matt McKay Date: Mon, 21 Sep 2026 17:03:29 +1000 Subject: [PATCH] =?UTF-8?q?Apply=20the=20editor's=20ml#22=20answers=20to?= =?UTF-8?q?=20the=20reviewed=20pages:=20plurals=20and=20-=E0=B4=89?= =?UTF-8?q?=E0=B4=82=20commas?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adisankar's answers on #22 (2026-09-19): the plural of an English noun is the English plural plus the Malayalam suffix (Q2.2), and the comma between -ഉം items is always there, single words included (Q2.5). Six places on the already-reviewed pages go the other way; this brings them into line. matplotlib: function call-കളിൽ → function calls-ൽ; object-ുകൾ → objects (the vowel sign after a hyphen also rendered as a dotted circle in some fonts); simple-ഉം, convenient-ഉം. python_by_example: tasks-കൾ → tasks; clean-ഉം, consistent-ഉം; list-ഉം, `append`-ഉം. Left alone on purpose: functions line 279, logic-ുകളെ — "logics" is not natural English, so the form is the editor's to choose. Co-Authored-By: Claude Fable 5.1 --- lectures/matplotlib.md | 4 ++-- lectures/python_by_example.md | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lectures/matplotlib.md b/lectures/matplotlib.md index 1805144..a23396e 100644 --- a/lectures/matplotlib.md +++ b/lectures/matplotlib.md @@ -84,9 +84,9 @@ plt.plot(x, y, 'b-', linewidth=2) plt.show() ``` -ഇത് simple-ഉം convenient-ഉം ആണ്. പക്ഷേ കുറച്ചൊക്കെ പരിമിതികളും, Python-ന്റെ സാധാരണ ശൈലിയോട് പൊരുത്തപ്പെടാത്ത സ്വഭാവവും ഇതിനുണ്ട്. +ഇത് simple-ഉം, convenient-ഉം ആണ്. പക്ഷേ കുറച്ചൊക്കെ പരിമിതികളും, Python-ന്റെ സാധാരണ ശൈലിയോട് പൊരുത്തപ്പെടാത്ത സ്വഭാവവും ഇതിനുണ്ട്. -For example, ഇവിടുത്തെ function call-കളിൽ, programmer-നെ അറിയിക്കാതെ തന്നെ നിരവധി object-ുകൾ create ചെയ്യപ്പെടുകയും, അവ pass ചെയ്യപ്പെടുകയും ചെയ്യുന്നു. +For example, ഇവിടുത്തെ function calls-ൽ, programmer-നെ അറിയിക്കാതെ തന്നെ നിരവധി objects create ചെയ്യപ്പെടുകയും, അവ pass ചെയ്യപ്പെടുകയും ചെയ്യുന്നു. കാര്യങ്ങൾ കൂടുതൽ വ്യക്തമായി പ്രകടിപ്പിക്കുന്ന ഒരു programming style ആണ് Python programmers പൊതുവെ prefer ചെയ്യുന്നത്. (ഒരു code block-ൽ, `import this` എന്ന് type ചെയ്ത്, run ചെയ്യുക. തുടർന്ന് ലഭിക്കുന്ന output-ന്റെ രണ്ടാമത്തെ line നോക്കുക.) diff --git a/lectures/python_by_example.md b/lectures/python_by_example.md index 6f8c492..2e43239 100644 --- a/lectures/python_by_example.md +++ b/lectures/python_by_example.md @@ -92,7 +92,7 @@ plt.show() ഈ program-ന്റെ ആദ്യത്തെ രണ്ട് lines, external code libraries-ൽ നിന്നും functionality import ചെയ്യുന്നു. -ആദ്യത്തെ line {doc}`NumPy ` import ചെയ്യുന്നു — NumPy, താഴെ കൊടുത്തിരിക്കുന്ന പോലത്തെ tasks-കൾ ചെയ്യാനുള്ള ഒരു Python package ആണ്: +ആദ്യത്തെ line {doc}`NumPy ` import ചെയ്യുന്നു — NumPy, താഴെ കൊടുത്തിരിക്കുന്ന പോലത്തെ tasks ചെയ്യാനുള്ള ഒരു Python package ആണ്: * working with arrays (vectors and matrices) * common mathematical functions like `cos` and `sqrt` @@ -355,7 +355,7 @@ In fact, Python-ൽ, *എല്ലാ* code blocks-ഉം (അതായത്, l ഒരിക്കൽ ഇത് ശീലമായാൽ, ഇത് ഒരു നല്ല കാര്യമാണ്. -* clean-ഉം consistent-ഉം ആയ indentation വഴി readability improve ചെയ്യുന്നു +* clean-ഉം, consistent-ഉം ആയ indentation വഴി readability improve ചെയ്യുന്നു * മറ്റ് languages-ൽ ഉപയോഗിക്കുന്ന brackets അല്ലെങ്കിൽ end statements പോലുള്ള clutter remove ചെയ്യുന്നു On the other hand, ഇത് correct ആയി ഉപയോഗിക്കാൻ ഒരല്പം care ആവശ്യമാണ്. അതിനാൽ താഴെപ്പറയുന്ന കാര്യങ്ങൾ ഓർത്തിരിക്കുക: @@ -438,7 +438,7 @@ plt.show() ഈ numbers `for` loop വഴി fill ചെയ്യപ്പെടുന്നു. -തുടക്കത്തിൽ തന്നെ memory allocate ചെയ്യുന്നത്, Python list-ഉം `append`-ഉം ഉപയോഗിക്കുന്നതിനേക്കാൾ efficient ആണ് — കാരണം, രണ്ടാമത്തെ രീതിയിൽ (list, append), ഓരോ തവണയും storage space നൽകണമെന്ന് operating system-നോട് ആവശ്യപ്പെടേണ്ടി വരും. +തുടക്കത്തിൽ തന്നെ memory allocate ചെയ്യുന്നത്, Python list-ഉം, `append`-ഉം ഉപയോഗിക്കുന്നതിനേക്കാൾ efficient ആണ് — കാരണം, രണ്ടാമത്തെ രീതിയിൽ (list, append), ഓരോ തവണയും storage space നൽകണമെന്ന് operating system-നോട് ആവശ്യപ്പെടേണ്ടി വരും. Plot-ൽ നമ്മൾ ഒരു legend add ചെയ്തത് ശ്രദ്ധിക്കുക — exercises-ൽ നിങ്ങളോട് ഇത് ഉപയോഗിക്കാൻ ആവശ്യപ്പെടും.