From 58cc5a7b3ddba5aab9b8849f21158cf22c6acc9b Mon Sep 17 00:00:00 2001 From: cschan Date: Tue, 11 Jul 2023 20:40:11 +0800 Subject: [PATCH 1/2] Adds more translations of NormalDist objects. --- library/statistics.po | 40 +++++++++++++++++++++++++++++++--------- 1 file changed, 31 insertions(+), 9 deletions(-) diff --git a/library/statistics.po b/library/statistics.po index 270f984ef4..9995b4d7b0 100644 --- a/library/statistics.po +++ b/library/statistics.po @@ -9,7 +9,7 @@ msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2023-05-03 00:17+0000\n" -"PO-Revision-Date: 2023-07-10 23:56+0800\n" +"PO-Revision-Date: 2023-07-11 20:38+0800\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" "tw)\n" @@ -968,8 +968,8 @@ msgid "" "2019 assuming that they had kept the pace." msgstr "" "舉例來說,我們可以使用 `Monty Python 系列電影的上映日期 `_\\ 來預測至 2019 年為止,假設他們保持固" -"定的製作速度,應該會產生的 Monty Python 電影的累計數量。" +"wikipedia.org/wiki/Monty_Python#Films>`_\\ 來預測至 2019 年為止,假設他們保持" +"固定的製作速度,應該會產生的 Monty Python 電影的累計數量。" #: ../../library/statistics.rst:710 msgid "" @@ -978,9 +978,9 @@ msgid "" "line passing through the origin. Since the *intercept* will always be 0.0, " "the underlying linear function simplifies to:" msgstr "" -"若將 *proportional* 設為 True,則假設自變數 *x* 與應變數" -" *y* 是直接成比例的,資料座落在通過原點的一直線上。由於 *intercept* " -"始終為 0.0,因此線性函式可簡化如下:" +"若將 *proportional* 設為 True,則假設自變數 *x* 與應變數 *y* 是直接成比例的," +"資料座落在通過原點的一直線上。由於 *intercept* 始終為 0.0,因此線性函式可簡化" +"如下:" #: ../../library/statistics.rst:716 msgid "*y = slope \\* x + noise*" @@ -996,11 +996,11 @@ msgstr "例外" #: ../../library/statistics.rst:726 msgid "A single exception is defined:" -msgstr "" +msgstr "定義了一個單一的例外:" #: ../../library/statistics.rst:730 msgid "Subclass of :exc:`ValueError` for statistics-related exceptions." -msgstr "" +msgstr "用於統計相關異常的 :exc:`ValueError` 的子類別。" #: ../../library/statistics.rst:734 msgid ":class:`NormalDist` objects" @@ -1013,6 +1013,9 @@ msgid "" "Courses/1997-98/101/ranvar.htm>`_. It is a class that treats the mean and " "standard deviation of data measurements as a single entity." msgstr "" +":class:`NormalDist` 是一種用於建立與操作\\ `隨機變數 (random variable) " +"`_ 的常態分布的工" +"具。它是一個將量測資料的平均數與標差視為單一實體的類別。" #: ../../library/statistics.rst:742 msgid "" @@ -1020,6 +1023,8 @@ msgid "" "wikipedia.org/wiki/Central_limit_theorem>`_ and have a wide range of " "applications in statistics." msgstr "" +"常態分布源自於\\ `中央極限定理 (Central Limit Theorem) `_,在統計學中有著廣泛的應用。" #: ../../library/statistics.rst:748 msgid "" @@ -1027,34 +1032,44 @@ msgid "" "`_ and *sigma* represents the " "`standard deviation `_." msgstr "" +"此方法會回傳一個新 *NormalDist* 物件,其中 *mu* 代表\\ `算數平均數 `_\\ 而 *sigma* 代表\\ `標準差 " +"`_。" #: ../../library/statistics.rst:753 msgid "If *sigma* is negative, raises :exc:`StatisticsError`." -msgstr "" +msgstr "若 *sigma* 為負值,則引發 :exc:`StatisticsError`。" #: ../../library/statistics.rst:757 msgid "" "A read-only property for the `arithmetic mean `_ of a normal distribution." msgstr "" +"常態分布中的\\ `算數平均數 `_\\ 唯讀屬性。" #: ../../library/statistics.rst:763 msgid "" "A read-only property for the `median `_ of a normal distribution." msgstr "" +"常態分布中的\\ `中位數 `_\\ 唯讀屬性。" #: ../../library/statistics.rst:769 msgid "" "A read-only property for the `mode `_ of a normal distribution." msgstr "" +"常態分布中的\\ `眾數 `_\\ 唯" +"讀屬性。" #: ../../library/statistics.rst:775 msgid "" "A read-only property for the `standard deviation `_ of a normal distribution." msgstr "" +"常態分布中的\\ `標準差 `_\\ 唯讀屬性。" #: ../../library/statistics.rst:781 msgid "" @@ -1062,12 +1077,16 @@ msgid "" "Variance>`_ of a normal distribution. Equal to the square of the standard " "deviation." msgstr "" +"常態分布中的\\ `變異數 `_\\ 唯讀屬" +"性。" #: ../../library/statistics.rst:787 msgid "" "Makes a normal distribution instance with *mu* and *sigma* parameters " "estimated from the *data* using :func:`fmean` and :func:`stdev`." msgstr "" +"利用 :func:`fmean` 與 :func:`stdev` 函式,估計 *data* 的 *mu* 與 *sigma* 參" +"數,建立一個常態分佈的實例。" #: ../../library/statistics.rst:790 msgid "" @@ -1077,6 +1096,9 @@ msgid "" "point to estimate a central value and at least two points to estimate " "dispersion." msgstr "" +"*data* 可以是任何 :term:`iterable`,並應包含可以轉換為 :class:`float` 的值。" +"若 *data* 沒有包含至少兩個以上的元素在內,則引發 :exc:`StatisticsError`,因為" +"至少需要一個點來估計中央值且至少需要兩個點來估計分散情形。" #: ../../library/statistics.rst:798 msgid "" From 1e2f2e5608951465966c35df7f73b74930afe14f Mon Sep 17 00:00:00 2001 From: cschan Date: Wed, 12 Jul 2023 23:28:59 +0800 Subject: [PATCH 2/2] Small fixes --- library/statistics.po | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/library/statistics.po b/library/statistics.po index 9995b4d7b0..b7926b56dd 100644 --- a/library/statistics.po +++ b/library/statistics.po @@ -9,7 +9,7 @@ msgstr "" "Project-Id-Version: Python 3.11\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2023-05-03 00:17+0000\n" -"PO-Revision-Date: 2023-07-11 20:38+0800\n" +"PO-Revision-Date: 2023-07-12 23:16+0800\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" "tw)\n" @@ -911,7 +911,7 @@ msgid "" "linear relationship." msgstr "" "回傳兩輸入的 `Pearson 相關係數 (Pearson’s correlation coefficient) `。Pearson 相關係數 " +"en.wikipedia.org/wiki/Pearson_correlation_coefficient>`_。Pearson 相關係數 " "*r* 的值介於 -1 與 +1 之間。它衡量線性關係的強度與方向,其中 +1 表示強烈正線" "性相關,-1 表示強烈負線性相關,而 0 表示無線性關係。" @@ -1000,7 +1000,7 @@ msgstr "定義了一個單一的例外:" #: ../../library/statistics.rst:730 msgid "Subclass of :exc:`ValueError` for statistics-related exceptions." -msgstr "用於統計相關異常的 :exc:`ValueError` 的子類別。" +msgstr ":exc:`ValueError` 的子類別,用於和統計相關的異常。" #: ../../library/statistics.rst:734 msgid ":class:`NormalDist` objects" @@ -1015,7 +1015,7 @@ msgid "" msgstr "" ":class:`NormalDist` 是一種用於建立與操作\\ `隨機變數 (random variable) " "`_ 的常態分布的工" -"具。它是一個將量測資料的平均數與標差視為單一實體的類別。" +"具。它是一個將量測資料的平均數與標準差視為單一實體的類別。" #: ../../library/statistics.rst:742 msgid "" @@ -1086,7 +1086,7 @@ msgid "" "estimated from the *data* using :func:`fmean` and :func:`stdev`." msgstr "" "利用 :func:`fmean` 與 :func:`stdev` 函式,估計 *data* 的 *mu* 與 *sigma* 參" -"數,建立一個常態分佈的實例。" +"數,建立一個常態分布的實例。" #: ../../library/statistics.rst:790 msgid "" pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy