Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 496 Bytes

README.md

File metadata and controls

17 lines (10 loc) · 496 Bytes

Word Unscrambler for Python

This algorithm uses letter frequencies instead of permutation based approach. Thus, it can unscramble large number of letters with constant performance. List of words is getting scanned once regardles of word length.

https://theunscrambled.com site also used that technique in order to effectively provide unscrambled word solutions.

Usage

from unscrambler import WordUnscrambler

wu = WordUnscrambler()
print wu.unscramble("enscuamblr")