Skip to content

Repository files navigation

Eitri iOS Speech

Installation via Swift Package Manager (Xcode)

  1. Open the main project or workspace in Xcode.
  2. Go to File > Add Packages....
  3. Enter the URL for this repository (https://github.com/Calindra/eitri-ios-speech) when prompted.
  4. Ensure the EitriSpeech product is added to the main target.

Speech permission strings

To use this module some configurations are needed

Add the following key to the target's Info.plist with a user-facing explanation:

  • Privacy - Speech Recognition Usage Description
  • Privacy - Microphone Usage Description

Registering speech module

import SpeechModule

// [...]

let eitriMachineContext = EitriMachineInstanceManager.start()

// get main eitri-machine instance
let mainEitriMachine = eitriMachineContext.mainMachine

// configure
mainEitriMachine.configure(
  // configure params
)

//register modules
mainEitriMachine.modules.register(module: SpeechModule())

How to use the module in your eitri-apps

Bifrost Speech API reference.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages