Skip to content

Commit 010898f

Browse files
authored
Adds more translations of NormalDist object of library/statistics.po (#473)
* Adds more translations of NormalDist object of library/statistics.po * Small fixes
1 parent e8a7a0e commit 010898f

File tree

1 file changed

+37
-4
lines changed

1 file changed

+37
-4
lines changed

library/statistics.po

+37-4
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-12 23:16+0800\n"
12+
"PO-Revision-Date: 2023-07-14 00:44+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"
@@ -1000,7 +1000,7 @@ msgstr "定義了一個單一的例外:"
10001000

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

10051005
#: ../../library/statistics.rst:734
10061006
msgid ":class:`NormalDist` objects"
@@ -1105,13 +1105,17 @@ msgid ""
11051105
"Generates *n* random samples for a given mean and standard deviation. "
11061106
"Returns a :class:`list` of :class:`float` values."
11071107
msgstr ""
1108+
"給定平均值與標準差,產生 *n* 個隨機樣本。回傳一個由 :class:`float` 組成的 :"
1109+
"class:`list`。"
11081110

11091111
#: ../../library/statistics.rst:801
11101112
msgid ""
11111113
"If *seed* is given, creates a new instance of the underlying random number "
11121114
"generator. This is useful for creating reproducible results, even in a "
11131115
"multi-threading context."
11141116
msgstr ""
1117+
"若有給定 *seed*,則會建立一個以此為基礎的亂數產生器實例。這對於建立可重現的結"
1118+
"果很有幫助,即使在多執行緒情境下也是如此。"
11151119

11161120
#: ../../library/statistics.rst:807
11171121
msgid ""
@@ -1120,6 +1124,10 @@ msgid ""
11201124
"random variable *X* will be near the given value *x*. Mathematically, it is "
11211125
"the limit of the ratio ``P(x <= X < x+dx) / dx`` as *dx* approaches zero."
11221126
msgstr ""
1127+
"利用\\ `機率密度函式 (probability density function, pdf) <https://en."
1128+
"wikipedia.org/wiki/Probability_density_function>`_ 計算隨機變數 *X* 接近給定"
1129+
"值 *x* 的相對概度 (relative likelihood)。數學上,它是比率 ``P(x <= X < "
1130+
"x+dx) / dx`` 在 *dx* 趨近於零時的極限值。"
11231131

11241132
#: ../../library/statistics.rst:813
11251133
msgid ""
@@ -1128,6 +1136,8 @@ msgid ""
11281136
"\"density\"). Since the likelihood is relative to other points, its value "
11291137
"can be greater than ``1.0``."
11301138
msgstr ""
1139+
"相對概度是樣本出現在狹窄範圍的機率,除以該範圍的寬度(故稱為「密度」)計算而"
1140+
"得。由於概度是相對於其它點,故其值可大於 ``1.0``。"
11311141

11321142
#: ../../library/statistics.rst:820
11331143
msgid ""
@@ -1136,6 +1146,9 @@ msgid ""
11361146
"random variable *X* will be less than or equal to *x*. Mathematically, it "
11371147
"is written ``P(X <= x)``."
11381148
msgstr ""
1149+
"利用\\ `累積分布函式 (cumulative distribution function, cdf) <https://en."
1150+
"wikipedia.org/wiki/Cumulative_distribution_function>`_ 計算隨機變數 *X* 小於"
1151+
"或等於 *x* 的機率。數學上,它記為 ``P(X <= x)``。"
11391152

11401153
#: ../../library/statistics.rst:827
11411154
msgid ""
@@ -1145,33 +1158,46 @@ msgid ""
11451158
"statisticshowto.datasciencecentral.com/inverse-distribution-function/>`_ "
11461159
"function. Mathematically, it is written ``x : P(X <= x) = p``."
11471160
msgstr ""
1161+
"計算反累計分布函式 (inverse cumulative distribution function),也稱為\\ `分位"
1162+
"數函式 (quantile function) <https://en.wikipedia.org/wiki/"
1163+
"Quantile_function>`_ 或者\\ `百分率點 (percent-point) <https://web.archive."
1164+
"org/web/20190203145224/https://www.statisticshowto.datasciencecentral.com/"
1165+
"inverse-distribution-function/>`_ 函式。數學上記為 ``x : P(X <= x) = p``。"
11481166

11491167
#: ../../library/statistics.rst:833
11501168
msgid ""
11511169
"Finds the value *x* of the random variable *X* such that the probability of "
11521170
"the variable being less than or equal to that value equals the given "
11531171
"probability *p*."
11541172
msgstr ""
1173+
"找出一個值 *x*,使得隨機變數 *X* 小於或等於該值的機率等於給定的機率 *p*。"
11551174

11561175
#: ../../library/statistics.rst:839
11571176
msgid ""
11581177
"Measures the agreement between two normal probability distributions. Returns "
11591178
"a value between 0.0 and 1.0 giving `the overlapping area for the two "
11601179
"probability density functions <https://www.rasch.org/rmt/rmt101r.htm>`_."
11611180
msgstr ""
1181+
"衡量兩常態分布之間的一致性。回傳一個介於 0.0 與 1.0 之間的值,表示\\ `兩機率"
1182+
"密度函式的重疊區域 <https://www.rasch.org/rmt/rmt101r.htm>`_。"
11621183

11631184
#: ../../library/statistics.rst:846
11641185
msgid ""
11651186
"Divide the normal distribution into *n* continuous intervals with equal "
11661187
"probability. Returns a list of (n - 1) cut points separating the intervals."
11671188
msgstr ""
1189+
"將常態分布分割成 *n* 個具有相等機率的連續區間。回傳一個 list,包含 (n-1) 個切"
1190+
"割區間的分隔點。"
11681191

11691192
#: ../../library/statistics.rst:850
11701193
msgid ""
11711194
"Set *n* to 4 for quartiles (the default). Set *n* to 10 for deciles. Set "
11721195
"*n* to 100 for percentiles which gives the 99 cuts points that separate the "
11731196
"normal distribution into 100 equal sized groups."
11741197
msgstr ""
1198+
"將 *n* 設定為 4 表示四分位數(預設值)。將 *n* 設定為 10 表示十分位數。將 "
1199+
"*n* 設定為 100 表示百分位數,這會產生 99 個分隔點,將常態分布切割成大小相等的"
1200+
"群組。"
11751201

11761202
#: ../../library/statistics.rst:856
11771203
msgid ""
@@ -1180,13 +1206,18 @@ msgid ""
11801206
"deviations above or below the mean of the normal distribution: ``(x - "
11811207
"mean) / stdev``."
11821208
msgstr ""
1209+
"計算\\ `標準分數 (Standard Score) <https://www.statisticshowto.com/"
1210+
"probability-and-statistics/z-score/>`_,用以描述在常態分布中,*x* 高出或低於"
1211+
"平均數幾個標準差:``(x - mean) / stdev``。"
11831212

11841213
#: ../../library/statistics.rst:864
11851214
msgid ""
11861215
"Instances of :class:`NormalDist` support addition, subtraction, "
11871216
"multiplication and division by a constant. These operations are used for "
11881217
"translation and scaling. For example:"
11891218
msgstr ""
1219+
":class:`NormalDist` 的實例支援對常數的加法、減法、乘法與除法。這些操作用於平"
1220+
"移與縮放。例如:"
11901221

11911222
#: ../../library/statistics.rst:874
11921223
msgid ""
@@ -1205,11 +1236,11 @@ msgstr ""
12051236

12061237
#: ../../library/statistics.rst:897
12071238
msgid ":class:`NormalDist` Examples and Recipes"
1208-
msgstr ""
1239+
msgstr ":class:`NormalDist` 範例與錦囊妙計"
12091240

12101241
#: ../../library/statistics.rst:899
12111242
msgid ":class:`NormalDist` readily solves classic probability problems."
1212-
msgstr ""
1243+
msgstr ":class:`NormalDist` 可以輕易地解決經典的機率問題。"
12131244

12141245
#: ../../library/statistics.rst:901
12151246
msgid ""
@@ -1225,6 +1256,8 @@ msgid ""
12251256
"Find the `quartiles <https://en.wikipedia.org/wiki/Quartile>`_ and `deciles "
12261257
"<https://en.wikipedia.org/wiki/Decile>`_ for the SAT scores:"
12271258
msgstr ""
1259+
"找出 SAT 分數的\\ `四分位數 <https://en.wikipedia.org/wiki/Quartile>`_\\ 以及"
1260+
"\\ `十分位數 <https://en.wikipedia.org/wiki/Decile>`_:"
12281261

12291262
#: ../../library/statistics.rst:924
12301263
msgid ""

0 commit comments

Comments
 (0)