Skip to content

Commit 7839b7a

Browse files
committed
regenerate text to speech
1 parent feef5cf commit 7839b7a

File tree

17 files changed

+314
-146
lines changed

17 files changed

+314
-146
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public class SpeechToTextServiceExample
3232
{
3333
private AutoResetEvent autoEvent = new AutoResetEvent(false);
3434
private static string credentials = string.Empty;
35-
private string EN_US = "en-US_BroadbandModel";
35+
//private string EN_US = "en-US_BroadbandModel";
3636
//private string _customModelName = "dotnet-integration-test-custom-model";
3737
//private string _customModelDescription = "A custom model to test .NET SDK Speech to Text customization.";
3838
//private string _corpusName = "The Jabberwocky";

src/IBM.WatsonDeveloperCloud.TextToSpeech.v1/IBM.WatsonDeveloperCloud.TextToSpeech.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.TextToSpeech.v1/ITextToSpeechService.cs

Lines changed: 111 additions & 24 deletions
Large diffs are not rendered by default.

src/IBM.WatsonDeveloperCloud.TextToSpeech.v1/Model/CreateVoiceModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ namespace IBM.WatsonDeveloperCloud.TextToSpeech.v1.Model
2424
/// <summary>
2525
/// CreateVoiceModel.
2626
/// </summary>
27-
public class CreateVoiceModel
27+
public class CreateVoiceModel : BaseModel
2828
{
2929
/// <summary>
3030
/// The language of the new custom voice model. Omit the parameter to use the the default language, `en-US`.

src/IBM.WatsonDeveloperCloud.TextToSpeech.v1/Model/Pronunciation.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ namespace IBM.WatsonDeveloperCloud.TextToSpeech.v1.Model
2222
/// <summary>
2323
/// Pronunciation.
2424
/// </summary>
25-
public class Pronunciation
25+
public class Pronunciation : BaseModel
2626
{
2727
/// <summary>
2828
/// The pronunciation of the requested text in the specified voice and format.

src/IBM.WatsonDeveloperCloud.TextToSpeech.v1/Model/SupportedFeatures.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ namespace IBM.WatsonDeveloperCloud.TextToSpeech.v1.Model
2222
/// <summary>
2323
/// SupportedFeatures.
2424
/// </summary>
25-
public class SupportedFeatures
25+
public class SupportedFeatures : BaseModel
2626
{
2727
/// <summary>
2828
/// If `true`, the voice can be customized; if `false`, the voice cannot be customized. (Same as `customizable`.).

src/IBM.WatsonDeveloperCloud.TextToSpeech.v1/Model/Text.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ namespace IBM.WatsonDeveloperCloud.TextToSpeech.v1.Model
2222
/// <summary>
2323
/// Text.
2424
/// </summary>
25-
public class Text
25+
public class Text : BaseModel
2626
{
2727
/// <summary>
2828
/// The text to synthesize.

src/IBM.WatsonDeveloperCloud.TextToSpeech.v1/Model/Translation.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ namespace IBM.WatsonDeveloperCloud.TextToSpeech.v1.Model
2424
/// <summary>
2525
/// Translation.
2626
/// </summary>
27-
public class Translation
27+
public class Translation : BaseModel
2828
{
2929
/// <summary>
3030
/// **Japanese only.** The part of speech for the word. The service uses the value to produce the correct intonation for the word. You can create only a single entry, with or without a single part of speech, for any word; you cannot create multiple entries with different parts of speech for the same word. For more information, see [Working with Japanese entries](https://console.bluemix.net/docs/services/text-to-speech/custom-rules.html#jaNotes).

src/IBM.WatsonDeveloperCloud.TextToSpeech.v1/Model/UpdateVoiceModel.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ namespace IBM.WatsonDeveloperCloud.TextToSpeech.v1.Model
2323
/// <summary>
2424
/// UpdateVoiceModel.
2525
/// </summary>
26-
public class UpdateVoiceModel
26+
public class UpdateVoiceModel : BaseModel
2727
{
2828
/// <summary>
2929
/// A new name for the custom voice model.
@@ -38,9 +38,9 @@ public class UpdateVoiceModel
3838
[JsonProperty("description", NullValueHandling = NullValueHandling.Ignore)]
3939
public string Description { get; set; }
4040
/// <summary>
41-
/// An array of words and their translations that are to be added or updated for the custom voice model. Pass an empty array to make no additions or updates.
41+
/// An array of `Word` objects that provides the words and their translations that are to be added or updated for the custom voice model. Pass an empty array to make no additions or updates.
4242
/// </summary>
43-
/// <value>An array of words and their translations that are to be added or updated for the custom voice model. Pass an empty array to make no additions or updates.</value>
43+
/// <value>An array of `Word` objects that provides the words and their translations that are to be added or updated for the custom voice model. Pass an empty array to make no additions or updates.</value>
4444
[JsonProperty("words", NullValueHandling = NullValueHandling.Ignore)]
4545
public List<Word> Words { get; set; }
4646
}

src/IBM.WatsonDeveloperCloud.TextToSpeech.v1/Model/Voice.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ namespace IBM.WatsonDeveloperCloud.TextToSpeech.v1.Model
2222
/// <summary>
2323
/// Voice.
2424
/// </summary>
25-
public class Voice
25+
public class Voice : BaseModel
2626
{
2727
/// <summary>
2828
/// The URI of the voice.

0 commit comments

Comments
 (0)