Skip to content

Commit

Permalink
fix spell, demo and workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ksyeo1010 committed Nov 20, 2023
1 parent b8e2f69 commit 1c1e940
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dotnet-demos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
working-directory: binding/dotnet

- name: Add binding to demo
run: dotnet add package -s ../../../binding/dotnet/Cheetah/bin/Release Cheetah
run: dotnet add package -s ../../../binding/dotnet/Cheetah/bin/Release Picovoice.Cheetah
# ******************************************************

- name: Dotnet build micdemo
Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:
working-directory: binding/dotnet

- name: Add binding to demo
run: dotnet add package -s ../../../binding/dotnet/Cheetah/bin/Release Cheetah
run: dotnet add package -s ../../../binding/dotnet/Cheetah/bin/Release Picovoice.Cheetah
# ******************************************************

- name: Dotnet build micdemo
Expand Down
2 changes: 1 addition & 1 deletion binding/dotnet/Cheetah/Cheetah.cs
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ private Cheetah(

IntPtr accessKeyPtr = Utils.GetPtrFromUtf8String(accessKey);
IntPtr modelPathPtr = Utils.GetPtrFromUtf8String(modelPath);

pv_set_sdk("dotnet");

CheetahStatus status = pv_cheetah_init(
Expand Down
2 changes: 1 addition & 1 deletion binding/dotnet/Cheetah/CheetahException.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ namespace Pv
public class CheetahException : Exception
{
private readonly string[] _messageStack;

public CheetahException() { }

public CheetahException(string message) : base(message) { }
Expand Down
2 changes: 1 addition & 1 deletion binding/dotnet/CheetahTest/MainTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ public void TestProcess(
Assert.IsTrue(GetErrorRate(transcript, referenceTranscript) < targetErrorRate);
}
}

[TestMethod]
[DynamicData(nameof(TestParameters))]
public void TestProcessWithPunctuation(
Expand Down
2 changes: 1 addition & 1 deletion demo/dotnet/CheetahDemo/CheetahDemo.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Picovoice.Cheetah" Version="1.1.2" />
<PackageReference Include="Picovoice.Cheetah" Version="2.0.0" />
<PackageReference Include="PvRecorder" Version="1.2.4" />
</ItemGroup>
</Project>
1 change: 1 addition & 0 deletions resources/.lint/spell-check/dict.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ drwav
dylib
endpointing
exopackage
Fastenshtein
filedemo
framecount
gradlew
Expand Down

0 comments on commit 1c1e940

Please sign in to comment.