Detecting common prefixes and suffixes in a list of strings
Abstract
A computer-implemented method includes receiving a plurality of character strings. The number of strings (M) in the plurality of strings having a unique substring of X characters at an extremity of the string is determined, the number of strings (N) in the plurality of strings having at least X characters in the string is determined. A probability is determined, based on a predetermined model for a distribution of characters in the strings, that the unique substring of X characters would occur M or more times out of the N strings, given that the unique character string occurs at least once. Based on the probability, the number M, and the number N, it is determined that the unique character string is a significant affix in the plurality of character strings, and the unique character string is stored.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 7 · Forward citations: 31.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method comprising: receiving a plurality of character strings; determining, by at least one processor of a computer system, the number of strings (M) in the plurality of strings having a unique substring of X characters at an extremity of the string; determining, by at least one of the processors of the computer system, the number of strings (N) in the plurality of strings having at least X characters in the string, where N>M; determining, by at least one of the processors of the computer system, a probability, P, that the unique substring of X characters would occur
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗