首页> 外国专利> Hybrid comparison for unicode text strings consisting primarily of ASCII characters

Hybrid comparison for unicode text strings consisting primarily of ASCII characters

机译:unicode文本字符串的混合比较主要由ASCII字符组成

摘要

A method compares text strings having Unicode encoding. The method receives a first string S=s1s2 . . . sn and a second string T=t1t2 . . . 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 includes one or more non-replaceable non-ASCII characters, the first string weight ƒ(S) is a concatenation of 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.
机译:方法比较具有Unicode编码的文本字符串。 该方法接收第一串S = S1S2。 。 。 SN和第二字符串T = T1T2。 。 。 TM,其中S1,S2,。 。 。 ,sn和t1,t2,。 。 。 ,TM是Unicode字符。 该方法根据权重函数ξ计算第一字符串S的第一字符串权重。 当s由ASCII字符组成时,ƒ(s)= s。 当S包括一个或多个不可替换的非ASCII字符时,第一字符串重量ƒ(s)是ASCII重量前缀ƒA(S)和Unicode权重后缀ƒU的串联。 该方法还计算用于第二文本字符串T的第二字符串权重。使用字符串权重测试字符串的平等。

著录项

  • 公开/公告号US11211943B2

    专利类型

  • 公开/公告日2021-12-28

    原文格式PDF

  • 申请/专利权人 TABLEAU SOFTWARE INC.;

    申请/专利号US202017037505

  • 发明设计人 THOMAS NEUMANN;VIKTOR LEIS;ALFONS KEMPER;

    申请日2020-09-29

  • 分类号H03M7/14;H03M7/30;H03M7/02;G06F40/126;G06F40/166;G06F16/2453;

  • 国家 US

  • 入库时间 2022-08-24 23:04:00

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号