How do I reference Chant libraries as Nuget packages?

Last reviewed: 7/29/2024

HOW Article ID: H062405

The information in this article applies to:

  • Audio Search 5
  • GrammarKit 10
  • KinesicsKit 8
  • LexiconKit 10
  • ProfileKit 10
  • SpeechKit 13
  • SpeechManager 4
  • Talk&Listen 5
  • VoiceMarkupKit 10
  • VoiceXMLKit 7

Summary

NuGet (nuget.org) is the package manager for .NET. The NuGet client tools provide the ability to produce and consume packages. The NuGet Gallery is the central package repository used by all package authors and consumers.

More Information

Referencing libraries with Nuget (nuget.org) simplifies project setup and maintenance by centralizing control for version management and maintenance. In addition to supporting .NET assemblies, Nuget packages also support native libraries such as C++ headers, source, and DLLs. This enables Visual C++ projects to consume Nuget packages.

Nuget packages are available for Chant .NET and Visual C++ libraries on (nuget.org) and may be referenced in Visual Studio projects as follows:

  • Select the application project in the Solution Explorer
  • Right-click the mouse and select the Manage Nuget Packages… menu item.
  • Enter Chant in the search bar.
  • Select the applicable Chant library and press the install button.
Chant Speech Windows nuget package

For .NET projects, Nuget automatically includes dependent libraries. For C++ projects, select and install all dependent libraries as they are not automatically included.

Visual Studio 2022 projects with sample applications that illustrate consuming packages are available for download on the Chant downloads page.

Product documentation is updated to provide steps for selecting Nuget packages:

The following table serves as a map to determine which Nuget packages are applicable:

Nuget PackageProgramming LanguageAPI/SDK/Specification
Chant.AudioSearch.WindowsC++, C#, VBMicrosoft SAPI5, Microsoft Speech Platform, Nuance Dragon NaturallySpeaking
Chant.GrammarKit
Dependencies:
Chant.Shared
C#, VBMicrosoft System.Speech, Microsoft.Speech
Chant.GrammarKit.Windows
Dependencies:
Chant.Shared.Windows
C++, C#, VBMicrosoft SAPI5, Microsoft Speech Platform, Microsoft WindowsMedia (via WinRT C++)
Chant.GrammarKit.WindowsMedia
Dependencies:
Chant.Shared.WindowsMedia
C#, VBUWP Microsoft WindowsMedia
Chant.GrammarKit.WinRT.WindowsMedia
Dependencies:
Chant.Shared.WinRT.WindowsMedia
C#, VBMicrosoft WindowsMedia (via WinRT .NET)
Chant.KinesicsKit.Windows
Dependencies:
Chant.Shared.Windows
C++, C#, VBMicrosoft Kinect
Chant.LexiconKit.Windows
Dependencies:
Chant.Shared.Windows
C++, C#, VBCepstral, Microsoft Azure Speech, Microsoft SAPI5, Microsoft Speech Platform, Microsoft WindowsMedia (via WinRT C++)
Chant.LexiconKit.WinRT.WindowsMedia
Dependencies:
Chant.Shared.WinRT.WindowsMedia
C#, VBMicrosoft WindowsMedia (via WinRT .NET)
Chant.ProfileKit.Windows
Dependencies:
Chant.Shared.Windows
C++, C#, VBMicrosoft SAPI5, Microsoft Speech Platform, Nuance Dragon NaturallySpeaking
Chant.SpeechKit
Dependencies:
Chant.Shared
C#, VBMicrosoft System.Speech, Microsoft.Speech
Chant.SpeechKit.MCS
Dependencies:
Chant.Shared.MCS
C#, VBMicrosoft Azure Speech
Chant.SpeechKit.Windows
Dependencies:
Chant.Shared.Windows
C++, C#, VBAcapela, Cepstral, CereProc CereVoice, Microsoft Azure Speech, Microsoft SAPI5, Microsoft Speech Platform, Microsoft WindowsMedia (via WinRT C++), Nuance Dragon NaturallySpeaking
Chant.SpeechKit.WindowsMedia
Dependencies:
Chant.Shared.WindowsMedia
C#, VBUWP Microsoft WindowsMedia
Chant.SpeechKit.WinRT.WindowsMedia
Dependencies:
Chant.Shared.WinRT.WindowsMedia
C#, VBMicrosoft WindowsMedia (via WinRT .NET)
Chant.SpeechManager.Windows
Dependencies:
Chant.SpeechKit.Windows
Chant.Shared.Windows
C++, C#, VBAcapela, Cepstral, CereProc CereVoice, Microsoft SAPI5, Microsoft Speech Platform, Microsoft WindowsMedia (via WinRT C++), Nuance Dragon NaturallySpeaking
Chant.TalkListen.WindowsC++, C#, VBAcapela, Cepstral, CereProc CereVoice, Microsoft SAPI5, Microsoft Speech Platform, Microsoft WindowsMedia (via WinRT C++), Nuance Dragon NaturallySpeaking
Chant.VoiceMarkupKit
Dependencies:
Chant.Shared
C#, VBW3C SSML
Chant.VoiceMarkupKit.Windows
Dependencies:
Chant.Shared.Windows
C++, C#, VBAcapela Tag, CereProc, Microsoft, Azure Speech SSML, SAPI5 XML, W3C SSML
Chant.VoiceMarkupKit.WindowsMedia
Dependencies:
Chant.Shared.WindowsMedia
C#, VBUWP W3C SSML
Chant.VoiceXMLKit.Windows
Dependencies:
Chant.Shared.Windows
C++, C#, VBMicrosoft SAPI5, Microsoft Speech Platform