How do I integegrate speech technology with .NET v4.5 applications?

Last reviewed: 6/7/2012

HOW Article ID: H041201

The information in this article applies to:

  • GrammarKit 4
  • LexiconKit 4
  • ProfileKit 4
  • SpeechKit 7
  • VoiceMarkupKit 4

Summary

Chant Developer Workbench 2011 now supports Visual Studio 2012 .NET v4.5 to integrate speech technology with 32-bit and 64-bit applications.

More Information

Chant Developer Workbench 2011 expands it support for Visual Studio 2012 RC with new .NET v4.5 component libraries. These libraries work with the 32-bit and 64-bit Chant component libraries for integrating all aspects of speech technology from grammar management to TTS markup.

GrammarKit

To access the GrammarKit .NET v4.5 classes within your application, add them to your project References:

  1. Within your .NET v4.5 application project, right click on the References folder in C# or Open MyProject in VB and select the References tab.
  2. For .NET v4.5 applications, add references to the GrammarKit .NET v4.5 assemblies:
    1. Program Files\Chant\GrammarKit 4\Win32\NET\libv45\Chant.GrammarKit.dll and
    2. Program Files\Chant\GrammarKit 4\Win32\NET\libv45\Chant.Shared.dll.
  3. For .NET v4.5 applications using System.Speech or Microsoft.Speech libraries for compiling with SAPI- and Microsoft Speech Platform-compatible grammar compilers, add references to the GrammarKit .NET v4.5 assemblies:
    1. Program Files\Chant\GrammarKit 4\Win32\NET\libv45\Chant.GrammarKit.Speech.dll and
    2. Program Files\Chant\GrammarKit 4\Win32\NET\libv45\Chant.Shared.Speech.dll.
  1. Within your .NET v4.5 application project, right click on the References folder in C# or Open MyProject in VB and select the References tab.
  2. For .NET v4.5 applications, add references to the GrammarKit .NET v4.5 assemblies:
    1. Program Files\Chant\GrammarKit 4\Win64\NET\libv45\Chant.GrammarKit.dll and
    2. Program Files\Chant\GrammarKit 4\Win64\NET\libv45\Chant.Shared.dll.
  3. For .NET v4.5 applications using System.Speech and Microsoft.Speech libraries for compiling with SAPI- and Microsoft Speech Platform-compatible grammar compilers, add references to the GrammarKit .NET v4.5 assemblies:
    1. Program Files\Chant\GrammarKit 4\Win64\NET\libv45\Chant.GrammarKit.Speech.dll and
    2. Program Files\Chant\GrammarKit 4\Win64\NET\libv45\Chant.Shared.Speech.dll.

.NET v4.5 sample projects are installed at the following location:

  • My Documents\Chant GrammarKit 4\Win32\NET WinForms\NET\VS 2012\CSharp,
  • My Documents\Chant GrammarKit 4\Win32\NET WinForms\NET\VS 2012\Visual Basic,
  • My Documents\Chant GrammarKit 4\Win32\NET WPF\VS 2012\CSharp, and
  • My Documents\Chant GrammarKit 4\Win32\NET WPF\VS 2012\Visual Basic.
  • My Documents\Chant GrammarKit 4\Win64\NET WinForms\NET\VS 2012\CSharp,
  • My Documents\Chant GrammarKit 4\Win64\NET WinForms\NET\VS 2012\Visual,
  • My Documents\Chant GrammarKit 4\Win64\NET WPF\VS 2012\CSharp, and
  • My Documents\Chant GrammarKit 4\Win64\NET WPF\VS 2012\Visual Basic.

LexiconKit

To access the LexiconKit .NET v4.5 classes within your application, add them to your project References:

  1. Within your .NET v4.5 project, right click on the References folder in C# or Open MyProject in VB and select the References tab.
  2. For .NET v4.5 V5 applications, add references to the LexiconKit .NET v4.5 assemblies:
    1. Program Files\Chant\LexiconKit 4\Win32\NET\libv45\Chant.LexiconKit.dll and
    2. Program Files\Chant\LexiconKit 4\Win32\NET\libv45\Chant.Shared.dll.
  1. Within your .NET v4.5 project, right click on the References folder in C# or Open MyProject in VB and select the References tab.
  2. For .NET v4.5 V5 applications, add references to the GrammarKit .NET v4.5 assemblies:
    1. Program Files\Chant\LexiconKit 4\Win64\NET\libv45\Chant.LexiconKit.dll and
    2. Program Files\Chant\LexiconKit 4\Win64\NET\libv45\Chant.Shared.dll.

.NET v4.5 sample projects are installed at the following location:

  • My Documents\Chant LexiconKit 4\Win32\NET WinForms\VS 2012\CSharp,
  • My Documents\Chant LexiconKit 4\Win32\NET WinForms\VS 2012\Visual,
  • My Documents\Chant LexiconKit 4\Win32\NET WPF\VS 2012\CSharp, and
  • My Documents\Chant LexiconKit 4\Win32\NET WPF\VS 2012\Visual Basic.
  • My Documents\Chant LexiconKit 4\Win64\NET WinForms\VS 2012\CSharp,
  • My Documents\Chant LexiconKit 4\Win64\NET WinForms\VS 2012\Visual,
  • My Documents\Chant LexiconKit 4\Win64\NET WPF\VS 2012\CSharp, and
  • My Documents\Chant LexiconKit 4\Win64\NET WPF\VS 2012\Visual Basic.

ProfileKit

To access the ProfileKit .NET v4.5 classes within your application, add them to your project References:

  1. Within your .NET v4.5 project, right click on the References folder in C# or Open MyProject in VB and select the References tab.
  2. For .NET v4.5 V4 applications, add references to the ProfileKit .NET v4.5 assemblies:
    1. Program Files\Chant\ProfileKit 4\Win32\NET\libv45\Chant.ProfileKit.dll and
    2. Program Files\Chant\ProfileKit 4\Win32\NET\libv45\Chant.Shared.dll.
  1. Within your .NET v4.5 project, right click on the References folder in C# or Open MyProject in VB and select the References tab.
  2. For .NET v4.5 V5 applications, add references to the ProfileKit .NET v4.5 assemblies:
    1. Program Files\Chant\ProfileKit 4\Win64\NET\libv45\Chant.ProfileKit.dll and
    2. Program Files\Chant\ProfileKit 4\Win64\NET\libv45\Chant.Shared.dll.

.NET v4.5 sample projects are installed at the following location:

  • My Documents\Chant ProfileKit 4\Win32\NET WinForms\VS 2012\CSharp,
  • My Documents\Chant ProfileKit 4\Win32\NET WinForms\VS 2012\Visual Basic,
  • My Documents\Chant ProfileKit 4\Win32\NET WPF\VS 2012\CSharp, and
  • My Documents\Chant ProfileKit 4\Win32\NET WPF\VS 2012\Visual Basic.
  • My Documents\Chant ProfileKit 4\Win64\NET WinForms\VS 2012\CSharp,
  • My Documents\Chant ProfileKit 4\Win64\NET WinForms\VS 2012\Visual Basic,
  • My Documents\Chant ProfileKit 4\Win64\NET WPF\VS 2012\CSharp, and
  • My Documents\Chant ProfileKit 4\Win64\NET WPF\VS 2012\Visual Basic.

SpeechKit

To access the SpeechKit .NET v4.5 classes within your application, add them to your project References:

  1. Within your .NET v4.5 project, right click on the References folder in C# or Open MyProject in VB and select the References tab.
  2. For .NET v4.5 V5 applications, add references to the SpeechKit .NET v4.5 assemblies:
    1. Program Files\Chant\SpeechKit 7\Win32\NET\libv45\Chant.SpeechKit.dll and
    2. Program Files\Chant\SpeechKit 7\Win32\NET\libv45\Chant.Shared.dll.
  3. For .NET v4.5 applications using System.Speech or Microsoft.Speech libraries for recognizing and synthesizing with SAPI- and Microsoft Speech Platform-compatible recognizers and synthesizers, add references to the SpeechKit .NET v4.5 assemblies:
    1. Program Files\Chant\SpeechKit 7\Win32\NET\libv45\Chant.SpeechKit.Speech.dll and
    2. Program Files\Chant\SpeechKit 7\Win32\NET\libv45\Chant.Shared.Speech.dll.
  1. Within your .NET v4.5 project, right click on the References folder in C# or Open MyProject in VB and select the References tab.
  2. For .NET v4.5 V5 applications, add references to the SpeechKit .NET v4.5 assemblies:
    1. Program Files\Chant\SpeechKit 7\Win64\NET\libv45\Chant.SpeechKit.dll and
    2. Program Files\Chant\SpeechKit 7\Win64\NET\libv45\Chant.Shared.dll.
  3. For .NET v4.5 applications using System.Speech or Microsoft.Speech libraries for recognizing and synthesizing with SAPI- and Microsoft Speech Platform-compatible recognizers and synthesizers, add references to the SpeechKit .NET v4.5 assemblies:
    1. Program Files\Chant\SpeechKit 7\Win64\NET\libv45\Chant.SpeechKit.Speech.dll and
    2. Program Files\Chant\SpeechKit 7\Win64\NET\libv45\Chant.Shared.Speech.dll.

.NET v4.5 sample projects are installed at the following location:

  • My Documents\Chant SpeechKit 7\Win32\NET WinForms\VS 2012\CSharp,
  • My Documents\Chant SpeechKit 7\Win32\NET WinForms\VS 2012\Visual Basic,
  • My Documents\Chant SpeechKit 7\Win32\NET WPF\VS 2012\CSharp, and
  • My Documents\Chant SpeechKit 7\Win32\NET WPF\VS 2012\Visual Basic.
  • My Documents\Chant SpeechKit 7\Win64\NET WinForms\VS 2012\CSharp,
  • My Documents\Chant SpeechKit 7\Win64\NET WinForms\VS 2012\Visual Basic,
  • My Documents\Chant SpeechKit 7\Win64\NET WPF\VS 2012\CSharp, and
  • My Documents\Chant SpeechKit 7\Win64\NET WPF\VS 2012\Visual Basic.

VoiceMarkupKit

To access the VoiceMarkupKit .NET v4.5 classes within your application, add them to your project References:

  1. Within your .NET v4.5 project, right click on the References folder in C# or Open MyProject in VB and select the References tab.
  2. For .NET v4.5 V5 applications, add references to the VoiceMarkupKit .NET v4.5 assemblies:
    1. Program Files\Chant\VoiceMarkupKit 4\Win32\NET\libv45\Chant.VoiceMarkupKit.dll and
    2. Program Files\Chant\VoiceMarkupKit 4\Win32\NET\libv45\Chant.Shared.dll.
  3. For .NET v4.5 applications using System.Speech or Microsoft.Speech libraries for generating markup with SAPI- and Microsoft Speech Platform-compatible synthesizers, add references to the SpeechKit .NET v4.5 assemblies:
    1. Program Files\Chant\VoiceMarkupKit 4\Win32\NET\libv45\Chant.VoiceMarkupKit.Speech.dll and
    2. Program Files\Chant\VoiceMarkupKit 4\Win32\NET\libv45\Chant.Shared.Speech.dll.
  1. Within your .NET v4.5 project, right click on the References folder in C# or Open MyProject in VB and select the References tab.
  2. For .NET v4.5 V5 applications, add references to the VoiceMarkupKit .NET v4.5 assemblies:
    1. Program Files\Chant\VoiceMarkupKit 4\Win64\NET\libv45\Chant.VoiceMarkupKit.dll and
    2. Program Files\Chant\VoiceMarkupKit 4\Win64\NET\libv45\Chant.Shared.dll.
  3. For .NET v4.5 applications using System.Speech or Microsoft.Speech libraries for generating markup with SAPI- and Microsoft Speech Platform-compatible synthesizers, add references to the SpeechKit .NET v4.5 assemblies:
    1. Program Files\Chant\VoiceMarkupKit 4\Win64\NET\libv45\Chant.VoiceMarkupKit.Speech.dll and
    2. Program Files\Chant\VoiceMarkupKit 4\Win64\NET\libv45\Chant.Shared.Speech.dll.

.NET v4.5 sample projects are installed at the following location:

  • My Documents\Chant VoiceMarkupKit 4\Win32\NET WinForms\VS 2012\CSharp,
  • My Documents\Chant VoiceMarkupKit 4\Win32\NET WinForms\VS 2012\Visual Basic,
  • My Documents\Chant VoiceMarkupKit 4\Win32\NET WPF\VS 2012\CSharp, and
  • My Documents\Chant VoiceMarkupKit 4\Win32\NET WPF\VS 2012\Visual Basic.
  • My Documents\Chant VoiceMarkupKit 4\Win64\NET WinForms\VS 2012\CSharp,
  • My Documents\Chant VoiceMarkupKit 4\Win64\NET WinForms\VS 2012\Visual Basic,
  • My Documents\Chant VoiceMarkupKit 4\Win64\NET WPF\VS 2012\CSharp, and
  • My Documents\Chant VoiceMarkupKit 4\Win64\NET WPF\VS 2012\Visual Basic.