• You are not logged in.

    Colemak home keys only.

    • Started by jag50
    • 1 Replies:
    • Reputation: 0
    • Registered: 29-Jul-2007
    • Posts: 51

    Is there such a program that can display words from a dictionary and  calucate the number
    of words that can be made by  home keys only? (not home row keys!)
    If there is not a program out there, can somebody write one.
    I just found this website:  http://www.geocities.com/goanagrams/fla … hdict.html


    You can use the same letters as many times as you want to in the word.

    Colemak's home keys only   --  arst neio

    rest  internet   rant  torn  store  stern  intern  stone  reason   senorita   treason  satire  insert 

    nets  inert  inertia     stereo    (feel free to add more!)



    QWERTY's home keys only  -  asdf jkl

    sad   fads   lads  (feel free to add more!)

    Last edited by jag50 (31-Dec-2008 14:00:46)
    Offline
    • 0
    • Reputation: 0
    • Registered: 17-Mar-2008
    • Posts: 192

    Here's one in python together with a usage example. You'll have to load up your own dictionary as a list of words:

    def count(dictionary, homerow):
        def is_homerow_word(word):
            return all(ch in homerow for ch in word)
        return [word for word in dictionary if is_homerow_word(word)]
    
    print count(['hello', 'there', 'tin', 'rest'], 'arstneio')
    Offline
    • 0