Skip to content

Sunilstar-V/Wikipedia-Voice-Search-Tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wikipedia Voice Search Tool

This project allows users to search Wikipedia using voice commands. It utilizes the Web Speech API to capture voice input, convert it to text, and perform a search on Wikipedia. Users can simply click the voice search button and start speaking to search for articles on Wikipedia.

Features

  • Voice Search: Search Wikipedia by speaking a query instead of typing.
  • Real-Time Input: The system listens to the user's voice and automatically fills the search bar with the recognized text.
  • Responsive Design: The tool works well on both desktop and mobile devices.
  • Error Handling: Displays an error message in case of recognition failure.

Files

The project includes the following files:

  1. Voice_search_engine.js: Contains the JavaScript code for handling voice recognition and search.
  2. _config.yml: Configuration file for the project (for deployment purposes).
  3. voice_search_engine.html: The main HTML file that structures the search interface and includes embedded JavaScript for voice recognition functionality.
  4. README.md: Documentation file that provides an overview of the project.

How It Works

  1. HTML Structure:

    • A form with a search input field and a voice search button.
    • The button uses the Web Speech API to capture voice input.
  2. Voice Recognition:

    • The Web Speech API's webkitSpeechRecognition is used to listen to the user's voice.
    • The recognized text is then automatically populated in the search bar.
    • The form is submitted once the voice input is processed.
  3. Styling:

    • The form is styled to be user-friendly, with the voice search button styled using an icon and custom CSS.

Setup

  1. Clone the repository to your local machine:

    git clone <repository-url>
    
  2. Open the voice_search_engine.html file in a browser that supports the Web Speech API (Google Chrome is recommended).

  3. Make sure the microphone permission is granted when prompted by the browser.

  4. Click the voice search button and start speaking to search for Wikipedia articles.

Deployment

  • The project is deployed and can be accessed through the following link: Wikipedia Voice Search - IIIT Hyderabad Mini Hackathon

Requirements

  • Browser: Google Chrome or any other modern browser that supports the Web Speech API.
  • Microphone: Ensure your microphone is working and permission is granted for the browser to use it.

License

  • This project is open-source and available under the MIT License.

knowledgements

  • Thanks to the IIIT Hyderabad Mini Hackathon 2023 for showcasing this project.
  • Special thanks to the contributors and participants of the project.
This README provides a comprehensive overview of your project, including features, setup instructions, and deployment details.

About

node js learn

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published