Compression of small strings
Abstract
A method for compressing a set of small strings may include calculating n-gram frequencies for a plurality of n-grams over the set of small strings, selecting a subset of n-grams from the plurality of n-grams based on the calculated n-gram frequencies, defining a mapping table that maps each n-gram of the subset of n-grams to a unique code, and compressing the set of small strings by replacing n-grams within each small string in the set of small strings with corresponding unique codes from the mapping table. The method may use linear optimization to select a subset of n-grams that achieves a maximum space saving amount over the set of small strings for inclusion in the mapping table. The unique codes may be variable-length one or two byte codes. The set of small strings may be domain names.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 11 · Forward citations: 0.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A computer-implemented method for compressing a set of small strings, the method comprising: calculating, by a processor, n-gram frequencies for a plurality of n-grams over the set of small strings; selecting, by the processor, a subset of n-grams from the plurality of n-grams based on the calculated n-gram frequencies; defining, by the processor, a mapping table that maps each n-gram of the subset of n-grams to a unique code, wherein the unique codes are variable-length one or two byte codes; and compressing, by the processor, the set of small strings by replacing n-grams within each small st
- Claim 2Depends on #1
The method according to claim 1 , the selecting further comprising: calculating, by the processor, a space saving amount for each n-gram of
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 (11)
Non-Patent Literature (2)
- Chia-Yuen Teng et al., "An Improved Hierarchical Lossless Text Compression Algorithm", DCC '95 Proceedings of the Conference on Data Compression, 1995, pp. 292-301.
- Extended European Search Report dated Jul. 15, 2014, European Application No. 12197316.8 filed Dec. 14, 2012, pp. 1-4.