Skip to content

Commit feef5cf

Browse files
committed
regenerate speech to text
1 parent c91202d commit feef5cf

36 files changed

+1127
-407
lines changed

examples/IBM.WatsonDeveloperCloud.SpeechToText.v1.Example/SpeechToTextServiceExample.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ public SpeechToTextServiceExample(string url, string username, string password)
193193
var acousticModel = new CreateAcousticModel
194194
{
195195
Name = _acousticModelName,
196-
BaseModelName = EN_US,
196+
BaseModelName = Model.CreateAcousticModel.BaseModelNameEnum.EN_US_BROADBANDMODEL,
197197
Description = _acousticModelDescription
198198
};
199199

src/IBM.WatsonDeveloperCloud.SpeechToText.v1/IBM.WatsonDeveloperCloud.SpeechToText.v1.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,5 @@
2222
<ItemGroup>
2323
<PackageReference Include="Newtonsoft.Json" Version="9.0.1" />
2424
</ItemGroup>
25+
2526
</Project>

src/IBM.WatsonDeveloperCloud.SpeechToText.v1/ISpeechToTextService.cs

Lines changed: 312 additions & 64 deletions
Large diffs are not rendered by default.

src/IBM.WatsonDeveloperCloud.SpeechToText.v1/Model/AcousticModel.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ namespace IBM.WatsonDeveloperCloud.SpeechToText.v1.Model
2525
/// <summary>
2626
/// AcousticModel.
2727
/// </summary>
28-
public class AcousticModel
28+
public class AcousticModel : BaseModel
2929
{
3030
/// <summary>
3131
/// The current status of the custom acoustic model: * `pending` indicates that the model was created but is waiting either for training data to be added or for the service to finish analyzing added data. * `ready` indicates that the model contains data and is ready to be trained. * `training` indicates that the model is currently being trained. * `available` indicates that the model is trained and ready to use. * `upgrading` indicates that the model is currently being upgraded. * `failed` indicates that training of the model failed.
@@ -133,9 +133,9 @@ public enum StatusEnum
133133
[JsonProperty("progress", NullValueHandling = NullValueHandling.Ignore)]
134134
public long? Progress { get; set; }
135135
/// <summary>
136-
/// If the request included unknown query parameters, the following message: `Unexpected query parameter(s) ['parameters'] detected`, where `parameters` is a list that includes a quoted string for each unknown parameter.
136+
/// If the request included unknown parameters, the following message: `Unexpected query parameter(s) ['parameters'] detected`, where `parameters` is a list that includes a quoted string for each unknown parameter.
137137
/// </summary>
138-
/// <value>If the request included unknown query parameters, the following message: `Unexpected query parameter(s) ['parameters'] detected`, where `parameters` is a list that includes a quoted string for each unknown parameter.</value>
138+
/// <value>If the request included unknown parameters, the following message: `Unexpected query parameter(s) ['parameters'] detected`, where `parameters` is a list that includes a quoted string for each unknown parameter.</value>
139139
[JsonProperty("warnings", NullValueHandling = NullValueHandling.Ignore)]
140140
public string Warnings { get; set; }
141141
}

src/IBM.WatsonDeveloperCloud.SpeechToText.v1/Model/AcousticModels.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ namespace IBM.WatsonDeveloperCloud.SpeechToText.v1.Model
2323
/// <summary>
2424
/// AcousticModels.
2525
/// </summary>
26-
public class AcousticModels
26+
public class AcousticModels : BaseModel
2727
{
2828
/// <summary>
2929
/// An array of objects that provides information about each available custom acoustic model. The array is empty if the requesting service credentials own no custom acoustic models (if no language is specified) or own no custom acoustic models for the specified language.

src/IBM.WatsonDeveloperCloud.SpeechToText.v1/Model/AudioDetails.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ namespace IBM.WatsonDeveloperCloud.SpeechToText.v1.Model
2424
/// <summary>
2525
/// AudioDetails.
2626
/// </summary>
27-
public class AudioDetails
27+
public class AudioDetails : BaseModel
2828
{
2929
/// <summary>
3030
/// The type of the audio resource: * `audio` for an individual audio file * `archive` for an archive (**.zip** or **.tar.gz**) file that contains audio files.

src/IBM.WatsonDeveloperCloud.SpeechToText.v1/Model/AudioListing.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ namespace IBM.WatsonDeveloperCloud.SpeechToText.v1.Model
2525
/// <summary>
2626
/// AudioListing.
2727
/// </summary>
28-
public class AudioListing
28+
public class AudioListing : BaseModel
2929
{
3030
/// <summary>
3131
/// **For an audio-type resource,** the status of the resource: * `ok` indicates that the service has successfully analyzed the audio data. The data can be used to train the custom model. * `being_processed` indicates that the service is still analyzing the audio data. The service cannot accept requests to add new audio resources or to train the custom model until its analysis is complete. * `invalid` indicates that the audio data is not valid for training the custom model (possibly because it has the wrong format or sampling rate, or because it is corrupted). Omitted for an archive-type resource.

src/IBM.WatsonDeveloperCloud.SpeechToText.v1/Model/AudioResource.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ namespace IBM.WatsonDeveloperCloud.SpeechToText.v1.Model
2424
/// <summary>
2525
/// AudioResource.
2626
/// </summary>
27-
public class AudioResource
27+
public class AudioResource : BaseModel
2828
{
2929
/// <summary>
3030
/// The status of the audio resource: * `ok` indicates that the service has successfully analyzed the audio data. The data can be used to train the custom model. * `being_processed` indicates that the service is still analyzing the audio data. The service cannot accept requests to add new audio resources or to train the custom model until its analysis is complete. * `invalid` indicates that the audio data is not valid for training the custom model (possibly because it has the wrong format or sampling rate, or because it is corrupted). For an archive file, the entire archive is invalid if any of its audio files are invalid.

src/IBM.WatsonDeveloperCloud.SpeechToText.v1/Model/AudioResources.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ namespace IBM.WatsonDeveloperCloud.SpeechToText.v1.Model
2323
/// <summary>
2424
/// AudioResources.
2525
/// </summary>
26-
public class AudioResources
26+
public class AudioResources : BaseModel
2727
{
2828
/// <summary>
2929
/// The total minutes of accumulated audio summed over all of the valid audio resources for the custom acoustic model. You can use this value to determine whether the custom model has too little or too much audio to begin training.

src/IBM.WatsonDeveloperCloud.SpeechToText.v1/Model/Corpora.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ namespace IBM.WatsonDeveloperCloud.SpeechToText.v1.Model
2323
/// <summary>
2424
/// Corpora.
2525
/// </summary>
26-
public class Corpora
26+
public class Corpora : BaseModel
2727
{
2828
/// <summary>
2929
/// Information about corpora of the custom model. The array is empty if the custom model has no corpora.

0 commit comments

Comments
 (0)