我有一个用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) 当你拼错谷歌中的一个单词时(例如"appples"),它会为你提供现在熟悉的"你的意思是:苹果 "的建议.
根据搜索结果的相关性排除Google猜测您的意图的能力,我如何开发一个听起来相同的单词列表?
这些词不一定是英语,也不一定存在.因此,举例来说,如果我给输入"漏洞",我会找回一个列表,其中包括:"整体","hola","妓女","角色","磨牙"等...
我猜可能有一些在线的东西可以开发这个列表,但我找不到任何东西.如果没有站点,并且可以使用Perl完成,是否有CPAN模块可以帮助我这样做?
我在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)
我该如何解决这个问题?