From ac3a5fd690bca65e354d3289a7ebb8f489f1dd90 Mon Sep 17 00:00:00 2001 From: Ian C Date: Fri, 27 Jul 2018 09:47:49 +0000 Subject: Added anagram mode. --- README | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'README') diff --git a/README b/README index 7beedac..d8e4a6a 100644 --- a/README +++ b/README @@ -5,7 +5,8 @@ license is available at https://github.com/dwyl/english-words. To use codeword, run it with a text file containing a list of words and a series of arguments that define whether each character position is a missing -letter (using period), a numbered letter or a fixed letter. +letter (using period), a numbered letter or a fixed letter. Also optionally +give it a switch to put it in anagram mode. For instance: @@ -19,3 +20,8 @@ second and fourth character position. To search for a four letter where the third character is 'w' and all other characters can be any letter. + + codeword -a words_alpha.txt k i w i + +To search for anagrams of 'kiwi'. Note that missing letters can also be used +in this mode. Putting in numbers will raise an error. -- cgit v1.2.3