Skip to content

Commit f07a624

Browse files
authored
Merge pull request #269 from watson-developer-cloud/4914-new-acoustic-resource
Update acoustic resource
2 parents dfcde43 + 5dc3089 commit f07a624

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public class SpeechToTextServiceExample
3939
//private string _corpusPath = @"SpeechToTextTestData/theJabberwocky-utf8.txt";
4040
private string _acousticModelName = "dotnet-integration-test-custom-acoustic-model";
4141
private string _acousticModelDescription = "A custom model to teset .NET SDK Speech to Text acoustic customization.";
42-
private string _acousticResourceUrl = "https://ia802302.us.archive.org/10/items/Greatest_Speeches_of_the_20th_Century/TheFirstAmericaninEarthOrbit.mp3";
42+
private string _acousticResourceUrl = "https://archive.org/download/Greatest_Speeches_of_the_20th_Century/KeynoteAddressforDemocraticConvention_64kb.mp3";
4343
//private string _acousticResourcePath = @"SpeechToTextTestData/TheFirstAmericaninEarthOrbit.mp3";
4444
private string _acousticResourceName = "firstOrbit";
4545
private string _acousticResourceMimeType = "audio/mpeg";

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2099,7 +2099,6 @@ public BaseModel TrainAcousticModel(string customizationId, string customLanguag
20992099
restRequest.WithArgument("custom_language_model_id", customLanguageModelId);
21002100
if (customData != null)
21012101
restRequest.WithCustomData(customData);
2102-
restRequest.WithArgument("force", true);
21032102
result = restRequest.As<BaseModel>().Result;
21042103
if(result == null)
21052104
result = new BaseModel();

test/IBM.WatsonDeveloperCloud.SpeechToText.v1.IntegrationTests/SpeechToTextServiceIntegrationTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public class SpeechToTextServiceIntegrationTest
4747
private string _corpusPath = @"SpeechToTextTestData/theJabberwocky-utf8.txt";
4848
private string _acousticModelName = "dotnet-integration-test-custom-acoustic-model";
4949
private string _acousticModelDescription = "A custom model to teset .NET SDK Speech to Text acoustic customization.";
50-
private string _acousticResourceUrl = "https://ia802302.us.archive.org/10/items/Greatest_Speeches_of_the_20th_Century/TheFirstAmericaninEarthOrbit.mp3";
50+
private string _acousticResourceUrl = "https://archive.org/download/Greatest_Speeches_of_the_20th_Century/KeynoteAddressforDemocraticConvention_64kb.mp3";
5151
private string _acousticResourceName = "firstOrbit";
5252
private string _acousticResourceMimeType = "audio/mpeg";
5353
private SpeechToTextService _service;

0 commit comments

Comments
 (0)