Code Monkey home page Code Monkey logo

zoopigzoo / regexgenerator Goto Github PK

View Code? Open in Web Editor NEW

This project forked from malelabts/regexgenerator

0.0 1.0 0.0 11.97 MB

This project contains the source code of a tool for generating regular expressions for text extraction: 1. automatically, 2. based only on examples of the desired behavior, 3. without any external hint about how the target regex should look like

License: GNU General Public License v3.0

Shell 0.23% Java 99.77%

regexgenerator's Introduction

RegexGenerator

This project contains the source code of a tool for generating regular expressions for text extraction:

  1. automatically,
  2. based only on examples of the desired behavior,
  3. without any external hint about how the target regex should look like.

An online, interactive version of this engine is accessible at: http://regex.inginf.units.it/

RegexGenerator was developed at the [Machine Learning Lab, University of Trieste, Italy] (http://machinelearning.inginf.units.it).

The provided engine is a developement release(1) that implements the algorithms published in our articles (2):

  • Bartoli, Davanzo, De Lorenzo, Medvet, Sorio, Automatic Synthesis of Regular Expressions from Examples, IEEE Computer, 2014
  • Bartoli, De Lorenzo, Medvet, Tarlao, Learning Text Patterns using Separate-and-Conquer Genetic Programming, 18th European Conference on Genetic Programming (EuroGP), 2015, Copenhagen (Denmark)

More details about the project can be found on Machine Learning Lab news pages.

We hope that you find this code instructive and useful for your research or study activity.

If you use our code in your reasearch please cite our work and please share back your enhancements, fixes and modifications.

Project Structure

The RegexGenerator project is organized in three NetBeans Java subprojects:

  • ConsoleRegexTurtle: cli frontend for the GP engine
  • MaleRegexTurtle: provides the regular expression tree representation
  • Random Regex Turtle: GP search engine

Other Links

Machine Learning Lab, Twitter account

RegexGenerator wiki with installation walkthrough and guide


(1) This is a developement version branch which differs from the cited works.

(2) BibTeX format:

@article{bartoli2013automatic,
  title={Automatic synthesis of regular expressions from examples},
  author={Bartoli, Alberto and Davanzo, Giorgio and De Lorenzo, Andrea and 
  Medvet, Eric and Sorio, Enrico},
  year={2013},
  publisher={IEEE}
}
@incollection{bartoli2015learning,
  title={Learning Text Patterns Using Separate-and-Conquer Genetic Programming},
  author={Bartoli, Alberto and De Lorenzo, Andrea and Medvet, Eric
  and Tarlao, Fabiano},
  booktitle={Genetic Programming},
  pages={16--27},
  year={2015},
  publisher={Springer}
}

regexgenerator's People

Contributors

adelorenz avatar ftarlao avatar malelabts avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.