futo-org / voice-input

Issue tracker for Voice Input
74 stars 0 forks source link

[Feature request] Automatic correction of transcription #74

Open AndreasKueck opened 2 weeks ago

AndreasKueck commented 2 weeks ago

There should be an option for automatic correction of the transcription. Idea:

  1. Pressing a respective button in the FUTO Voice Input keyboard launches an automatic correction of the latest transcription result and outputs a corrected transcription.
  2. Implementation could be done as follows.
  3. In the settings, the user has the option to provide his OpenAI key for using ChatGPT for automatic correction.
  4. In the settings, the user also may specify a respective prompt for ChatGPT used for automatic correction, e. g.: "Korektu ortografie jenan tekston kaj eligu nur la korektitan tekston: " This is Esperanto and means: "Correct the spelling of the following text and output only the corrected text: ". And the latest transcription result will be set after the ": " and sent to ChatGPT when the user presses the button for automatic correction.

Such a feature would mitigate disadvantages of undertrained and not trained languages.

What do you think?

tashijayla commented 2 weeks ago

The FUTO keyboard does not have internet access, so your idea won't work unless the AI model can run locally on the device. Running the AI model locally would also significantly increase the processing time, depending on the device's speed.