From b149fbc7ab04cc34722a464201b22e6e958cfcef Mon Sep 17 00:00:00 2001 From: Enkidu93 Date: Fri, 1 Dec 2023 12:44:29 -0500 Subject: [PATCH] Fixes #224 --- src/Serval.Client/Client.g.cs | 8 ++++++-- .../Controllers/TranslationEnginesController.cs | 4 +++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/Serval.Client/Client.g.cs b/src/Serval.Client/Client.g.cs index d11bcf38..d2efd806 100644 --- a/src/Serval.Client/Client.g.cs +++ b/src/Serval.Client/Client.g.cs @@ -889,7 +889,9 @@ public partial interface ITranslationEnginesClient /// Incrementally train a translation engine with a segment pair /// /// - /// What does `SentenceStart` do? + /// A segment pair consists of a source and target segment as well as a boolean flag `sentenceStart` + ///
that should be set to true if this segment pair forms the beginning of a sentence. (This information + ///
will be used to reconstruct proper capitalization when training/inferencing). ///
/// The translation engine id /// The segment pair @@ -2000,7 +2002,9 @@ public string BaseUrl /// Incrementally train a translation engine with a segment pair /// /// - /// What does `SentenceStart` do? + /// A segment pair consists of a source and target segment as well as a boolean flag `sentenceStart` + ///
that should be set to true if this segment pair forms the beginning of a sentence. (This information + ///
will be used to reconstruct proper capitalization when training/inferencing). ///
/// The translation engine id /// The segment pair diff --git a/src/Serval.Translation/Controllers/TranslationEnginesController.cs b/src/Serval.Translation/Controllers/TranslationEnginesController.cs index 657314c3..67974a19 100644 --- a/src/Serval.Translation/Controllers/TranslationEnginesController.cs +++ b/src/Serval.Translation/Controllers/TranslationEnginesController.cs @@ -340,7 +340,9 @@ CancellationToken cancellationToken /// Incrementally train a translation engine with a segment pair /// /// - /// What does `SentenceStart` do? + /// A segment pair consists of a source and target segment as well as a boolean flag `sentenceStart` + /// that should be set to true if this segment pair forms the beginning of a sentence. (This information + /// will be used to reconstruct proper capitalization when training/inferencing). /// /// The translation engine id /// The segment pair