7

I need an offline application that can get all the words in a particular word given.

(An example of what I need is Wordles but it should be offline.)

Example : If I enter Today, I will get

A, AD, ADO, AT, AY, DAY, DO, DOT, OAT, OD, TA, TAD, TO, TOAD, TOADY, TOD, TODAY, TODY, TOY, YOD,

The application should be for Linux and Windows.

  • For English only? – unor Feb 14 '14 at 15:21
  • Does it require interchangeable dictionaries. Also, does it have to be precompiled, or can cross-platform be achieved by downloading the source code instead? – Jason Down Feb 14 '14 at 16:22
6
+50

an

"an" is a open source text-based anagram generator originally from around 1996. The original author is no longer reachable, but since it was released as GPL it still gets patches if they are ever needed (). However there at least two sites still "maintaining" the software, here, here and here.

From the manpage:

NAME an - Anagram generator

SYNOPSIS an [-w] [-c string] [-d dictionary] [-l number_words] [-m word_length] [-u string] [-n number_anagrams] [--words] [--contain string] [--dict dictionary] [--length number_words] [--minimum word_length] [--used string] [--number number_anagrams] [--help] [--version] PHRASE

DESCRIPTION an finds all anagrams which can be made from the letters in PHRASE, using words in the specified dictionary (default=/usr/share/dict/words).

  • Linux:

    • On Linux distros that are based on Debian (such as Ubuntu or LinuxMint):

      sudo apt-get install an

    • Otherwise download, compile and install the tar from one of the two sites listed above.
  • Windows:

    • It is likely that only recompiling is needed to generate the win32 / win64 binaries due to the low resource requirements of the program. This website claims to have have built a win32 binary or at least a windows targeted makefile, here, although I have not tried it.

I was actually using an the other day. It can produce a large list if there are a lot of letters, so I recommend using more or less to move around the response values on Linux.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy