xypiie / spread0r Goto Github PK
View Code? Open in Web Editor NEWspread0r is a txt reader, which makes your reading twice as fast as usual
License: GNU General Public License v2.0
spread0r is a txt reader, which makes your reading twice as fast as usual
License: GNU General Public License v2.0
Hi there,
Is it possible to add support for a user config file to store preferences such as the default wpm?
Currently I have to reapply my preferred settings on each startup of spread0r.
Thanks!
Keyboard shorcuts would be nice.
You can get inspiration from http://dictator.kieranholland.com/dictator.htm
Installed from aur(using Manjaro Linux)
got following error:
Can't locate Hyphen.pm in @INC (you may need to install the Hyphen module) (@INC contains: lib/ ``/usr/lib/perl5/5.26/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/5.26/vendor_perl ``/usr/share/perl5/vendor_perl /usr/lib/perl5/5.26/core_perl /usr/share/perl5/core_perl) at /usr/bin/spread0r
line 26. BEGIN failed--compilation aborted at /usr/bin/spread0r line 26.
Hi there,
I started a discussion on Reddit on spritz implementations for reading PDF files. Yours was suggested as one of the solutions.
How would you convert PDFs to text in order to read it with spread0r?
Or do you know a native application that can directly speed read PDFs?
Thanks!
I found out that when the word is cleread out. And its completly disapearing after new word is shown. The visual imprint is much better than when words are shown immediatelly one after another. Please check this for example on this video:
https://www.youtube.com/watch?v=HI_3oXyRDOM
The words is shown. Then its disappears for fraction of second. Then new word is comming in. And you have this impression of "machine gun" that is firening stright to your brain.
I found that better readible than "fluid" mode.
Hi,
Is it possible to override GTK colors with something like a CSS file ? It could be nice, to :
It is really an awesome tool for reading, but colors are ruinning my eyes o
Hi,
Please add a text box below that contains the whole text being read without losing format and highlight each word being read while playing/reading.
This feature is found in an old windows app called Dictator written in python. However it does not implement focal letter highlighting and the spritz like reticule.
http://dictator.kieranholland.com/dictator.html
An android app also exist called, "Speed Read inspired by Spritz!" created by Reinhard Strauch. However, the android app stops working with longer txt files. Otherwise, it would have been nice if it can be ported to other OS.
https://play.google.com/store/apps/details?id=de.esolutions4you.speedread
Thanks & keep up the good work!
Being Perl illiterate, among other deficiencies, I'm having a tough time to get it working on OSX:
$ echo '[ $SHLVL -eq 1 ] && eval "$(perl -I$HOME/foo/lib/perl5 -Mlocal::lib=$HOME/foo)"' >>~/.bashrc
being part of 3) feels like it has to be run from cpan. A bit misleading.I'm not sure I understand what this line does, but it seems like auto searching for perl path: it fails on my system, most probably because having perl installed from Macports in /opt/local/bin/perl, reporting @inc not containing anything from /opt/local:
bash-3.2$ ./gritz.pl Can't locate Glib.pm in @INC (@INC contains: /Library/Perl/5.16/darwin-thread-multi-2level /Library/Perl/5.16 /Network/Library/Perl/5.16/darwin-thread-multi-2level /Network/Library/Perl/5.16 /Library/Perl/Updates/5.16.2/darwin-thread-multi-2level /Library/Perl/Updates/5.16.2 /System/Library/Perl/5.16/darwin-thread-multi-2level /System/Library/Perl/5.16 /System/Library/Perl/Extras/5.16/darwin-thread-multi-2level /System/Library/Perl/Extras/5.16 .) at ./gritz.pl line 21. BEGIN failed--compilation aborted at ./gritz.pl line 21.
I know it's a pain, but I guess you'll have to write up something more generic if you want others to be able to get it up and running on their system without asking questions...
./gritz.pl -w 1000 gritz.pl
Produces
*** unhandled exception in callback: *** Not a HASH reference at lib//Hyphen.pm line 513, <FILE> chunk 7. *** ignoring at ./gritz.pl line 395, <FILE> chunk 7.
… after reading up to sentence nr. 6.
Hi !
Thank you for this software.
But there is a problem with quotes "«" and "»".
For example : « test » will be diplayed : "«" and then "test" and then "»".
And there is also problem with the numbering.
For example : "2.1" will be displayed "2." and then "1".
It would also be nice to increase time when reading a new paragraph.
Regards
Hi, I'm french and found your program. I was interested in "Spritz", but as it ain't released yet, I use your program.
But in my language, characters like é or è are very common, and spread0r doesn't seem to handle them, as it writes "/xE9" for example instead. I've read that it's because of the UTF8 -> Unicode transition, but as I don't know Perl, I can't get it working.
It would be amazing if you fixed it because everything else is ok.
Thanks in advance !
Hi, I found your program and I like it a lot. I don't know Perl, but I want to make a proposal for the algorithm that finds the highlighted letter.
For a Spritz-like reader in Python I wrote for myself I came across this:
http://adonis49.wordpress.com/tag/optimal-recognition-point/
It's about the optimal-recognition-point and says that it's 'immediately to the left of the middle' of the word, whether it's a vowel or not.
For my script I used the 'golden ratio' idea (https://en.wikipedia.org/wiki/Golden_ratio): the letter that is ca. at 30% of the word from the left and I find it very comfortable for reading.
This is my proposal for finding the optimal recognition point (variable pos, starting from 0 as the first letter) in a word (python-code):
if len(tword) < 3:
pos = 0
elif len(tword) >= 3 and len(tword) < 7:
pos = 1
elif len(tword) >= 7 and len(tword) < 11:
pos = 2
else:
pos = 3
I'd love to hear what you think about this.
Regards from Germany
I'm trying to install the dependencies for spread0r on a Mac OS X system. There' a write permissions problem on Perl while installing Cairo. Can someone give a hint? Thanks.
$ perl -MCPAN -e shell
Terminal does not support AddHistory.
cpan shell -- CPAN exploration and modules installation (v1.9456)
Enter 'h' for help.
cpan[1]> install Cairo
Going to read '/Users/tristank/.cpan/Metadata'
Database was generated on Sun, 01 Jun 2014 22:17:02 GMT
Running install for module 'Cairo'
Running make for X/XA/XAOC/Cairo-1.104.tar.gz
Checksum for /Users/tristank/.cpan/sources/authors/id/X/XA/XAOC/Cairo-1.104.tar.gz ok
Scanning cache /Users/tristank/.cpan/build for sizes
............................................................................DONE
CPAN.pm: Going to build X/XA/XAOC/Cairo-1.104.tar.gz
Compiling Cairo with FreeType support
Checking if your kit is complete...
Looks good
Writing Makefile for Cairo
cp lib/Cairo.pm blib/lib/Cairo.pm
cp build/IFiles.pm blib/arch/Cairo/Install/Files.pm
cp cairo-perl.typemap blib/arch/Cairo/Install/cairo-perl.typemap
cp doctypes blib/arch/Cairo/Install/doctypes
cp cairo-perl.h blib/arch/Cairo/Install/cairo-perl.h
cp build/cairo-perl-auto.typemap blib/arch/Cairo/Install/cairo-perl-auto.typemap
cp build/cairo-perl-auto.h blib/arch/Cairo/Install/cairo-perl-auto.h
/usr/bin/perl /System/Library/Perl/5.12/ExtUtils/xsubpp -noprototypes -typemap /System/Library/Perl/5.12/ExtUtils/typemap -typemap build/cairo-perl-auto.typemap -typemap cairo-perl.typemap Cairo.xs > Cairo.xsc && mv Cairo.xsc Cairo.c
clang -c -I. -Ibuild -I/opt/X11/include/cairo -I/opt/X11/include/pixman-1 -I/opt/X11/include -I/opt/X11/include/freetype2 -I/opt/X11/include/libpng15 -arch i386 -arch x86_64 -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -fstack-protector -I/usr/local/include -Os -DVERSION=\"1.104\" -DXS_VERSION=\"1.104\" "-I/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE" Cairo.c
/usr/bin/perl /System/Library/Perl/5.12/ExtUtils/xsubpp -noprototypes -typemap /System/Library/Perl/5.12/ExtUtils/typemap -typemap build/cairo-perl-auto.typemap -typemap cairo-perl.typemap CairoFont.xs > CairoFont.xsc && mv CairoFont.xsc CairoFont.c
clang -c -I. -Ibuild -I/opt/X11/include/cairo -I/opt/X11/include/pixman-1 -I/opt/X11/include -I/opt/X11/include/freetype2 -I/opt/X11/include/libpng15 -arch i386 -arch x86_64 -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -fstack-protector -I/usr/local/include -Os -DVERSION=\"1.104\" -DXS_VERSION=\"1.104\" "-I/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE" CairoFont.c
/usr/bin/perl /System/Library/Perl/5.12/ExtUtils/xsubpp -noprototypes -typemap /System/Library/Perl/5.12/ExtUtils/typemap -typemap build/cairo-perl-auto.typemap -typemap cairo-perl.typemap CairoMatrix.xs > CairoMatrix.xsc && mv CairoMatrix.xsc CairoMatrix.c
clang -c -I. -Ibuild -I/opt/X11/include/cairo -I/opt/X11/include/pixman-1 -I/opt/X11/include -I/opt/X11/include/freetype2 -I/opt/X11/include/libpng15 -arch i386 -arch x86_64 -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -fstack-protector -I/usr/local/include -Os -DVERSION=\"1.104\" -DXS_VERSION=\"1.104\" "-I/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE" CairoMatrix.c
/usr/bin/perl /System/Library/Perl/5.12/ExtUtils/xsubpp -noprototypes -typemap /System/Library/Perl/5.12/ExtUtils/typemap -typemap build/cairo-perl-auto.typemap -typemap cairo-perl.typemap CairoPath.xs > CairoPath.xsc && mv CairoPath.xsc CairoPath.c
clang -c -I. -Ibuild -I/opt/X11/include/cairo -I/opt/X11/include/pixman-1 -I/opt/X11/include -I/opt/X11/include/freetype2 -I/opt/X11/include/libpng15 -arch i386 -arch x86_64 -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -fstack-protector -I/usr/local/include -Os -DVERSION=\"1.104\" -DXS_VERSION=\"1.104\" "-I/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE" CairoPath.c
/usr/bin/perl /System/Library/Perl/5.12/ExtUtils/xsubpp -noprototypes -typemap /System/Library/Perl/5.12/ExtUtils/typemap -typemap build/cairo-perl-auto.typemap -typemap cairo-perl.typemap CairoPattern.xs > CairoPattern.xsc && mv CairoPattern.xsc CairoPattern.c
clang -c -I. -Ibuild -I/opt/X11/include/cairo -I/opt/X11/include/pixman-1 -I/opt/X11/include -I/opt/X11/include/freetype2 -I/opt/X11/include/libpng15 -arch i386 -arch x86_64 -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -fstack-protector -I/usr/local/include -Os -DVERSION=\"1.104\" -DXS_VERSION=\"1.104\" "-I/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE" CairoPattern.c
/usr/bin/perl /System/Library/Perl/5.12/ExtUtils/xsubpp -noprototypes -typemap /System/Library/Perl/5.12/ExtUtils/typemap -typemap build/cairo-perl-auto.typemap -typemap cairo-perl.typemap CairoSurface.xs > CairoSurface.xsc && mv CairoSurface.xsc CairoSurface.c
clang -c -I. -Ibuild -I/opt/X11/include/cairo -I/opt/X11/include/pixman-1 -I/opt/X11/include -I/opt/X11/include/freetype2 -I/opt/X11/include/libpng15 -arch i386 -arch x86_64 -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -fstack-protector -I/usr/local/include -Os -DVERSION=\"1.104\" -DXS_VERSION=\"1.104\" "-I/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE" CairoSurface.c
/usr/bin/perl /System/Library/Perl/5.12/ExtUtils/xsubpp -noprototypes -typemap /System/Library/Perl/5.12/ExtUtils/typemap -typemap build/cairo-perl-auto.typemap -typemap cairo-perl.typemap CairoRegion.xs > CairoRegion.xsc && mv CairoRegion.xsc CairoRegion.c
clang -c -I. -Ibuild -I/opt/X11/include/cairo -I/opt/X11/include/pixman-1 -I/opt/X11/include -I/opt/X11/include/freetype2 -I/opt/X11/include/libpng15 -arch i386 -arch x86_64 -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -fstack-protector -I/usr/local/include -Os -DVERSION=\"1.104\" -DXS_VERSION=\"1.104\" "-I/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE" CairoRegion.c
/usr/bin/perl /System/Library/Perl/5.12/ExtUtils/xsubpp -noprototypes -typemap /System/Library/Perl/5.12/ExtUtils/typemap -typemap build/cairo-perl-auto.typemap -typemap cairo-perl.typemap CairoFt.xs > CairoFt.xsc && mv CairoFt.xsc CairoFt.c
clang -c -I. -Ibuild -I/opt/X11/include/cairo -I/opt/X11/include/pixman-1 -I/opt/X11/include -I/opt/X11/include/freetype2 -I/opt/X11/include/libpng15 -arch i386 -arch x86_64 -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -fstack-protector -I/usr/local/include -Os -DVERSION=\"1.104\" -DXS_VERSION=\"1.104\" "-I/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE" CairoFt.c
clang -c -I. -Ibuild -I/opt/X11/include/cairo -I/opt/X11/include/pixman-1 -I/opt/X11/include -I/opt/X11/include/freetype2 -I/opt/X11/include/libpng15 -arch i386 -arch x86_64 -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -fstack-protector -I/usr/local/include -Os -DVERSION=\"1.104\" -DXS_VERSION=\"1.104\" "-I/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE" cairo-perl-enums.c
clang -c -I. -Ibuild -I/opt/X11/include/cairo -I/opt/X11/include/pixman-1 -I/opt/X11/include -I/opt/X11/include/freetype2 -I/opt/X11/include/libpng15 -arch i386 -arch x86_64 -g -pipe -fno-common -DPERL_DARWIN -fno-strict-aliasing -fstack-protector -I/usr/local/include -Os -DVERSION=\"1.104\" -DXS_VERSION=\"1.104\" "-I/System/Library/Perl/5.12/darwin-thread-multi-2level/CORE" cairo-perl-flags.c
Running Mkbootstrap for Cairo ()
chmod 644 Cairo.bs
rm -f blib/arch/auto/Cairo/Cairo.bundle
LD_RUN_PATH="/opt/X11/lib" clang -mmacosx-version-min=10.8 -arch i386 -arch x86_64 -bundle -undefined dynamic_lookup -L/usr/local/lib -fstack-protector Cairo.o CairoFont.o CairoMatrix.o CairoPath.o CairoPattern.o CairoSurface.o CairoRegion.o CairoFt.o cairo-perl-enums.o cairo-perl-flags.o -o blib/arch/auto/Cairo/Cairo.bundle \
-L/opt/X11/lib -lcairo -lfreetype \
ld: warning: ignoring file /usr/local/lib/libcairo.dylib, file was built for x86_64 which is not the architecture being linked (i386): /usr/local/lib/libcairo.dylib
chmod 755 blib/arch/auto/Cairo/Cairo.bundle
cp Cairo.bs blib/arch/auto/Cairo/Cairo.bs
chmod 644 blib/arch/auto/Cairo/Cairo.bs
Manifying blib/man3/Cairo.3pm
XAOC/Cairo-1.104.tar.gz
/usr/bin/make -- OK
'YAML' not installed, will not store persistent state
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-loading.t .... ok
t/Cairo.t ......... ok
t/CairoFont.t ..... ok
t/CairoFt.t ....... skipped: need Cairo with FreeType support and Font::FreeType
t/CairoMatrix.t ... ok
t/CairoPath.t ..... ok
t/CairoPattern.t .. ok
t/CairoRegion.t ... ok
t/CairoSurface.t .. ok
All tests successful.
Files=9, Tests=300, 1 wallclock secs ( 0.07 usr 0.02 sys + 0.45 cusr 0.08 csys = 0.62 CPU)
Result: PASS
XAOC/Cairo-1.104.tar.gz
/usr/bin/make test -- OK
Running make install
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ERROR: Can't create '/Library/Perl/5.12/darwin-thread-multi-2level'
Do not have write permissions on '/Library/Perl/5.12/darwin-thread-multi-2level'
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
at -e line 1
make: *** [pure_site_install] Error 13
XAOC/Cairo-1.104.tar.gz
/usr/bin/make install -- NOT OK
----
You may have to su to root to install the package
(Or you may want to run something like
o conf make_install_make_command 'sudo make'
to raise your permissions.Failed during this command:
XAOC/Cairo-1.104.tar.gz : install NO
Basically, the title explains it. What I imagine are supposed to be the buttons which go backward or forward a word are not doing anything on my machine.
Edit: They do not work when paused. They work when playing, but I would think they would be most useful actually when paused. For instance, if you got lost, you could pause the program and go back as many words as you needed to and then resume again.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.