Files
playbook/docs/tsl/reference/catalog/base/19_phonetic.md
T
cshandClaude Opus 4.6 8b93311cae 📝 docs(tsl): clarify syntax constraints and enhance test infrastructure
- Add TSF file naming constraint to syntax/02_core_model.md
- Clarify semicolon rules: syntax facts vs style preferences
- Separate control flow end semicolon rules (syntax allows both)
- Add function body semicolon requirements to syntax/05_functions_and_calls.md
- Move style preferences to code_style.md (control flow end semicolons)
- Remove cross-references from syntax docs to maintain independence
- Enhance Gitea workflow emoji for better CI output readability
- Fix CI test path from tests/ to test/
- Organize agent test results under test/agent/result/ directory
- Add complete Chinese translation of test cases (test_cases_zh.md)
- Clean up .gitignore to use unified test/agent/result/ directory
- Remove obsolete agent test artifacts (REPORTS_LOCATION.md, old results)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-06-21 17:04:50 +08:00

3.9 KiB

基础函数 - 发音相关函数

文档类型:函数事实页 是否可直接用于生成代码:是;本页函数条目均包含参数表 遇到不确定时:回到 ../base.md../../index.md

发音相关函数

getPYStringList()

用途:获取拼音字符串列表对象。

参数个数:0 返回值:拼音字符串列表对象

参数位置 参数名 必填 接收类型 说明

soundEx(test_str1, arg2)

用途:字符串相关函数。

参数个数:2 返回值:字符串

参数位置 参数名 必填 接收类型 说明
1 test_str1 字符串 按源文档示例顺序传入
2 arg2 整数 按源文档示例顺序传入

soundexInt(test_str1, arg2)

用途:字符串相关函数。

参数个数:2 返回值:字符串

参数位置 参数名 必填 接收类型 说明
1 test_str1 字符串 按源文档示例顺序传入
2 arg2 整数 按源文档示例顺序传入

decodeSoundexInt(arg1)

用途:字符串相关函数。

参数个数:1 返回值:字符串

参数位置 参数名 必填 接收类型 说明
1 arg1 任意值 按源文档示例顺序传入

soundexWord(arg1)

用途:发音相关函数相关函数。

参数个数:1 返回值:处理结果

参数位置 参数名 必填 接收类型 说明
1 arg1 任意值 按源文档示例顺序传入

decodeSoundexWord(arg1)

用途:发音相关函数相关函数。

参数个数:1 返回值:处理结果

参数位置 参数名 必填 接收类型 说明
1 arg1 任意值 按源文档示例顺序传入

soundexSimilar(arg1, arg2)

用途:字符串相关函数。

参数个数:2 返回值:字符串

参数位置 参数名 必填 接收类型 说明
1 arg1 字符串 按源文档示例顺序传入
2 arg2 字符串 按源文档示例顺序传入

soundexCompare(arg1, arg2)

用途:字符串相关函数。

参数个数:2 返回值:字符串

参数位置 参数名 必填 接收类型 说明
1 arg1 字符串 按源文档示例顺序传入
2 arg2 字符串 按源文档示例顺序传入

soundexProc(arg1, arg2)

用途:字符串相关函数。

参数个数:2 返回值:字符串

参数位置 参数名 必填 接收类型 说明
1 arg1 字符串 按源文档示例顺序传入
2 arg2 字符串 按源文档示例顺序传入

ansiResemblesText(arg1, arg2)

用途:字符串相关函数。

参数个数:2 返回值:字符串

参数位置 参数名 必填 接收类型 说明
1 arg1 字符串 按源文档示例顺序传入
2 arg2 字符串 按源文档示例顺序传入