Converts numbers to numerals and vice versa
Prolog Shell
Switch branches/tags
Nothing to show
Pull request Compare This branch is 12 commits behind zmughal:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE
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)