Skip to content

Commit e5e028b

Browse files
committed
Run test on CI for .NET Client
1 parent e0f6c06 commit e5e028b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

native_client/dotnet/DeepSpeechConsole/Program.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,10 @@ static void Main(string[] args)
7070
if(hotwords != null)
7171
{
7272
Console.WriteLine($"Adding hot-words {hotwords}");
73-
string[] word_boosts = hotwords.split(",");
73+
string[] word_boosts = hotwords.Split(",");
7474
foreach(string word_boost in word_boosts)
7575
{
76-
string[] word = word_boost.split(":");
76+
string[] word = word_boost.Split(":");
7777
model.AddHotWord(word[0], float.Parse(word[1]));
7878
}
7979
}

taskcluster/tc-netframework-ds-tests.sh

+2
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,5 @@ DS_BINARY_FILE="DeepSpeechConsole.exe"
2929
ensure_cuda_usage "$2"
3030

3131
run_netframework_inference_tests
32+
33+
run_hotword_tests

0 commit comments

Comments
 (0)