Unable to set topic for training and transcription

Last reviewed: 11/16/2015

PRB Article ID: P111502

The information in this article applies to:

  • ProfileKit 5
  • SpeechKit 8

Symptoms

Unable to set the topic for profile training and speech recognition transcription.

Cause

ProfileKit dictation training uses the default dictionary rather than the topic set via ChantTrainingProperty CTPTrainingDictationVocab.


nChantProfile.SetTrainingProperty(ChantTrainingProperty.CTPTrainingDictationVocab, "medicalterms");
        

pChantProfile->SetTrainingProperty(CTPTrainingDictationVocab, L"medicalterms");
    

pChantProfile->SetTrainingProperty(CTPTrainingDictationVocab, "medicalterms");

aTChantProfile.SetTrainingProperty(CTPTrainingDictationVocab, 'medicalterms');
    

jChantProfile.setTrainingProperty(ChantTrainingProperty.CTPTrainingDictationVocab, "medicalterms");
    

nChantProfile.SetTrainingProperty(ChantTrainingProperty.CTPTrainingDictationVocab, "medicalterms")

SpeechKit transcriptions using ChantSR SpeechToText were using the default dictation vocabulary object but now the grammars parameter can be either grammars or dictation topics names.


// Instantiate ChantSR object
NChantSR1 = new NChantSR();

// Set license and serials properties

// Transcribe audio file
NChantSR1.SpeechToText("myinaudiofile.wav", 0 ChantRecordingObject.CROFile, ChantAudioFormat.CAFDefault, "Microsoft Speech Recognizer 8.0 for Windows (English - US)", "Default Speech Profile", "medicalterms", "mytranscription.txt", ChantRecordingResult.CRRFile, ChantRecognitionFormat.CRFText, ChantRecordingStyle.CRSAsynchronous);
        

// Instantiate ChantSR object
pChantSR = new CChantSR();

// Set license and serials properties

// Transcribe audio file
pChantSR->SpeechToText(L"myinaudiofile.wav", 0, CROFile, CAFDefault, L"Microsoft Speech Recognizer 8.0 for Windows (English - US)", L"Default Speech Profile", L"medicalterms", L"mytranscription.txt", CRRFile, CRFText, CRSAsynchronous);
    

// Instantiate ChantSR object
pChantSR = new CChantSR();

// Set license and serials properties

// Transcribe audio file
pChantSR->SpeechToText("myinaudiofile.wav", 0, CROFile, CAFDefault, "Microsoft Speech Recognizer 8.0 for Windows (English - US)", "Default Speech Profile", "medicalterms", "mytranscription.txt", CRRFile, CRFText, CRSAsynchronous);

var aTChantSR: TChantSR;
// Instantiate ChantSR object
aTChantSR = TChantSR.Create();

// Set license and serials properties

// Transcribe audio file
aTChantSR.SpeechToText('myinaudiofile.wav', 0, CROFile, CAFDefault, 'Microsoft Speech Recognizer 8.0 for Windows (English - US)', 'Default Speech Profile', 'medicalterms', 'mytranscription.txt', CRRFile, CRFText, CRSAsynchronous);
    

// Instantiate ChantSR object
JChantSR1 = new JChantSR();

// Set license and serials properties

// Transcribe audio file
JChantSR1.startRecording("myinaudiofile.wav", 0 ChantRecordingObject.CROFile, ChantAudioFormat.CAFDefault, "Microsoft Speech Recognizer 8.0 for Windows (English - US)", "Default Speech Profile", "medicalterms", "mytranscription.txt", ChantRecordingResult.CRRFile, ChantRecognitionFormat.CRFText, ChantRecordingStyle.CRSAsynchronous);
    

' Instantiate ChantSR object
NChantSR1 = new NChantSR()

' Set license and serials properties

' Transcribe audio file
NChantSR1.SpeechToText("myinaudiofile.wav", 0 ChantRecordingObject.CROFile, ChantAudioFormat.CAFDefault, "Microsoft Speech Recognizer 8.0 for Windows (English - US)", "Default Speech Profile", "medicalterms", "mytranscription.txt", ChantRecordingResult.CRRFile, ChantRecognitionFormat.CRFText, ChantRecordingStyle.CRSAsynchronous)

Status

Fixed in ProfileKit 5 build 5.1.1.0 and SpeechKit build 8.1.1.0.

Component Formats Impacted

All formats.