怎么低调做人高调做事:大虾请进,高分翻译

来源:百度文库 编辑:神马品牌网 时间:2024/04/25 08:27:57
The deviation of a text with respect to a language frequency table can be computed in the following manner. For each letter ('a'-'z') determine the difference between the expected count and the actual count in the text. The deviation is the sum of the squares of these differences. Blank spaces (' ') and line breaks (each element of text is a line) are ignored when calculating percentages.
前面一段是:In written languages, some symbols may appear more often than others. Expected frequency tables have been defined for many languages. For each symbol in a language, a frequency table will contain its expected percentage in a typical passage written in that language. For example, if the symbol "a" has an expected percentage of 5, then 5% of the letters in a typical passage will be "a". If a passage contains 350 letters, then 'a' has an expected count of 17.5 for that passage (17.5 = 350 * 5%). Please note that the expected count can be a non-integer value.

以下是我自己翻的:在书面语中,经常出现一些符号。许多语言已经解释了预期频率表。对于一种语言中的每一个符号,预期频率表将会给出此符号在用该语言书写的一段代表性的短文中出现的频率。举个例子,如果“a”这个符号的预期频率为5,那么在一段短文中“a”将占所有字母数量的5%。若短文有350个字母,则此短文含“a”的预期数量为17.5(17.5 = 350 * 5%)。请注意预期数量可以不是整数。

"aimjoshua",我发消息给你了,请对照一下翻译,太感谢你了!

关于语言频率表文本的“差异”(注:deviation)可以用以下列的方式计算.每一个字母(从A到z)分别决定了其在文本中的预期值与实际值之间的“差值”(注:difference)。“差异”(注:deviation)正是的这些“差值”(注:difference)的平方的总和。在计算百分比的过程中,空格(“ ”)和连接线(其在文本中的值都为一条线)忽略不计。

In written languages, some symbols may appear more often than others. Expected frequency tables have been defined for many languages. For each symbol in a language, a frequency table will contain its expected percentage in a typical passage written in that language. For example, if the symbol "a" has an expected percentage of 5, then 5% of the letters in a typical passage will be "a". If a passage contains 350 letters, then 'a' has an expected count of 17.5 for that passage (17.5 = 350 * 5%). Please note that the expected count can be a non-integer value.

在书面语言中,有些字符是经常出现的。很多语言都已经详细制定了预期的频率表。语言中的每一个字符,都将在频率表中体现,在典型的写作方式下,其预期的百分比值。举个例子,如果字符a有一个5%的预期百分比值,那么此典型的文本下将有5%的字符为a.如果一个文本包含有350个字符,那么,预期此文本中将有的17.5个a.(17.5 = 350 * 5%).请注意,预期值可以不是整数。

我没有看你的翻译,又直接翻译的。
但你译的已经不错了。

-----------------------------------
第三段:
Each frequency table will be described as a concatenation of up to 16 strings of the form "ANN", where A is a lowercase letter ('a'-'z') and NN its expected frequency as a two-digit percentage between "00" (meaning 0%) and "99" (meaning 99%), inclusive. Any letter not appearing in a table is not expected to appear in a typical passage (0%). You are given a string[] frequencies of frequency tables of different languages. Return the lowest deviation the given text has with respect to the frequency tables.

每个频率表都将被描述为"'ANN'形式的最多16串字符的串联",在那里,A是个小写字母('a'-'z')。NN形式的字符,其预期值为两位数,从00(0%)到99(99%). 未在频率表中出现的任何字符,预期其不会在典型文本中出现(0%)。你将在不同语言中获得一整串的不同的频率表。请从不同的语言频率表中获取最低的“差异”值。

挪用文本对语言频率表可在下列方式计算. 每封信('A'-'z')分别确定预期会与实际计算的文本. 挪用款项的广场是这些分歧. 空白(')和休息线(每一项案文线)的百分比来计算了.

在文字、符号有些可能比别人多. 图表预期频率已确定为多国语言. 每一种语言符号,频率表将包含一个典型的比例预计通过书写这种语言. 例如,如果符号"A"有5预计百分比,在5%的信件通过一个典型就是"". 如果有一段350封信,那么'A'有预期的17.5点的关(350*5=17.5%). 请注意,预计可算非整数价值.