Skip to content

lymanny/iOS-SFSpeechRecognizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸŽ™οΈ Speech Recognizer with Lottie Animations

Overview πŸ“š

A sample project that implements real-time speech-to-text transcription using Apple's Speech framework.

Features πŸ”‘

  • Speech Recognition: Real-time transcription using Apple's Speech framework.
  • Lottie Animations: Visual feedback during voice input.
  • User-Friendly Interface: Simple design for seamless interaction.

Requirements πŸ“‹

  • iOS 14.0+
  • Xcode 12.0+
  • Swift 5.0

Demo πŸŽ₯

Speech Recognizers (English and Korean)

English Speech Recognizer Korean Speech Recognizer

Usage πŸ› οΈ

  1. Clone the repository:
    git clone https://github.com/lymanny/iOS-SFSpeechRecognizer.git
  2. Open the project in Xcode.
  3. Run the app on an iOS device or simulator.
  4. Start speaking to see the real-time transcription!

Permissions πŸ”

Add the following to your Info.plist file:

<key>NSMicrophoneUsageDescription</key>
<string>We need access to your microphone for speech recognition.</string>
<key>NSSpeechRecognitionUsageDescription</key>
<string>We need access to transcribe your voice.</string>

Limitations ⚠️

  • Does not automatically detect spoken language; you must specify the language in the code.
  • English Speech Recognizer
    SFSpeechRecognizer(locale: Locale(identifier: "en-US"))
  • Korean Speech Recognizer
    SFSpeechRecognizer(locale: Locale(identifier: "ko-KR"))

Contributing 🀝

Contributions are welcome! Please feel free to submit issues, fork the repository, and create pull requests.

License πŸ“„

This project is licensed under the MIT License.

Author πŸ‘©β€πŸ’»

lymanny - iOS Developer
🌐 Portfolio

About

🍎 Sample project for real-time speech-to-text transcription using Apple's Speech framework.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published