We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0f6c06 commit e5e028bCopy full SHA for e5e028b
native_client/dotnet/DeepSpeechConsole/Program.cs
@@ -70,10 +70,10 @@ static void Main(string[] args)
70
if(hotwords != null)
71
{
72
Console.WriteLine($"Adding hot-words {hotwords}");
73
- string[] word_boosts = hotwords.split(",");
+ string[] word_boosts = hotwords.Split(",");
74
foreach(string word_boost in word_boosts)
75
76
- string[] word = word_boost.split(":");
+ string[] word = word_boost.Split(":");
77
model.AddHotWord(word[0], float.Parse(word[1]));
78
}
79
taskcluster/tc-netframework-ds-tests.sh
@@ -29,3 +29,5 @@ DS_BINARY_FILE="DeepSpeechConsole.exe"
29
ensure_cuda_usage "$2"
30
31
run_netframework_inference_tests
32
+
33
+run_hotword_tests
0 commit comments