-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from tilde-nlp/feature/language_directions
Add language direction option
- Loading branch information
Showing
8 changed files
with
146 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
// Copyright 2024 Tilde SIA (https://tilde.ai/) | ||
// Use of this source code is governed by an MIT | ||
// license that can be found in the LICENSE file. | ||
using Tilde.Translation.Enums.Engine; | ||
|
||
namespace Tilde.Translation.Models.Engine | ||
{ | ||
public class LanguageDirection | ||
{ | ||
/// <summary> | ||
/// Engine id | ||
/// </summary> | ||
public Guid EngineId { get; internal set; } | ||
|
||
/// <summary> | ||
/// Engine name | ||
/// </summary> | ||
public string EngineName { get; internal set; } | ||
Check warning on line 18 in Tilde.Translation/Models/Engine/LanguageDirection.cs GitHub Actions / build
|
||
|
||
/// <summary> | ||
/// Source language code | ||
/// </summary> | ||
public string SourceLanguage { get; internal set; } | ||
|
||
/// <summary> | ||
/// Target language code | ||
/// </summary> | ||
public string TargetLanguage { get; internal set; } | ||
|
||
/// <summary> | ||
/// Domain | ||
/// </summary> | ||
public string? Domain { get; internal set; } | ||
|
||
/// <summary> | ||
/// Supports term collections | ||
/// </summary> | ||
public bool SupportsTermCollections { get; internal set; } | ||
|
||
/// <summary> | ||
/// Engine vendor | ||
/// </summary> | ||
public Vendor EngineVendor { get; internal set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters