Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proposal for highlighted letter #10

Open
wese3112 opened this issue Mar 10, 2014 · 0 comments
Open

Proposal for highlighted letter #10

wese3112 opened this issue Mar 10, 2014 · 0 comments

Comments

@wese3112
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant