Regular expression generation for negative example using context
Abstract
Techniques for generated regular expressions are disclosed. In some embodiments, a regular expression generator may receive input data comprising one or more character sequences. The regular expression generator may convert character sequences into a sets of regular expression codes and/or span data structures. The regular expression generator may identify a longest common subsequence shared by the sets of regular expression codes and/or spans, and may generate a regular expression based upon the longest common subsequence. A negative example may be used to generate the regular expression. Context from the negative example may be determined in order to generate the regular expression.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 50 · Forward citations: 0.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method of generating regular expressions, comprising: receiving, by a regular expression generator comprising one or more processors, a first selection comprising one or more positive character sequences in a first field of a data structure, each of the one or more positive character sequences corresponding to a positive example that is to be matched by a regular expression generated by the regular expression generator; after receiving the first selection, generating, by the regular expression generator, a first regular expression, wherein the first regular expression matches the positive ex
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (50)
Non-Patent Literature (5)
- “Adjacency Matrix”, Wikipedia, Available online at: https://en.wikipedia.org/wiki/Adjacency_matrix, Accessed from Internet on Jun. 19, 2018, pp. 1-7.
- “Alternation with The Vertical Bar or Pipe Symbol”, Regex Tutorial, Available Online at: https://www.regular-expressions.info/alternation.html, Accessed from Internet on Jun. 19, 2018, pp. 1-2.
- “Big Data Preparation”, Online Product Page, Oracle Cloud, Available Online at: https://web.archive.org/web/20160414153654/https://cloud.oracle.com/bigdatapreparation, Jul. 24, 2019, 5 pages.
- “Character Classes or Character Sets”, Regexp Tutorial, Available Online at: https://www.regular-expressions.info/charclass.html, Accessed from Internet on Jun. 19, 2018, pp. 1-2.
- “Depth-First Search”, Wikipedia, Available Online at: https://en.wikipedia.org/wiki/Depth-first_search, Accessed from Internet on Jun. 19, 2018, pp. 1-7.