Skip to content

Commit

Permalink
[KASR-2038] Itens que estavam falvam faltando.
Browse files Browse the repository at this point in the history
  • Loading branch information
felipebiaggi committed Feb 16, 2021
1 parent fccebe0 commit 8002273
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CPqDASR/Protocol/Main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1029,10 +1029,10 @@ private string GetCommand(RecognitionConfig objRecognitionConfig)
str.AppendLine(string.Format("{0}:{1}", RecognitionConfig.HeaderHintsWords, objRecognitionConfig.HintsWords));

if(objRecognitionConfig.Textify != null)
str.AppendLine(string.Format("{0}:{1}", RecognitionConfig.HeaderTextify, objRecognitionConfig.Textify));
str.AppendLine(string.Format("{0}:{1}", RecognitionConfig.HeaderTextify, objRecognitionConfig.Textify.ToString().ToLower()));

if(objRecognitionConfig.FormattingEnabled != null)
str.AppendLine(string.Format("{0}:{1}", RecognitionConfig.HeaderFormattingEnabled, objRecognitionConfig.FormattingEnabled));
str.AppendLine(string.Format("{0}:{1}", RecognitionConfig.HeaderFormattingEnabled, objRecognitionConfig.FormattingEnabled.ToString().ToLower()));

if(objRecognitionConfig.TextifyFormattingRules != null)
str.AppendLine(string.Format("{0}:{1}", RecognitionConfig.HeaderTextifyFormattingRules, objRecognitionConfig.TextifyFormattingRules));
Expand All @@ -1041,7 +1041,7 @@ private string GetCommand(RecognitionConfig objRecognitionConfig)
str.AppendLine(string.Format("{0}:{1}", RecognitionConfig.HeaderLoggingTag, objRecognitionConfig.LoggingTag));

if(objRecognitionConfig.PartialResultEnabled != null)
str.AppendLine(string.Format("{0}:{1}", RecognitionConfig.HeaderPartialResultEnabled, objRecognitionConfig.PartialResultEnabled));
str.AppendLine(string.Format("{0}:{1}", RecognitionConfig.HeaderPartialResultEnabled, objRecognitionConfig.PartialResultEnabled.ToString().ToLower()));

if(objRecognitionConfig.PartialResultInterval != null)
str.AppendLine(string.Format("{0}:{1}", RecognitionConfig.HeaderPartialResultInterval, objRecognitionConfig.PartialResultInterval));
Expand Down

0 comments on commit 8002273

Please sign in to comment.