-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Add Translation Text client library #34965
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
51 commits
Select commit
Hold shift + click to select a range
4a69dd2
Initial commit
9cc1b7b
Fixes
bd9ca58
Fix build
6e81061
Adding tests
d4ad228
Adding input models and methods
132abb9
Merge pull request #1 from MikeyMCZ/mimat/translator
MikeyMCZ 48fd10c
Fixing BreakSentence
6f83fdd
Merge pull request #2 from MikeyMCZ/mimat/translator
MikeyMCZ 8f9f9a3
Initial documentation commit
8b214b2
Get Languages and Translate documentation
8fb5b55
Other samples
e762486
Fixing get languages
2fe71ce
Merge pull request #3 from MikeyMCZ/mimat/documentation
MikeyMCZ 1ded9fa
Removing sample tests
a60c76a
Adding Translate options
187d05b
Updating examples
7a7e71e
Samples update
d822bd0
Initial work for adding tests (#4)
hamshavathimunibyraiah 915896a
Moving sources to proper location
01d779e
Updating name of client to TextTranslationClient
208c169
Updating name of the methods as per review
c14c127
Removing Models namespace
7e995c2
Updating ctors after API review
69a024e
Simplify operations call
4ff3352
Updating names - review comments
f4c0f51
Updating ctor according to the latest guidance
e0fa1ba
Updating documentation
ef86e2b
Update names
134a2d2
Merge branch 'Azure:main' into main
MikeyMCZ 23ef600
Fixing the tests
e4d5d29
Tests updates
a30a209
Tests fix
155a678
Fixing Token services.
804f882
Compliance fix for pipeline
f5451a0
Update constructors' signature according to APIView review
50c898c
Disable links to fix the PR build
326b7e2
Fixing the build validation
815ef2f
Attempt to fix "Verify generated code" build step
9388757
Moving tsp-location.yaml
616345d
Reference commit with TSP in specs repo
4dd91ee
Changing order of artifacts
c06a4ea
Adding translation text to projects.txt
6295421
Remove from projects.txt
47f58ac
Removing snippet: annotation
2478363
Fixing the generation
97905be
Updated code from latest TypeSpec
808a2d7
Fixing PR comments
8b0f271
Update tsp-location.yaml and test recordings
fbcd4a2
Updating the generated netstandard file
ffbf3ab
Linking samples to create client sample
b8a4f35
Fixing PR comments
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
37 changes: 37 additions & 0 deletions
37
sdk/translation/Azure.AI.Translation.Text/Azure.AI.Translation.Text.sln
This file contains hidden or 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,37 @@ | ||
| | ||
| Microsoft Visual Studio Solution File, Format Version 12.00 | ||
| # Visual Studio Version 17 | ||
| VisualStudioVersion = 17.5.33424.131 | ||
| MinimumVisualStudioVersion = 10.0.40219.1 | ||
| Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.Core.TestFramework", "..\..\core\Azure.Core.TestFramework\src\Azure.Core.TestFramework.csproj", "{ECC730C1-4AEA-420C-916A-66B19B79E4DC}" | ||
| EndProject | ||
| Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Azure.AI.Translation.Text", "src\Azure.AI.Translation.Text.csproj", "{1DA1D204-899B-4F27-B49D-D016CEB9EB3D}" | ||
| EndProject | ||
| Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Azure.AI.Translation.Text.Tests", "tests\Azure.AI.Translation.Text.Tests.csproj", "{D215EFB8-84E4-4C2F-8924-F5980FC89EDB}" | ||
| EndProject | ||
| Global | ||
| GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
| Debug|Any CPU = Debug|Any CPU | ||
| Release|Any CPU = Release|Any CPU | ||
| EndGlobalSection | ||
| GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
| {ECC730C1-4AEA-420C-916A-66B19B79E4DC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
| {ECC730C1-4AEA-420C-916A-66B19B79E4DC}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
| {ECC730C1-4AEA-420C-916A-66B19B79E4DC}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
| {ECC730C1-4AEA-420C-916A-66B19B79E4DC}.Release|Any CPU.Build.0 = Release|Any CPU | ||
| {1DA1D204-899B-4F27-B49D-D016CEB9EB3D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
| {1DA1D204-899B-4F27-B49D-D016CEB9EB3D}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
| {1DA1D204-899B-4F27-B49D-D016CEB9EB3D}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
| {1DA1D204-899B-4F27-B49D-D016CEB9EB3D}.Release|Any CPU.Build.0 = Release|Any CPU | ||
| {D215EFB8-84E4-4C2F-8924-F5980FC89EDB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
| {D215EFB8-84E4-4C2F-8924-F5980FC89EDB}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
| {D215EFB8-84E4-4C2F-8924-F5980FC89EDB}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
| {D215EFB8-84E4-4C2F-8924-F5980FC89EDB}.Release|Any CPU.Build.0 = Release|Any CPU | ||
| EndGlobalSection | ||
| GlobalSection(SolutionProperties) = preSolution | ||
| HideSolutionNode = FALSE | ||
| EndGlobalSection | ||
| GlobalSection(ExtensibilityGlobals) = postSolution | ||
| SolutionGuid = {A97F4B90-2591-4689-B1F8-5F21FE6D6CAE} | ||
| EndGlobalSection | ||
| EndGlobal |
This file contains hidden or 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,18 @@ | ||
| # Release History | ||
|
|
||
| ## 1.0.0-beta.1 (Unreleased) | ||
| Initial version of Text Translation client library for .NET | ||
|
|
||
| ### Features Added | ||
| - Added support for Text Translation - [Translate API](https://learn.microsoft.com/azure/cognitive-services/translator/reference/v3-0-translate) | ||
| - Added support for Text Transliteration - [Transliterate API](https://learn.microsoft.com/azure/cognitive-services/translator/reference/v3-0-transliterate) | ||
| - Added support for Finding Sentence Boundaries - [FindSentenceBoundaries API](https://learn.microsoft.com/azure/cognitive-services/translator/reference/v3-0-break-sentence) | ||
| - Added support for Getting the Supported Languages - [GetLanguages API](https://learn.microsoft.com/azure/cognitive-services/translator/reference/v3-0-languages) | ||
| - Added support for Looking up the Dictionary Entries - [LookupDictionaryEntries API](https://learn.microsoft.com/azure/cognitive-services/translator/reference/v3-0-dictionary-lookup) | ||
| - Added support for Looking up the Dictionary Examples - [LookupDictionaryExamples API](https://learn.microsoft.com/azure/cognitive-services/translator/reference/v3-0-dictionary-examples) | ||
|
|
||
| ### Breaking Changes | ||
|
|
||
| ### Bugs Fixed | ||
|
|
||
| ### Other Changes | ||
6 changes: 6 additions & 0 deletions
6
sdk/translation/Azure.AI.Translation.Text/Directory.Build.props
This file contains hidden or 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,6 @@ | ||
| <Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
| <!-- | ||
| Add any shared properties you want for the projects under this package directory that need to be set before the auto imported Directory.Build.props | ||
| --> | ||
| <Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory).., Directory.Build.props))\Directory.Build.props" /> | ||
| </Project> |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.