跳转至

Soundex

Supported in: Batch, Faster

Compute the soundex encoding (a phonetic representation) for a word.

Expression categories: String

Declared arguments

  • Expression: Input string (ideally a single word) to be encoded.
    Expression\

Output type: String

Examples

Example 1: Base case

Argument values:

  • Expression: input_string
input_string Output
cat C300
caat C300
two T000
too T000
to T000
four F600
for F600
fore F600
fur F600
meow M000
me ow M000

Example 2: Null case

Argument values:

  • Expression: input_string
input_string Output
null null
empty string empty string


中文翻译

Soundex

支持:批处理(Batch)、快速处理(Faster)

计算单词的Soundex编码(一种语音表示形式)。

表达式类别: 字符串(String)

声明的参数

  • 表达式(Expression): 待编码的输入字符串(理想情况下为单个单词)。
    表达式\<字符串>(Expression\)

输出类型: 字符串(String)

示例

示例1:基本情况

参数值:

  • 表达式(Expression): input_string
input_string 输出(Output)
cat C300
caat C300
two T000
too T000
to T000
four F600
for F600
fore F600
fur F600
meow M000
me ow M000

示例2:空值情况

参数值:

  • 表达式(Expression): input_string
input_string 输出(Output)
null null
空字符串(empty string) 空字符串(empty string)