Skip to content

Commit ca1538f

Browse files
authored
Adds more translations of library/statistics.po objects. (#470)
* Adds more translations of NormalDist objects. * Small fixes
1 parent 938280c commit ca1538f

File tree

1 file changed

+32
-10
lines changed

1 file changed

+32
-10
lines changed

library/statistics.po

+32-10
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ msgstr ""
99
"Project-Id-Version: Python 3.11\n"
1010
"Report-Msgid-Bugs-To: \n"
1111
"POT-Creation-Date: 2023-05-03 00:17+0000\n"
12-
"PO-Revision-Date: 2023-07-10 23:56+0800\n"
12+
"PO-Revision-Date: 2023-07-12 23:16+0800\n"
1313
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1414
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
1515
"tw)\n"
@@ -911,7 +911,7 @@ msgid ""
911911
"linear relationship."
912912
msgstr ""
913913
"回傳兩輸入的 `Pearson 相關係數 (Pearson’s correlation coefficient) <https://"
914-
"en.wikipedia.org/wiki/Pearson_correlation_coefficient>`。Pearson 相關係數 "
914+
"en.wikipedia.org/wiki/Pearson_correlation_coefficient>`_。Pearson 相關係數 "
915915
"*r* 的值介於 -1 與 +1 之間。它衡量線性關係的強度與方向,其中 +1 表示強烈正線"
916916
"性相關,-1 表示強烈負線性相關,而 0 表示無線性關係。"
917917

@@ -968,8 +968,8 @@ msgid ""
968968
"2019 assuming that they had kept the pace."
969969
msgstr ""
970970
"舉例來說,我們可以使用 `Monty Python 系列電影的上映日期 <https://en."
971-
"wikipedia.org/wiki/Monty_Python#Films>`_\\ 來預測至 2019 年為止,假設他們保持固"
972-
"定的製作速度,應該會產生的 Monty Python 電影的累計數量。"
971+
"wikipedia.org/wiki/Monty_Python#Films>`_\\ 來預測至 2019 年為止,假設他們保持"
972+
"固定的製作速度,應該會產生的 Monty Python 電影的累計數量。"
973973

974974
#: ../../library/statistics.rst:710
975975
msgid ""
@@ -978,9 +978,9 @@ msgid ""
978978
"line passing through the origin. Since the *intercept* will always be 0.0, "
979979
"the underlying linear function simplifies to:"
980980
msgstr ""
981-
"若將 *proportional* 設為 True,則假設自變數 *x* 與應變數"
982-
" *y* 是直接成比例的,資料座落在通過原點的一直線上。由於 *intercept* "
983-
"始終為 0.0,因此線性函式可簡化如下:"
981+
"若將 *proportional* 設為 True,則假設自變數 *x* 與應變數 *y* 是直接成比例的,"
982+
"資料座落在通過原點的一直線上。由於 *intercept* 始終為 0.0,因此線性函式可簡化"
983+
"如下:"
984984

985985
#: ../../library/statistics.rst:716
986986
msgid "*y = slope \\* x + noise*"
@@ -996,11 +996,11 @@ msgstr "例外"
996996

997997
#: ../../library/statistics.rst:726
998998
msgid "A single exception is defined:"
999-
msgstr ""
999+
msgstr "定義了一個單一的例外:"
10001000

10011001
#: ../../library/statistics.rst:730
10021002
msgid "Subclass of :exc:`ValueError` for statistics-related exceptions."
1003-
msgstr ""
1003+
msgstr ":exc:`ValueError` 的子類別,用於和統計相關的異常。"
10041004

10051005
#: ../../library/statistics.rst:734
10061006
msgid ":class:`NormalDist` objects"
@@ -1013,61 +1013,80 @@ msgid ""
10131013
"Courses/1997-98/101/ranvar.htm>`_. It is a class that treats the mean and "
10141014
"standard deviation of data measurements as a single entity."
10151015
msgstr ""
1016+
":class:`NormalDist` 是一種用於建立與操作\\ `隨機變數 (random variable) "
1017+
"<http://www.stat.yale.edu/Courses/1997-98/101/ranvar.htm>`_ 的常態分布的工"
1018+
"具。它是一個將量測資料的平均數與標準差視為單一實體的類別。"
10161019

10171020
#: ../../library/statistics.rst:742
10181021
msgid ""
10191022
"Normal distributions arise from the `Central Limit Theorem <https://en."
10201023
"wikipedia.org/wiki/Central_limit_theorem>`_ and have a wide range of "
10211024
"applications in statistics."
10221025
msgstr ""
1026+
"常態分布源自於\\ `中央極限定理 (Central Limit Theorem) <https://en.wikipedia."
1027+
"org/wiki/Central_limit_theorem>`_,在統計學中有著廣泛的應用。"
10231028

10241029
#: ../../library/statistics.rst:748
10251030
msgid ""
10261031
"Returns a new *NormalDist* object where *mu* represents the `arithmetic mean "
10271032
"<https://en.wikipedia.org/wiki/Arithmetic_mean>`_ and *sigma* represents the "
10281033
"`standard deviation <https://en.wikipedia.org/wiki/Standard_deviation>`_."
10291034
msgstr ""
1035+
"此方法會回傳一個新 *NormalDist* 物件,其中 *mu* 代表\\ `算數平均數 <https://"
1036+
"en.wikipedia.org/wiki/Arithmetic_mean>`_\\ 而 *sigma* 代表\\ `標準差 "
1037+
"<https://en.wikipedia.org/wiki/Standard_deviation>`_。"
10301038

10311039
#: ../../library/statistics.rst:753
10321040
msgid "If *sigma* is negative, raises :exc:`StatisticsError`."
1033-
msgstr ""
1041+
msgstr "若 *sigma* 為負值,則引發 :exc:`StatisticsError`。"
10341042

10351043
#: ../../library/statistics.rst:757
10361044
msgid ""
10371045
"A read-only property for the `arithmetic mean <https://en.wikipedia.org/wiki/"
10381046
"Arithmetic_mean>`_ of a normal distribution."
10391047
msgstr ""
1048+
"常態分布中的\\ `算數平均數 <https://en.wikipedia.org/wiki/"
1049+
"Arithmetic_mean>`_\\ 唯讀屬性。"
10401050

10411051
#: ../../library/statistics.rst:763
10421052
msgid ""
10431053
"A read-only property for the `median <https://en.wikipedia.org/wiki/"
10441054
"Median>`_ of a normal distribution."
10451055
msgstr ""
1056+
"常態分布中的\\ `中位數 <https://en.wikipedia.org/wiki/Median>`_\\ 唯讀屬性。"
10461057

10471058
#: ../../library/statistics.rst:769
10481059
msgid ""
10491060
"A read-only property for the `mode <https://en.wikipedia.org/wiki/"
10501061
"Mode_(statistics)>`_ of a normal distribution."
10511062
msgstr ""
1063+
"常態分布中的\\ `眾數 <https://en.wikipedia.org/wiki/Mode_(statistics)>`_\\ 唯"
1064+
"讀屬性。"
10521065

10531066
#: ../../library/statistics.rst:775
10541067
msgid ""
10551068
"A read-only property for the `standard deviation <https://en.wikipedia.org/"
10561069
"wiki/Standard_deviation>`_ of a normal distribution."
10571070
msgstr ""
1071+
"常態分布中的\\ `標準差 <https://en.wikipedia.org/wiki/"
1072+
"Standard_deviation>`_\\ 唯讀屬性。"
10581073

10591074
#: ../../library/statistics.rst:781
10601075
msgid ""
10611076
"A read-only property for the `variance <https://en.wikipedia.org/wiki/"
10621077
"Variance>`_ of a normal distribution. Equal to the square of the standard "
10631078
"deviation."
10641079
msgstr ""
1080+
"常態分布中的\\ `變異數 <https://en.wikipedia.org/wiki/Variance>`_\\ 唯讀屬"
1081+
"性。"
10651082

10661083
#: ../../library/statistics.rst:787
10671084
msgid ""
10681085
"Makes a normal distribution instance with *mu* and *sigma* parameters "
10691086
"estimated from the *data* using :func:`fmean` and :func:`stdev`."
10701087
msgstr ""
1088+
"利用 :func:`fmean` 與 :func:`stdev` 函式,估計 *data* 的 *mu* 與 *sigma* 參"
1089+
"數,建立一個常態分布的實例。"
10711090

10721091
#: ../../library/statistics.rst:790
10731092
msgid ""
@@ -1077,6 +1096,9 @@ msgid ""
10771096
"point to estimate a central value and at least two points to estimate "
10781097
"dispersion."
10791098
msgstr ""
1099+
"*data* 可以是任何 :term:`iterable`,並應包含可以轉換為 :class:`float` 的值。"
1100+
"若 *data* 沒有包含至少兩個以上的元素在內,則引發 :exc:`StatisticsError`,因為"
1101+
"至少需要一個點來估計中央值且至少需要兩個點來估計分散情形。"
10801102

10811103
#: ../../library/statistics.rst:798
10821104
msgid ""

0 commit comments

Comments
 (0)