No description
Find a file
Jeff Epler 471511c478 Improve the web app, particularly for mobile
the cheatsheet can now be hidden and will appear above
(instead of to the right) on narrow screens. (no cookies, setting not
remembered)

The viewport is now set to the device's native width instead of the
(possibly unreasonably wide) default
2013-09-21 10:20:39 -05:00
.gitignore generated files 2013-02-19 14:20:01 -06:00
ana.1 implement 'just candidates' mode 2013-02-28 21:06:50 -06:00
anagram.js strip bogus trailing chars from query 2013-02-28 21:06:49 -06:00
LICENSE license and readme... 2013-02-19 14:18:13 -06:00
Makefile Make a Python module 2013-02-25 14:21:46 -06:00
README.md Use the new anagram module from python 2013-02-25 14:23:19 -06:00
run.cc Wanting a word of length-n implies an appropriate < or > 2013-09-21 08:53:05 -05:00
webapp.py Improve the web app, particularly for mobile 2013-09-21 10:20:39 -05:00

Build instructions:

make

Use instructions:

./ana terms...
man ./ana.1 ;# for help

Binary dictionaries

These start a bit faster than reading the system dictionary.

Build one with

./ana -D dict.bin -d /usr/share/dict/words

then use it with

./ana -D dict.bin terms...

Web app installation instructions

  1. build a binary dictionary:

    ./ana -D dict.bin -d /usr/share/dict/words

  2. Copy anamodule.so, the binary dictionary, anagram.js and webapp.py to your webspace (or put anamodule.so on your PYTHONPATH)

  3. Set up .htaccess, e.g.,

    AddHandler fcgid-script .fcgi Options +ExecCgi DirectoryIndex index.fcgi Order allow,deny Allow from all

Live web version

http://unpy.net/anagram/