Hybrid comparison for unicode text strings consisting primarily of ASCII characters
AssigneeTableau Software, Inc.
InventorsThomas Neumann, Viktor Leis, Alfons Kemper
Life of this patent
Estimating the term…
Loading patent…
AssigneeTableau Software, Inc.
InventorsThomas Neumann, Viktor Leis, Alfons Kemper
Estimating the term…
A method compares text strings having Unicode encoding. The method receives a first string S=s1 s2 . . . sn and a second string T=t1 t2 . . . tm, where s1, s2, . . . , sn and t1, t2, . . . , tm are Unicode characters. The method computes a first string weight for the first string S according to a weight function ƒ. When S consists of ASCII characters, ƒ(S)=S. When S consists of ASCII characters and some accented ASCII characters that are replaceable by ASCII characters, ƒ(S)=g(s1) g(s2) . . . g(sn), where g(si)=si when si is an ASCII character and g(si)=si′ when si is an accented ASCII character that is replaceable by the corresponding ASCII character si′. When S includes one or more non-replaceable non-ASCII characters, the first string weight concatenates an ASCII weight prefix ƒA (S) and a Unicode weight suffix ƒU(S). The method also computes a second string weight for the second text string T. Equality of the strings is tested using the string weights.
A method of comparing text strings having Unicode encoding, comprising:
A computing device, comprising:
A non-transitory computer readable storage medium storing one or more programs configured for execution by a computing device having one or more processors and memory, the one or more programs comprising instructions for:
Dependencies are inferred from the claim text.