package anthill

  1. Overview
  2. Docs
Word search library and utility

Install

Dune Dependency

Authors

Maintainers

Sources

anthill-0.1.tbz
sha256=ecda74c3c83508fc8debd73ca277eb3ac1d6aba3edf4b3de22ea78323ff59f99
sha512=e95c8727fb496f1605f745f78cbaca1d6b7920637e29e74515e9e121c4f2647c52f6657de8be1c4287bb6cd5f016869dc642a39c39d944143151e76488332e87

Description

Anthill is a library and command-line repl to perform word searches (anagram, pattern and build).

Published: 08 Apr 2020

README

README

About:
------

  Anthill has two main aims:

  1. As a shell to perform quick word searches (build, anagram and pattern),
  mostly duplicating the functionality of the late lamented Lexpert
  [http://www.valuecube.com/lexpert/].

  2. To explore the idea of a language to perform complex word queries, somewhat
  akin to zyzzyva [http://www.zyzzyva.net], but based on scripts rather than a GUI

  Ideally, I would like to achieve feature parity with nutrimatic [http://nutrimatic.org/]

Features:
---------

  * Anagram
  * Build
  * Pattern
  * Single character wildcard (.)
  * Multi character wildcard (*)
  * Character class wildcard ([abc] matches a, b or c)
  * Basic set operations (and, or, diff)

Examples:
---------

  * Find all the anagrams of RETINAS

  anagram > retinas  <-- note that we are in anagram mode by default
  anestri
  antsier
  nastier
  ratines
  resiant
  retains
  retinas
  retsina
  stainer
  starnie
  stearin

  * AEIDCST + ? = 
  anagram > aeidcst.
  acidiest
  acridest
  cadgiest
  citadels
  danciest
  dialects
  dictates
  distance
  misacted
  scaithed
  spicated

  * How many words start with A and end with B?
  anagram > p a*b
  ab
  abb
  abcoulomb
  absorb
  acerb
  adsorb
  adverb
  aerobomb
  alb
  aldicarb
  antisnob
  aplomb
  arb
  ardeb
  athrob

Acknowledgements:
-----------------
Thanks to Gabriel Scherer for helping move to ocamlbuild.

Dependencies (8)

  1. lambda-term
  2. lwt_ppx
  3. lwt
  4. mparser < "1.3"
  5. pcre
  6. core
  7. dune >= "1.0"
  8. ocaml >= "4.07" & < "4.12"

Dev Dependencies

None

Used by

None

Conflicts

None