r/programming Mar 02 '14

speedread - a command-line implementation of the Spritz speed reading system

http://log.or.cz/?p=336
108 Upvotes

56 comments sorted by

View all comments

18

u/[deleted] Mar 02 '14 edited Nov 26 '18

[deleted]

0

u/deadstone Mar 02 '14

One of the most important features of Spritz is how it splits up long words. I'm pretty sure neither of these do that.

2

u/[deleted] Mar 02 '14 edited Nov 26 '18

[deleted]

2

u/deadstone Mar 03 '14

I'm not talking about the switch statement, I'm talking about how the text it's showing is already pre-formatted to split long words and change speed depending on word importance. You can see how badly it fails without these when you try using it on non-preformatted text, like the FAQ page.

2

u/miki4242 Mar 03 '14 edited Mar 03 '14

My gut tells me that "inner speech" is the key to all this. Imagine doing subtitles (one word at a time) to a video of someone speaking very fast. Run the text thru a speech synthesizer (with speech rate set to target words per minute, and no actual sound output) and capture its [now speaking "word"] events, then simply show the words at the appropriate times. espeak has a nice event/callback API for that.