Граф коммитов

390 Коммитов

Автор SHA1 Сообщение Дата
glharper@microsoft.com 1568dc27a6 add todo for Native parity 2023-07-05 10:25:23 -07:00
glharper@microsoft.com 28cbf2f926 add result reason to partial/final results 2023-07-05 10:17:21 -07:00
glharper@microsoft.com 7f940694a4 add result reasons for conv. translation scenarios 2023-07-05 09:32:56 -07:00
glenn e680459b1f use id from service 2023-06-16 19:29:25 -04:00
glharper@microsoft.com 96ea23a3e7 add result id 2023-06-08 12:56:42 -07:00
Shiv Sarthak Sabhlok 04a442d9d7
Added 'LocaleName' in VoiceInfo Class (#679) 2023-05-19 06:44:11 -07:00
Glenn Harper 10efe02c9c
test changes for clid translation (#675) 2023-05-04 21:16:03 -04:00
Glenn Harper 87227c826f
allow SpeechTranslationConfig to set property using id (#672) 2023-04-26 11:50:56 -07:00
Glenn Harper d071d11d1e
remove CertChecks class (#662) 2023-04-19 09:02:57 -07:00
Glenn Harper e6faf6b7fc
re-enable telemetry test for v2 service (#666) 2023-04-18 13:24:06 -04:00
Glenn Harper 628d560d5a
fix JS tests and v2 service handling post-exception revocation (#664) 2023-04-14 15:15:57 -04:00
Glenn Harper a79b92f5bd
remove ocsp code (#649) 2023-04-10 14:03:55 -07:00
Glenn Harper f37a6d245e
display words and words have same corrected offset (#640) 2023-03-22 09:01:01 -04:00
Darren Cohen f8d57c93b6
Add ref-doc comments related to service-side audio logging. Fix other (missing) comments. (#652)
Co-authored-by: Darren Cohen <darren.cohen@microsoft.com>
2023-03-15 12:19:42 -07:00
dependabot[bot] 8c7749c411
Bump webpack from 5.72.1 to 5.76.0 (#650)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-15 11:21:55 -04:00
Glenn Harper c5875d3be1
remove blob method from IAudioSource and implementing classes (#646) 2023-03-09 19:05:47 -05:00
BrianMouncer 0b6bb1ce15
update JS SDK version to V-next (1.27)... (#643) 2023-03-08 14:53:35 -08:00
Glenn Harper 2bcab1b1b9
Add StartConsoleOutput and StopConsoleOutput APIs (#641) 2023-03-06 13:36:05 -08:00
Glenn Harper bfd61aec27
Glharper/sid to usp (#530) 2023-03-02 11:17:23 -08:00
Glenn Harper 1db1f84fc3
add enable miscue property setter to PronunciationAssessmentConfig (#636) 2023-02-28 10:38:48 -05:00
Glenn Harper 2d98cf34a0
updated fix for speech seg timeout setting in continuous mode (#635) 2023-02-23 16:34:03 -05:00
Maddy Miller 7cd0ac248d
chore: update UUID lib and corresponding types lib (#617) 2023-02-22 19:14:27 -05:00
Glenn Harper 3c9a7ff8bf
lint fix (#633) 2023-02-22 13:16:26 -08:00
Jxpxn 5076d93f67
Added invalid nickname error for conversations (#615)
* Added string's length checks to the Contracts class

* Add the usage of the string's length checks for the ConversationImpl nickname

* Changed minimum nickname length from 1 to 2

* Fixed the throwIfNullOrTooShort method of Contracts

* Update Conversation.ts

---------

Co-authored-by: Japou Pou <remi.allard@menaps.com>
2023-02-22 11:40:07 -05:00
Glenn Harper 82b4eb8080
setting Seg timeout no longer overrides recognition mode (#630) 2023-02-21 17:07:23 -05:00
Glenn Harper 855f094028
remove got dependency to close vulnerability, use bent in tests (#628) 2023-02-14 11:49:52 -08:00
BrianMouncer cd27316c5e bump version in master to be v-next. 2023-02-09 12:13:55 -08:00
Glenn Harper 912f1ac2ac
Only use specific Reco types in specific ServiceReco classes. (#625) 2023-02-08 13:02:36 -08:00
dependabot[bot] b7d396a29f
Bump http-cache-semantics from 4.1.0 to 4.1.1 (#624)
Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/kornelski/http-cache-semantics/releases)
- [Commits](https://github.com/kornelski/http-cache-semantics/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: http-cache-semantics
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-06 22:52:52 +08:00
Glenn Harper 7fc72513f7
Disable Sentence Boundary test temporarily (#619) 2023-01-20 15:39:24 -05:00
Ryan Hurey 8c7d4241a5
Add support for virtual microphone transcription endpoint to ConversationTranslator (#607)
- Set necessary query and headers for CT virtual microphone array endpoint
- Adds a new connection factory for the conversation translator
- Adds support for endpoint URLs with replacement strings for the region
- Bug fixes:
  - Guest joining ConversationTranslator
  - Virt mic array CT now works for guests

Co-authored-by: Ralph El Hage <ralphe@microsoft.com>
2023-01-12 18:03:26 -08:00
Glenn Harper 0a93934a3c
workaround for super method call not working on es2015 (#616) 2023-01-10 13:10:35 -08:00
dependabot[bot] db6c88743e
Bump json5 from 1.0.1 to 1.0.2 (#614)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-08 09:30:06 -05:00
dependabot[bot] 7361fb7a91
Bump json5 and webpack-stream in /tests/packaging (#613)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-03 21:23:43 -05:00
dependabot[bot] 912d9c7f76
Bump minimatch from 3.0.4 to 3.1.2 in /tests/packaging (#610)
Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.1.2.
- [Release notes](https://github.com/isaacs/minimatch/releases)
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.1.2)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-21 15:54:25 +08:00
dependabot[bot] cd109f8aa8 Bump loader-utils from 1.4.1 to 1.4.2 in /tests/packaging (#594)
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.2/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.1...v1.4.2)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Yulin Li <liyulin@pku.edu.cn>
2022-12-21 15:53:51 +08:00
dependabot[bot] 02de91173f
Bump decode-uri-component from 0.2.0 to 0.2.2 (#600)
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)

---
updated-dependencies:
- dependency-name: decode-uri-component
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-21 15:15:22 +08:00
dependabot[bot] 46f64da3aa
Bump decode-uri-component from 0.2.0 to 0.2.2 in /tests/packaging (#601)
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)

---
updated-dependencies:
- dependency-name: decode-uri-component
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-21 15:14:49 +08:00
Glenn Harper 4ec7472de1
Increase maxHeaderSize to 4296 (#604) to fix reading some iOS WAV files
This is good only as a temporary fix. Need to fix the parser to read chunk sizes and skip them until you reach the "data" chunk. In this particular case, the iOS WAV file has a the Apple "FLLR" chunk that needs to be skipped. See https://stackoverflow.com/questions/6284651/avaudiorecorder-doesnt-write-out-proper-wav-file-header
2022-12-12 09:10:54 -08:00
Glenn Harper fa92888500
Initial changes to support speech.phrase in translation service reco (#603) 2022-12-07 14:21:41 -08:00
Glenn Harper ead45a3438
Add setServiceProperty API to ConversationTranslator (#598) 2022-11-29 12:30:42 -05:00
Glenn Harper 7ace34ae73
Allow full endpoint to be set for conversation translation speech service (#597) 2022-11-28 16:16:42 -05:00
Glenn Harper a91a110c07
Update README.md (#596) 2022-11-28 12:21:17 -05:00
Darren Cohen 39d87f1400
Update LID properties (#592)
Remove these (to align with the change in Carbon native):
SpeechServiceConnection_AtStartLanguageIdPriority
SpeechServiceConnection_ContinuousLanguageIdPriority

Add this single one:
SpeechServiceConnection_LanguageIdMode

Change code such that LID configuration is driven by a single "mode". This is already exposed (before my change) as the AutoDetectSourceLanguageConfig.mode property, which can take two enum values LanguageIdMode.AtStart and LanguageIdMode.Continuous. They are reflected as a string in the single property SpeechServiceConnection_LanguageIdMode.

We will only support "PrioritizeLatency" in the JS code. No support for "PrioritizeAccuracy".

Update test to make sure speech.context is set properly when you set AutoDetectSourceLanguageConfig.mode to AtStart, Continuous or don't set it all, in which case it defaults to AtStart.

I wrote sample code to test RecognizeOnce SR + AtStart LID, and StartContinuousRecognition SR + AtStart LID / Continuous LID. Everything works nicely. I tested with multilingual WAV file (multiple utterances, each one at different language). I check that v2 endpoint is automatically set for Continuous LID. I checked the values of speech.context and query URL. There is still work to be done to update the automated tests to do the same. I opened a task for that.
2022-11-18 15:30:23 -08:00
Glenn Harper cd55c13d25
add source-map override to allow node 18 to build lib (#593) 2022-11-18 09:08:18 -05:00
dependabot[bot] 86828df7ea
Bump loader-utils from 1.4.0 to 1.4.1 in /tests/packaging (#590)
Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/webpack/loader-utils/releases)
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.1/CHANGELOG.md)
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.0...v1.4.1)

---
updated-dependencies:
- dependency-name: loader-utils
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-08 13:12:21 -05:00
Glenn Harper 087a1c6b46
use setup instead of preinstall (#589) 2022-11-08 12:42:32 -05:00
Glenn Harper 0ee23f6b52
use overrides in package.json instead of force-resolutions (#588) 2022-11-02 12:02:39 -07:00
Glenn Harper 7d1627bfcc
Use conventional idioms to access connection and phraseListGrammar fr… (#586)
* Use conventional idioms to access connection and phraseListGrammar from ConversationTranscriber

* set connection property on ConversationTranscriber as deprecated

* add internalData property for ConversationTranscriber, remove recognizer property
2022-10-26 16:08:52 -07:00
Glenn Harper 3bc4dd907b
CTS regression fix (#585)
* CTS regression fix

* PR review update
2022-10-25 10:00:17 -07:00