SketchRegex
Sketch Driven Regular Expression Generation.
Install / Use
/learn @xiye17/SketchRegexREADME
SketchRegex
Data and code for the paper "Sketch-Driven Regular Expression Generation from Natural Language and Examples ".
@InProceedings{sketchregex,
title = {Sketch-Driven Regular Expression Generation from Natural Language and Examples},
author = {Xi Ye, Qiaochu Chen, Xinyu Wang, Isil Dillig, and Greg Durrett},
booktitle = {Transactions of the Association for Computational Linguistics (TACL)},
year = {2020},
}
Prerequisites
- pytorch > 1.0.0
- Z3. Make sure you have Z3 installed with the Java binding.
- JAVA 1.8.0
Code
Our sketch-driven framework can be instatiated with either
- a neural parser [
DeepSketch]
or
- a grammar-based parser [
GrammarSketch]. (Code comming soon. For now, please refer to Regal, "Multi-Modal Synthesis of Regular Expressions", which uses the same grammar based-parser with slightly different grammar rules.)
Please refer to the README of each module for details.
Related Skills
node-connect
353.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
111.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
353.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
353.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
