标签: phonetics

PHP中函数metaphone()和soundex()的实际用法是什么?

Metaphone和Soundex是用于通过英语发音索引字符串的语音算法.

你曾经使用过标准PHP库中存在的函数metaphone()soundex()吗?

做什么的?这些功能的实际用法是什么?

php indexing metaphone phonetics

4
推荐指数
1
解决办法
2326
查看次数

使用C#程序从praat获取值

我有一个用C#编写的程序和由praat(phonetics软件)计算的值.我已经有一个使用praatcon.exe运行的praat脚本,它在Windows控制台(cmd.exe)上打印结果.我可以在C#应用程序中使用此结果吗?怎么样?

或者有更好的方法来获得结果,例如使用命令"sentocket"?怎么用这个?

编辑:它适用于以下代码:

ProcessStartInfo si = new ProcessStartInfo();
si.FileName = "praatcon.exe"; //name of the handle program from sysinternals
//assumes that it is in the exe directory or in your path
//environment variable

//the following three lines are required to be able to read the output (StandardOutput)
//and hide the exe window. 
si.RedirectStandardOutput = true;
si.WindowStyle = ProcessWindowStyle.Hidden;
si.UseShellExecute = false;

si.Arguments = "-a example.praat filename.wav"; //you can specify whatever parameters praatcon.exe needs here; -a is mandatory!

//these 4 lines …
Run Code Online (Sandbox Code Playgroud)

.net c# phonetics

4
推荐指数
1
解决办法
1059
查看次数

如果给出一个输入字,如何生成一个发音相似的单词列表?

当你拼错谷歌中的一个单词时(例如"appples"),它会为你提供现在熟悉的"你的意思是:苹果 "的建议.

根据搜索结果的相关性排除Google猜测您的意图的能力,我如何开发一个听起来相同的单词列表?

这些词不一定是英语,也不一定存在.因此,举例来说,如果我给输入"漏洞",我会找回一个列表,其中包括:"整体","hola","妓女","角色","磨牙"等...

我猜可能有一些在线的东西可以开发这个列表,但我找不到任何东西.如果没有站点,并且可以使用Perl完成,是否有CPAN模块可以帮助我这样做?

perl words auto-generate phonetics

3
推荐指数
1
解决办法
2664
查看次数

invalid_argument_exception","re​​ason":"[phonetic] 的过滤器类型 [phonetic] 未知

我在elasticsearch索引器模块中遇到错误。我已经使用magento2安装了elasticsearch版本7.9。

{"error":{"root_cause":[{"type":"illegal_argument_exception","reason":"Unknown filter type [phonetic] for [phonetic]"}],"type":"illegal_argument_exception","reason":"Unknown filter type [phonetic] for [phonetic]"},"status":400}
Run Code Online (Sandbox Code Playgroud)

我该如何解决这个问题?

version phonetics elasticsearch magento2

2
推荐指数
1
解决办法
4420
查看次数