xharrietのあれこれ。

日英翻訳 大絶賛独学中

バベル 翻訳力診断(コンピュータ)(4)

これで最後だ!

とりあえず通して読んでみて送ってみよう。

 

Comparing and Sorting Strings

The fstremp and fstrempi functions allow applications to compare and sort strings based on the language specified by the user. These functions take into account different alphabetic orderings, diacritical marks, and special cases that require character compression or expansion.

The comparison done by fstremp and fstrempi is based on a primary value and a secondary value. Each character has a primary and secondary value. When performing the comparison of two strings, the primary value takes precedence over the secondary value. That is, the secondary value is ignored unless a comparison based on primary value shows the strings as equivalent.

文字列の比較とソート
関数fstrempとfstrempiは、ユーザが指定した言語に基づいて文字列を比較・ソートする機能を提供する。この関数はさまざまなアルファベット順や区別的発音符、文字の圧縮または拡張が必要となるような特殊なケースについても考慮している。

fstrempとfstrempiによる比較は、第一の値と第二の値に基づいて行われる。各文字は、第一の値と第二の値を持つ。二つの文字列の比較を行う際には、第一の値が第二の値より優先される。すなわち、第一の値に基づいた比較によって文字列同士が等価と証明されない限り、第二の値は無視されるのである。

 

よし、初めてなのでどうなることやらだが、送ってみよう。

ぽちっと。