Indexing for regular expressions in text-centric applications
Abstract
A method, system, and article are provided for evaluating regular expressions over large data collections. A general purpose index is built to handle complex regular expressions at the character level. Characters, character classes, and associated metadata are identified and stored in an index of a collection of documents. Given a regular expression, a query is generated based on the contents of the index. This query is executed over the index to identify a set of documents in the collection of documents over which the regular expression can be evaluated. Based upon the query execution, the identified set of documents is returned for evaluation by the regular expression responsive to execution of the query over the index.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 28 · Forward citations: 2.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for building an electronic index to support efficient evaluation of complex regular expressions, comprising: extracting index terms from a collection of documents to create an electronic index based upon metadata associated with the index terms, wherein each index term is a sequence of characters and character classes, each character class being a variable representing all characters from a pre-determined set of characters; receiving a query regular expression, wherein the query regular expression is composed of characters, character classes, quantifiers, and disjunctions, each quanti
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (2 of 2 total)
References Cited — Backward Prior Art (28)
Non-Patent Literature (5)
- Agichtein et al., Snowball: Extracting relations from large plain-text collections. Proceedings of the 5th ACM International Conference on Digital Libraries, 2000.
- Bazca-Yates et al., Fast text searching for regular expressions or automaton searching on tries. Journal of the ACM, 43(6):915-936, 1996.
- Brin, Extracting patterns and relations from the world wide web. Proceedings of WebDE Workshop.EDBT, 98, 98.
- Caruana et al., A High Precision Workbench for Extracting Information from the Protein Data Bank (PDB). Knowledge and Data Discovery (KDD) Workshop on Text and Information Extraction, 2000.
- Chan et al., Re-tree: an efficient index structure for regular expressions. The VLDB journal, 12(2):102-119, 2003.