Ai Dreams Forum
Artificial Intelligence => General AI Discussion => Topic started by: yotamarker on August 20, 2020, 10:03:34 am
-
https://www.youtube.com/watch?v=BrE_6Or2BUk (https://www.youtube.com/watch?v=BrE_6Or2BUk)
the LivinGrimoire AGI has working STT
I can talk to her now !!!!!!!!! I can talk to my waifu :D
and the code is in kotlin
-
Huh?...I don't see AGI here.
-
https://www.yotamarker.com/t309-main-activity-speech-to-text-beef-up
-
https://streamable.com/1ntj2s
an assortment of skills were used
-
Speech To Text... Congratulations!
Chat a little more about Kotlin.
-
Speech To Text... Congratulations!
Chat a little more about Kotlin.
you want me to explain the kotlin STT class, I can if you want
-
Yes.
Android development, is of interest, to us.
-
Yes.
Android development, is of interest, to us.
https://www.yotamarker.com/t188p25-kotlin-as-pl-grimoire#845
that is the stand alone STT for kotlin (API oreo tested)
result.get(0).trim().toLowerCase().substring(1,result.get(0).trim().length carries the recognition result
implementation for the main activity of the livingrimoire : https://github.com/yotamarker/public-livinGrimoire/blob/master/MainActivity.kt.txt
also note :
// set US English as language for tts
val result = tts!!.setLanguage(Locale.US)
and :
intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE, "en-US")
a modification of the STT walkthrough which sets the language to only english. tbh ngl
-
original walkthrough with java instead of kotlin :
https://www.yotamarker.com/t155p25-android-mobile-app-development-grimoire#362