No description
Find a file
2013-09-21 10:23:53 -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 add copyright notice 2013-09-21 10:22:50 -05:00
dictfilt.py a filter to get rid of duplicated words by keeping only the lowercase version 2013-09-21 10:23:53 -05:00
LICENSE license and readme... 2013-02-19 14:18:13 -06:00
Makefile add copyright notice 2013-09-21 10:22:50 -05: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/