You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Scripts/Services/SpeechToText/DataModels.cs
+55-2Lines changed: 55 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -589,18 +589,20 @@ public class Corpus
589
589
/// <summary>
590
590
/// This data class contains information about multiple custom words.
591
591
/// </summary>
592
+
[fsObject]
592
593
publicclassWordsList
593
594
{
594
595
/// <summary>
595
596
/// Information about each word in the custom model's words resource. The array is empty if the custom model has no words.
596
597
/// </summary>
597
-
publicWordsDatawords{get;set;}
598
+
publicWordDatawords{get;set;}
598
599
}
599
600
600
601
/// <summary>
601
602
/// This data class contains information about the custom word data.
602
603
/// </summary>
603
-
publicclassWordsData
604
+
[fsObject]
605
+
publicclassWordData
604
606
{
605
607
/// <summary>
606
608
/// A custom word from the custom model. The spelling of the word is used to train the model.
@@ -623,5 +625,56 @@ public class WordsData
623
625
/// </summary>
624
626
publicstringerror{get;set;}
625
627
}
628
+
629
+
/// <summary>
630
+
/// The type of words to be listed from the custom language model's words resource: all (the default) shows all words. user shows only custom words that were added or modified by the user. corpora shows only OOV that were extracted from corpora.
631
+
/// </summary>
632
+
publicclassWordType
633
+
{
634
+
/// <summary>
635
+
/// All words.
636
+
/// </summary>
637
+
publicconststringALL="all";
638
+
/// <summary>
639
+
/// User words.
640
+
/// </summary>
641
+
publicconststringUSER="user";
642
+
/// <summary>
643
+
/// Corpora words.
644
+
/// </summary>
645
+
publicconststringCORPORA="corpora";
646
+
}
647
+
648
+
/// <summary>
649
+
/// Words object for adding words to a customization.
0 commit comments