Skip to content

benbarnard-OMI/vocab_practice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Child-Friendly Vocabulary Study Tool

Overview

The Child-Friendly Vocabulary Study Tool is a simple and intuitive web application designed to help children study vocabulary words in an engaging and effective manner. Parents can upload a picture of vocabulary words and definitions, which the app processes using an in-browser OCR library. The child interacts with an interface that reads definitions aloud and allows them to type in the corresponding vocabulary word, receiving immediate feedback.

Table of Contents

Features

Image Upload and Text Extraction

  • Simple Upload Process
    • Easy-to-use "Upload Image" button for uploading images containing vocabulary words and definitions.
    • Supports common image formats like JPEG and PNG.
  • Accurate Text Extraction
    • Utilizes a reliable in-browser OCR library (e.g., Tesseract.js) to extract text from images.
    • Parent Review and Edit
      • Parents can review and edit the extracted vocabulary words and definitions to ensure accuracy before the child uses them.

Child-Friendly User Interface

  • Clean and Minimalistic Design
    • Large fonts and buttons suitable for children.
    • Essential elements are highlighted to minimize distractions.
  • Engaging Visuals
    • Friendly icons and characters to guide the child through the learning process.
  • Simplified Navigation
    • Single-page application to keep interactions straightforward.

Interactive Learning Experience

  • Text-to-Speech Functionality
    • Prominent "Play" button that reads definitions aloud using in-browser text-to-speech (e.g., Web Speech API).
    • Clear and moderate-paced voice suitable for children.
  • Answer Input
    • Text box for the child to type their answer.
    • Auto-focus on the text box after the definition is read aloud.

Immediate Feedback Mechanism

  • Positive Reinforcement
    • Displays encouraging messages (e.g., "Great job!") and visual indicators (e.g., green checkmark) for correct answers.
  • Gentle Prompts for Incorrect Answers
    • Provides gentle feedback (e.g., "Let's try again!") without discouraging the child.
    • Limited number of attempts with options for hints or revealing the correct answer.

Progress Tracking

  • Simple Progress Indicators
    • Progress bar showing the number of words completed out of the total.
    • Keeps tracking straightforward without complex statistics.

Session Completion

  • Celebratory Messages
    • Displays a congratulatory message upon session completion to acknowledge the child's effort.
  • Optional Review
    • Optionally suggests a quick review of missed words in a positive manner.

Getting Started

Prerequisites

  • A modern web browser (e.g., Chrome, Firefox, Edge, Safari) with JavaScript enabled.
  • Internet connection for accessing the in-browser OCR library.

Child Vocabulary Study Tool

Setup Instructions

  1. Clone the Repository

    git clone https://github.com/yourusername/child-vocab-study-tool.git
  2. Navigate to the Project Directory

    cd child-vocab-study-tool
  3. Install Dependencies

    If using Node.js and npm:

    npm install
  4. Start the Application

    npm start

    Or, if it's a static application, open index.html in your preferred web browser.

Configuration

In-Browser OCR Setup

  1. Choose an In-Browser OCR Library

    • We recommend using Tesseract.js for text extraction from images.
  2. Install the OCR Library

    • If using Node.js and npm, install Tesseract.js by running:
    npm install tesseract.js
  3. Configure OCR Settings

    • Ensure the OCR library is properly configured in your application code.
  4. Text-to-Speech Permissions

    • Some browsers may require permission to use the text-to-speech features. Allow any prompts that request access.

Usage

For Parents

  1. Upload Vocabulary Image

    • Navigate to the application's homepage.
    • Click on the "Upload Image" button.
    • Select the image file containing the vocabulary words and definitions.
  2. Review and Edit Extracted Text

    • After uploading, the extracted words and definitions will be displayed.
    • Review the content to ensure accuracy.
    • Edit any misread words or definitions directly in the interface.
  3. Start the Study Session

    • Once satisfied, click on the "Start Session" button to prepare the application for the child.

For Children

  1. Listen to the Definition

    • Press the "Play" button to hear the definition read aloud.
  2. Type the Vocabulary Word

    • Click on the text box (if not already focused).
    • Type the vocabulary word that matches the definition.
  3. Receive Feedback

    • For correct answers: A positive message and visual indicator will appear. The application will automatically proceed to the next word after a brief pause.
    • For incorrect answers: A gentle prompt will encourage you to try again. After a set number of attempts, hints may be provided.
  4. Track Progress

    • The progress bar at the top of the screen will show your advancement through the vocabulary list.
  5. Session Completion

    • Upon completing all words, a celebratory message will be displayed. Optionally, you can review any words that were challenging.

Technologies Used

  • Front-End Technologies

    • HTML5
    • CSS3
    • JavaScript (ES6+)
    • Optionally using a framework like React.js or Vue.js for enhanced UI responsiveness.
  • APIs and Libraries

    • In-Browser OCR: For text extraction from uploaded images (e.g., Tesseract.js).
    • Web Speech API: For in-browser text-to-speech functionality.
    • Accessibility Libraries: Ensuring the application is accessible to all users.

Anticipated Roadblocks & Solutions

  • Text Extraction Inaccuracy

    • Issue: OCR may misread text, especially in low-quality images.
    • Solution: Allow parents to review and correct extracted text before the study session begins.
  • Text-to-Speech Pronunciation Errors

    • Issue: Some words may be mispronounced by the TTS engine.
    • Solution: Provide an option for parents to adjust pronunciations or input phonetic spellings.
  • Child Frustration with Incorrect Attempts

    • Issue: Multiple incorrect attempts may discourage the child.
    • Solution: Limit the number of attempts and offer hints, such as revealing the first letter.
  • Technical Difficulties on Certain Devices

    • Issue: Application may not function correctly on all devices or browsers.
    • Solution: Optimize for major browsers and devices, and provide recommendations for the best user experience.
  • Distractions from Excessive On-Screen Elements

    • Issue: Too many features can overwhelm the child.
    • Solution: Keep the interface simple with only essential elements visible.

Simplifications

  • No Account Creation Required

    • Users can access and use the tool immediately without signing up or logging in.
  • Minimal Settings

    • Default settings are optimized for most users, reducing complexity.
  • Single-Page Application

    • All interactions occur on one page to simplify navigation.
  • Local Processing When Possible

    • Text-to-speech and feedback are handled in the browser to reduce server dependency.

Contributing

Contributions are welcome! Here's how you can help:

  1. Fork the Repository

    • Click the "Fork" button at the top right of the repository page.
  2. Create a Branch

    • Create a new branch for your feature or bug fix.
    git checkout -b feature/YourFeatureName
  3. Make Your Changes

    • Implement your feature or fix the bug.
  4. Commit and Push

    git add .
    git commit -m "Add your message here"
    git push origin feature/YourFeatureName
  5. Submit a Pull Request

    • Go to your forked repository and click the "New Pull Request" button.

License

This project is licensed under the MIT License.

Acknowledgments

  • In-Browser OCR Providers: For enabling reliable text extraction services.
  • Web Speech API: For providing in-browser text-to-speech capabilities.
  • Educational Communities: For inspiring the need for accessible learning tools.
  • Contributors: To all who have contributed to making this project better.

Contact

For any questions, suggestions, or feedback, please contact:

About

Experimenting with vocabulary practice

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors