
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
com.speechpro.android:stcspeechkit
Advanced tools
Use the STC SpeechKit library to integrate speech recognition, text-to-speech and diarization.
Use the STC SpeechKit library to integrate speech recognition, text-to-speech and diarization.
Download the project and compile from the sources or use Gradle:
Add the dependency to your project's top-level build.gradle:
allprojects {
repositories {
google()
jcenter()
maven {
url 'https://oss.sonatype.org/content/repositories/snapshots'
}
}
}
Then add the plugin to your app-level build.gradle:
dependencies {
...
implementation 'com.speechpro.android:stcspeechkit:0.8.4'
}
STCSpeechKit.init(activity!!.applicationContext, login, password, domainId.toInt())
STCSpeechKit.setLogging(true)
webSocketRecognizer = WebSocketRecognizer.Builder(this)
.build()
webSocketRecognizer.startRecording()
webSocketRecognizer.stopRecording()
override fun onRecognizerTextMessage(result: String) {
//intermediate result
}
override fun onRecognizerTextResult(result: String) {
//final result
}
restApiRecognizer = RestApiRecognizer.Builder(this)
.build()
restApiRecognizer.startRecording()
restApiRecognizer.stopRecording()
override fun onRecognizerTextMessage(result: String) {
//intermediate result
}
override fun onRecognizerTextResult(result: String) {
//final result
}
webSocketSynthesizer = WebSocketSynthesizer.Builder(this)
.language(Language.Russian)
.speaker("Alexander")
.build()
webSocketSynthesizer.synthesize("Тестовый синтез")
override fun onSynthesizerResult(byteArray: ByteArray) {
//PCM
}
restApiSynthesizer = RestApiSynthesizer.Builder(this)
.language(Language.Russian)
.speaker("Alexander")
.build()
restApiSynthesizer.synthesize("Тестовый синтез")
override fun onSynthesizerResult(byteArray: ByteArray) {
//WAV
}
diarization = RestApiDiarization.Builder(this)
.build()
diarization.startRecording()
diarization.stopRecording()
override fun onDiarizationResult(result: Data) {
//result
}
Copyright (c) 2019 STC. Licensed under the FreeBSD License.
FAQs
Use the STC SpeechKit library to integrate speech recognition, text-to-speech and diarization.
We found that com.speechpro.android:stcspeechkit demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.