drawsomething 0.1.0

Drawsomething word guess helper
drawsomething is a tool that helps you guess drawsomething words by brute force all permutations.

Install Guide

Take OS X for example.

Drawsomething depends on enchant to do spell checking.

As pyenchant is only a python binding for enchant, we need to install enchant first. And we also need to install aspell with en dict because enchant use aspell as backend.

 brew install aspell --lang=en
 brew install enchant
 pip install pyenchant google-translate


Usage

One line script to generate all possible words:

>>> import drawsomething
>>> drawsomething.get_words('esttxyz', 4)
['ttys', 'sexy', 'yest', 'text', 'sett', 'zest', 'stet', 'test']


To list words with translations:

>>> import drawsomething
>>> words = drawsomething.get_words('esttxyz', 4)
>>> for w in words:
>>> trans = drawsomething.translate(w, 'zh_cn').lower()
>>> print w, trans


The drawsth is a cli script to list all possible words:

drawsth -l 4 -c esttxyz
ttys
sexy
yest
text
sett
zest
stet
test

last updated on:
September 3rd, 2012, 11:03 GMT
price:
FREE!
developed by:
Lx Yu
homepage:
github.com
license type:
MIT/X Consortium License 
category:
ROOT \ Utilities

FREE!

In a hurry? Add it to your Download Basket!

user rating

UNRATED
0.0/5
 

0/5

Add your review!

SUBMIT