Giter Site home page Giter Site logo

read-story's Introduction

read-story

Read Text Out Loud

Read-Story is a command line program takes the text from an html document, downloads sound files for each word, and creates a clickable html file that plays the pronunciation of each word that is clicked.

The purpose of this app is to support students learning to read in English.

Requires: python2.7 python-html5 ffmpeg or avconv (libav-tools) LibreOffice (for best results) SoX (optional, for using record_missing_words.py)

Steps:

  1. Export document as html from LibreOffice to html_input
  2. Type command to create clickable html file in html_output/new_NAMEOFFILE.html: python parse_html.py html_input/NAMEOFFILE.html
  3. Record missing sounds as mp3 files in sounds/ a. Words are listed under missing_words/NAMEOFFILE.html_missing_words.txt b. Recordings can be made using command: python record_missing_words.py missing_words/NAMEOFFILE.html_missing_words.txt c. Hit Ctrl-C after saying each word to stop recording
  4. Open html_output/new_NAMEOFFILE.html in preferred web browser.

read-story's People

Contributors

timlev avatar buggi22 avatar

Stargazers

 avatar

Watchers

 avatar James Cloos avatar  avatar

read-story's Issues

Dashes are not rendering correctly

This is an issue with going from unicode to ascii. I am temporarily displaying dashes as --

Another problem is that dashes are not combining words that should not be combined.

A better name for this bird might be Gary--I think we've got a rooster here.

Ideally

Gary--I

should be two separate, clickable words.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.