Code Example - TeamHYME/HYME GitHub Wiki

Code example for HYME


1. Set STT(Speech-to-Text) via GoogleCloudSpeechAPI

  1. Go SpeechActivity.
  2. Find SpeechListener, and go to Runnable method.
  3. The main STT sets in run(). You can adjust the STT code in there.
  4. You can choose the number of listener times and call SpeechAlgorithm in there also.

    Examples are here :


2. SpeechAlgorithm

  1. Go SpeechAlgorithm.
  2. You can change the words or types of speech in AnalyzeText method.
  3. You can also change the pattern in AnalyzeType method.

    **Examples are here : **

⚠️ **GitHub.com Fallback** ⚠️