diff --git a/CognitiveServices.Translator.Client/TranslateClient.cs b/CognitiveServices.Translator.Client/TranslateClient.cs index 9bf8ac6..4fdd608 100644 --- a/CognitiveServices.Translator.Client/TranslateClient.cs +++ b/CognitiveServices.Translator.Client/TranslateClient.cs @@ -17,7 +17,7 @@ namespace CognitiveServices.Translator /// https://docs.microsoft.com/en-us/azure/cognitive-services/translator/quickstarts/csharp public class TranslateClient : ITranslateClient { - private const int MaxNumberOfRequestContent = 25; + private const int MaxNumberOfRequestContent = 100; private const int MaxNumberOfCharacterPerRequest = 5_000; private const string UriExtensionPath = "translate"; @@ -44,7 +44,7 @@ public TranslateClient(CognitiveServicesConfig cognitiveServiceConfig) /// /// Translates the content. /// - /// The content. (Max.: 25 items) + /// The content. (Max.: 100 items) /// The options. /// /// The translated content @@ -57,7 +57,7 @@ public IList Translate(IEnumerable content, Reques /// /// Translates the content. /// - /// The content. (Max.: 25 items) + /// The content. (Max.: 100 items) /// The options. /// /// The translated content @@ -70,7 +70,7 @@ public IList Translate(RequestContent content, RequestParameter op /// /// Translates the content. /// - /// The content. (Max.: 25 items) + /// The content. (Max.: 100 items) /// The options. /// /// The translated content @@ -120,7 +120,7 @@ public async Task> TranslateAsync(IEnumerable /// Translates the content. /// - /// The content. (Max.: 25 items) + /// The content. (Max.: 100 items) /// The options. /// /// The translated content