Skip to content

Latest commit

 

History

History
57 lines (46 loc) · 1.95 KB

File metadata and controls

57 lines (46 loc) · 1.95 KB

🎙️ 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