Skip to main content

Python3 module providing some algorithms to infer automata and regular expressions."

Project description

regexp-learner

PyPI Build Documentation ReadTheDocs codecov

Overview

regexp-learner is a Python 3 module providing the following algorithms:

  • Angluin (1987): the L* algorithm is presented in Learning regular sets from queries and couterexamples, Dana Angluin, 1987 [pdf], [slides].
  • Gold (1978): the Gold algorithm is presented in Complexity of automaton identification from given data, E. Mark Gold, 1987 [pdf].

This module is built on top of:

A jupyter notebook is also provided test the algorithm. Note that the graphviz runnables (e.g., dot) is required to display the automata.

Usage

Links

License

This project is licensed under the BSD-3-Clause license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

regexp_learner-1.0.0.tar.gz (13.6 kB view details)

Uploaded Source

Built Distribution

regexp_learner-1.0.0-py3-none-any.whl (17.0 kB view details)

Uploaded Python 3

File details

Details for the file regexp_learner-1.0.0.tar.gz.

File metadata

  • Download URL: regexp_learner-1.0.0.tar.gz
  • Upload date:
  • Size: 13.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.11.2 Linux/5.15.0-1035-azure

File hashes

Hashes for regexp_learner-1.0.0.tar.gz
Algorithm Hash digest
SHA256 f5aa1d57577c9c6b68d345fe2a55ab3e0012fa138b2013953dd06774e355ca5c
MD5 6f03343501638eacb06ea163e8ce63ac
BLAKE2b-256 a36796a8c28b9ba42e0f0b5c9b974ad4188efd709d00fa7ad0ee762854367488

See more details on using hashes here.

File details

Details for the file regexp_learner-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: regexp_learner-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 17.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.2 CPython/3.11.2 Linux/5.15.0-1035-azure

File hashes

Hashes for regexp_learner-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 17dd7e02fbec9cf2707834f0e133806a34d1b7ee5b109de78547e5ea2cfcbcb2
MD5 70e1de296d351c3d1071cb24a849f074
BLAKE2b-256 7fe18b65b08d61fb375caad44e8fb1d9127eb5fa4029781e5bb3acd0cc2892df

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page