🔢↔️🔡 Converts numbers to numerals and vice versa
Prolog Other
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE
Makefile
NOTES
README.markdown
numberals.pl
numberals.plt
run_tests

README.markdown

Description

Converts a number to English and vice versa.

Tested with SWI-Prolog (SWI-Prolog version 5.10.4 for amd64).

TODO

  • Extend to numbers above 999, below zero, and decimal notation.
  • Make the conversion back and forth more elegant (meta-interpreter?)
  • Test on a corpus.
  • Extend to other variations (e.g. Roman numerals, other languages/dialects/usages, fuzzy)
  • Read description of A005589.