Publication | Closed Access
Multi-modal synthesis of regular expressions
79
Citations
26
References
2020
Year
Unknown Venue
EngineeringPbe EngineSemanticsCorpus LinguisticsText MiningNatural Language ProcessingSyntaxSearch SpaceComputational LinguisticsLanguage EngineeringGrammarLanguage StudiesHierarchical SketchMachine TranslationNatural LanguageNatural Language InterfaceNlp TaskComputer SciencePattern MatchingSemantic ParsingAutomated ReasoningRegulated RewritingFormal MethodsMulti-modal SynthesisAutomaton OperationLinguistics
In this paper, we propose a multi-modal synthesis technique for automatically constructing regular expressions (regexes) from a combination of examples and natural language. Using multiple modalities is useful in this context because natural language alone is often highly ambiguous, whereas examples in isolation are often not sufficient for conveying user intent. Our proposed technique first parses the English description into a so-called hierarchical sketch that guides our programming-by-example (PBE) engine. Since the hierarchical sketch captures crucial hints, the PBE engine can leverage this information to both prioritize the search as well as make useful deductions for pruning the search space.
| Year | Citations | |
|---|---|---|
Page 1
Page 1