The following code is developed using Python 2.7.x. I might make it Python 3 compatible. For testing on Microsoft Windows systems, you will need to install Python. Check this site here or ActiveState.com... Mac OS X and common Linux systems should come with an appropriate version of Python pre-installed.

To test the scripts, follow the instructions in the code.

Download ZIP file

  • FSA.py.html - FSA class (HTML)
  • FSA.py - FSA class (Python)
  • Wlist2RE.py.html - Word list to Minimal Deterministic Finite State Automaton (HTML)
  • Wlist2RE.py - Word list to Minimal Deterministic Finite State Automaton (Python)