Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

a minor remark: with the current `dawg` module implementation this should be

    import dawg
    with open('/usr/share/dict/words','r') as f:
        words = (w.strip() for w in f)
        d = dawg.DAWG(words, input_is_sorted=True)


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: