简体   繁体   中英

Python Finite Automata library

What would be the most complete finite automata library for Python, which is able to do the basic manipulations such as:

  • Minimization,
  • Determinization of Nondeterministic Finite automata
  • Union, Intersection, and Product of the languages generated by these automata, etc.

All the libraries that I'm finding are either incomplete or do not work plug-and-play-wise.

python-automata seems to be able to do all the things you're asking.

  • What is it missing?
  • Perhaps you'd want to contribute a missing feature yourself?

If you don't mind using a underlying C++ library you could try OpenFst with these Python bindings . PyFsa has the optimization algoritms you listed.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM