Method and system for tokenizing documents
Abstract
A method for tokenizing documents. The method includes obtaining a document comprising text to be tokenized, isolating a first string of consecutive characters in the document, searching, in a token tree, for an expression that matches the first string, making a determination that a matching expression exists in the token tree and, based on the determination, storing the matching expression as an extracted token.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 9 · Forward citations: 1.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for tokenizing documents, the method comprising: obtaining a document comprising text to be tokenized; isolating a first string of consecutive characters in the document; generating a plurality of strings based on the first string, wherein generating the plurality of strings comprises: (a) dropping the last character of a copy of the first string to obtain a modified first string, (b) adding the modified first string to the plurality of strings, (c) dropping the last character of the modified first string to obtain a second modified first string, (d) adding the second modified first s
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (1 of 1 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 2023124402 A1 | Inference Methods For Word Or Wordpiece Tokenization | — | 4 |
References Cited — Backward Prior Art (9)
Non-Patent Literature (3)
- Hoffman, P. and F. Yergeau, "UTF-16, an encoding of ISO 10646", RFC 2781, DOI 10.17487/RFC2781, Feb. 2000, https://www.rfc-editor.org/info/rfc2781 (Year: 2000).
- Mcnamee, Paul, and James Mayfield. "Character n-gram tokenization for European language text retrieval." Information retrieval 7, No. 1-2 (2004): 73-97. (Year: 2004).
- Paul E. Black, "binary search tree", in Dictionary of Algorithms and Data Structures [online], Vreda Pieterse and Paul E. Black, eds. Jan. 26, 2015. (accessed May 11, 2018) Available from: https://www.nist.gov/dads/HTML/binarySearchTree.html (Year: 2015).