diff --git a/src/Serval.Client/Client.g.cs b/src/Serval.Client/Client.g.cs index c0c6d414..9221204a 100644 --- a/src/Serval.Client/Client.g.cs +++ b/src/Serval.Client/Client.g.cs @@ -793,16 +793,15 @@ public partial interface ITranslationEnginesClient ///
* **name**: A name to help identify and distinguish the file. ///
* Recommendation: Create a multi-part name to distinguish between projects, uses, etc. ///
* The name does not have to be unique, as the engine is uniquely identified by the auto-generated id - ///
* **sourceLanguage**: The source language code - ///
* Note that for Nmt, if the source or target language code matches an [IETF language tag](https://en.wikipedia.org/wiki/IETF_language_tag), it will be converted to an [NLLB-200 code](https://github.com/facebookresearch/flores/tree/main/flores200#languages-in-flores-200) and use the language as-is. - ///
* **targetLanguage**: The target language code + ///
* **sourceLanguage**: The source language code (a valid [IETF language tag](https://en.wikipedia.org/wiki/IETF_language_tag) is recommended) + ///
* **targetLanguage**: The target language code (a valid IETF language tag is recommended) ///
* **type**: **SmtTransfer** or **Nmt** or **Echo** ///
### SmtTransfer ///
The Statistical Machine Translation Transfer Learning engine is primarily used for translation suggestions. ///
Typical endpoints: translate, get-word-graph, train-segment ///
### Nmt ///
The Neural Machine Translation engine is primarily used for pretranslations. It is - ///
fine tuned from the NLLB-200 from Meta and inherits the 200 language codes. + ///
fine tuned from the NLLB-200 from Meta and inherits the 200 language codes. Valid IETF language tags will be converted to an [NLLB-200 code](https://github.com/facebookresearch/flores/tree/main/flores200#languages-in-flores-200), and NLLB will be used as-is. ///
Typical endpoints: pretranslate ///
### Echo ///
The Echo engine has full coverage of all Nmt and SmtTransfer endpoints. Endpoints like create and build @@ -1181,16 +1180,15 @@ public string BaseUrl ///
* **name**: A name to help identify and distinguish the file. ///
* Recommendation: Create a multi-part name to distinguish between projects, uses, etc. ///
* The name does not have to be unique, as the engine is uniquely identified by the auto-generated id - ///
* **sourceLanguage**: The source language code - ///
* Note that for Nmt, if the source or target language code matches an [IETF language tag](https://en.wikipedia.org/wiki/IETF_language_tag), it will be converted to an [NLLB-200 code](https://github.com/facebookresearch/flores/tree/main/flores200#languages-in-flores-200) and use the language as-is. - ///
* **targetLanguage**: The target language code + ///
* **sourceLanguage**: The source language code (a valid [IETF language tag](https://en.wikipedia.org/wiki/IETF_language_tag) is recommended) + ///
* **targetLanguage**: The target language code (a valid IETF language tag is recommended) ///
* **type**: **SmtTransfer** or **Nmt** or **Echo** ///
### SmtTransfer ///
The Statistical Machine Translation Transfer Learning engine is primarily used for translation suggestions. ///
Typical endpoints: translate, get-word-graph, train-segment ///
### Nmt ///
The Neural Machine Translation engine is primarily used for pretranslations. It is - ///
fine tuned from the NLLB-200 from Meta and inherits the 200 language codes. + ///
fine tuned from the NLLB-200 from Meta and inherits the 200 language codes. Valid IETF language tags will be converted to an [NLLB-200 code](https://github.com/facebookresearch/flores/tree/main/flores200#languages-in-flores-200), and NLLB will be used as-is. ///
Typical endpoints: pretranslate ///
### Echo ///
The Echo engine has full coverage of all Nmt and SmtTransfer endpoints. Endpoints like create and build diff --git a/src/Serval.Translation/Controllers/TranslationEnginesController.cs b/src/Serval.Translation/Controllers/TranslationEnginesController.cs index 2f29f2bd..1d4c1012 100644 --- a/src/Serval.Translation/Controllers/TranslationEnginesController.cs +++ b/src/Serval.Translation/Controllers/TranslationEnginesController.cs @@ -87,16 +87,15 @@ CancellationToken cancellationToken /// * **name**: A name to help identify and distinguish the file. /// * Recommendation: Create a multi-part name to distinguish between projects, uses, etc. /// * The name does not have to be unique, as the engine is uniquely identified by the auto-generated id - /// * **sourceLanguage**: The source language code - /// * Note that for Nmt, if the source or target language code matches an [IETF language tag](https://en.wikipedia.org/wiki/IETF_language_tag), it will be converted to an [NLLB-200 code](https://github.com/facebookresearch/flores/tree/main/flores200#languages-in-flores-200) and use the language as-is. - /// * **targetLanguage**: The target language code + /// * **sourceLanguage**: The source language code (a valid [IETF language tag](https://en.wikipedia.org/wiki/IETF_language_tag) is recommended) + /// * **targetLanguage**: The target language code (a valid IETF language tag is recommended) /// * **type**: **SmtTransfer** or **Nmt** or **Echo** /// ### SmtTransfer /// The Statistical Machine Translation Transfer Learning engine is primarily used for translation suggestions. /// Typical endpoints: translate, get-word-graph, train-segment /// ### Nmt /// The Neural Machine Translation engine is primarily used for pretranslations. It is - /// fine tuned from the NLLB-200 from Meta and inherits the 200 language codes. + /// fine tuned from the NLLB-200 from Meta and inherits the 200 language codes. Valid IETF language tags will be converted to an [NLLB-200 code](https://github.com/facebookresearch/flores/tree/main/flores200#languages-in-flores-200), and NLLB will be used as-is. /// Typical endpoints: pretranslate /// ### Echo /// The Echo engine has full coverage of all Nmt and SmtTransfer endpoints. Endpoints like create and build