翊读什么| 2005年是什么生肖| 深千尺是什么意思| 装腔作势什么意思| 血小板低是什么引起的| 中国的国树是什么树| 肝结节是什么病严重吗| 船只是什么意思| 甲亢什么症状| 活死人是什么意思| 麦子什么时候收割| 火碱是什么东西| 结扎什么意思| 慢性荨麻疹是什么症状| 大年初一是什么星座| 均为是什么意思| 守字五行属什么| 壁虎吃什么| 卖淫是什么意思| 耳朵后面痒是什么原因| 番茄是什么| 蜘蛛怕什么| 火热是什么意思| 法尔如是是什么意思| 动物的尾巴有什么用处| 缘木求鱼什么意思| pwi是什么意思| 西红柿不能和什么一起吃| 免疫力低吃什么药| hb指的是什么| 女人吃山竹有什么好处| 湿气重吃什么水果| 脂肪有什么作用| 尿不干净有余尿是什么原因| 9月19是什么星座| 祈禳是什么意思| 皮肤黑的人适合穿什么颜色的衣服| 产后吃什么对身体恢复好| 什么是陈皮| 作息时间是什么意思| 土地确权是什么意思| 抑制剂是什么| trp是什么氨基酸| 脑供血不足吃什么药好| 没有料酒可以用什么代替| 蝉什么时候叫| 荡漾是什么意思| 爱被蚊子咬是什么体质| 眼睛疼吃什么药效果最好| 走婚是什么意思| 董小姐是什么意思| 牵引车是什么车| 装什么病能容易开病假| 一个西一个米念什么| 为什么放生泥鳅果报大| 鲸属于什么类动物| 西安属于什么省| 什么的跑步| 眼睛视力模糊用什么眼药水| 高筋面粉和低筋面粉有什么区别| 10月4日什么星座| pet是什么检查| 有什么书| En什么意思| 体外受精是什么意思| 石榴花什么时候开花| 坏垣是什么意思| 骶椎腰化什么意思| 冠状沟有白色分泌物是什么原因| 癔症是什么意思| 边缘性脐带入口是什么意思| 海棠是什么| 未时是什么时辰| 7.17是什么日子| 洗衣机漏水是什么原因| 赤者念什么| 什么的身影| 父亲b型血母亲o型血孩子什么血型| 往生净土是什么意思| 吃芒果有什么好处和坏处| 肠易激综合征吃什么药好| 心脏支架最怕什么| 出球小动脉流什么血| prbpm是什么意思| 用盐水泡脚有什么好处| 五月是什么生肖| 一库是什么意思| 4.26是什么星座| 啤酒加味精有什么作用| 白色病变是什么病| 指甲发紫是什么原因| 农历10月是什么月| 悦五行属性是什么| 牙龈出血什么原因| 肺部散在小结节是什么意思| 建议MRI检查是什么意思| 什么都不做| 口臭口苦什么原因引起的| 喉咙里痰多是什么原因| 喻字五行属什么| 喝苹果醋有什么好处和坏处| 维生素b族适合什么人吃| 母鸡学公鸡叫什么征兆| 谷氨酰转肽酶偏高是什么意思| sp是什么的缩写| 9月29是什么星座| 肠胃炎饮食要注意什么| 1月什么星座| skap是什么牌子| 婴儿喝什么牌奶粉好| offer是什么意思| 什么时候测量血压最准确| 微信头像 用什么好| 大名鼎鼎是什么意思| 高什么亮什么| 胎盘埋在什么地方最好| 正连级是什么军衔| 高炮是什么| 什么是ts| 8月7日是什么星座| 拉肚子能吃什么菜| 左眼跳代表什么| ph什么意思| 什么食物含维生素c最多| 拿手机手抖是什么原因| 萎靡不振是什么意思| 胃胆汁反流是什么原因引起的| 06年是什么年| 面基是什么意思| 为什么口水是臭的| 前列腺炎忌口什么食物| 旁支是什么意思| 我一言难尽忍不住伤心是什么歌| 小人难防前一句是什么| 黄芪味道是什么味道| 女人梦到小蛇什么预兆| 老流鼻血是什么原因引起的| 群聊名字什么最好听| 芹菜什么时候种| 舌苔黄厚腻是什么原因| 惊悉是什么意思| 孩子满月送什么礼物| 多管闲事是什么意思| 肠上皮化生是什么意思| 中暑是什么感觉| ooc是什么| 眼睛做激光手术有什么后遗症| 幽门螺旋杆菌用什么药治疗| 产后检查挂什么科| 男人硬不起来该吃什么药| 名媛是什么意思| 供给侧改革什么意思| 胃息肉有什么危害| 水豚吃什么| st股票是什么意思| 空调睡眠是什么意思| es什么意思| 练深蹲有什么好处| 情何以堪是什么意思| 狗癣用什么药最有效| pending是什么状态| 绿豆汤放什么糖最好| 2019是什么生肖| 刮脸有什么好处与坏处| 什么是骨折| 水痘疫苗第二针什么时候打| 不打破伤风针会有什么后果| 伊朗是什么派| 五月十六是什么星座| 2e是什么意思| louisvuitton什么牌子| 舌炎吃什么药| 鳄鱼的天敌是什么动物| 羹什么意思| 北极有什么动物| 瘿瘤是什么意思| 代偿期和失代偿期是什么意思| 发票抬头是什么意思| 急性盆腔炎有什么症状表现呢| 窥视是什么意思| 宫颈阳性是什么意思| 螳螂捕蝉黄雀在后是什么意思| 女生喝什么茶对身体好| 病毒性扁桃体发炎吃什么药| 脱氧核苷酸是什么| 知府相当于现在什么官| 上海为什么叫申城| 香蕉可以做什么美食| 心率低有什么症状| 草莓是什么植物| 甲状腺吃什么盐好| 尿急是什么意思| 驾驶证体检挂什么科| penis是什么意思| 鼻窦炎用什么药效果最好| 避孕套什么牌子的好| 阑尾为什么会发炎| 癔症是什么病| 盐袋子热敷有什么好处| 偏头痛看什么科| 不能喝酒是什么原因| 电气火灾用什么灭火器| 胆固醇高挂什么科| 甘草片不能和什么药一起吃| 传导阻滞吃什么药| 迂回是什么意思| 卵巢无回声是什么意思| 阳历八月份是什么星座| 低血压高吃什么药| 花雕酒是什么酒| 瓜皮什么意思| 七五年属什么| 八月2号是什么星座| 检查贫血做什么检查| 烟花三月下扬州什么意思| 私处变黑是什么原因| 梦见狗吃屎是什么意思| 为什么总打嗝| 川崎病是什么原因引起的| 吃了虾不能吃什么水果| 正襟危坐什么意思| 吃生葵花籽有什么好处和坏处吗| 便秘是什么症状| 朱砂有什么作用| 蚕蛾吃什么| 下午18点是什么时辰| 看破红尘什么意思| 子宫内膜病变有什么症状| 肠胃炎吃什么抗生素| 抑郁症吃的药叫什么| 年轻人能为世界做什么| 硬脂酸镁是什么| 一个虫一个夫念什么| 口酸吃什么药| 花胶是什么东西| 欧莱雅属于什么档次| 10月5日什么星座| 看金鱼是什么梗| 每天吃三颗红枣有什么好处| 虫合读什么| 高血糖吃什么药| 人老是放屁是什么原因| 手脚心发热是什么原因| 什么是翘舌音| lh是什么激素| 范字五行属什么| ky是什么| 唐氏是什么意思| 攀龙附凤是什么生肖| 什么人不适合去高原| 总是想吐是什么原因| 手的皮肤黄是什么原因| 什么克金| 黄皮果什么味道| 甲硝唑有什么副作用| 朱的部首是什么| 什么是物理学| 须尽欢什么意思| 黑色柳丁是什么意思| 鸽子咕咕叫是什么意思| 这叫什么| 梦见前女友是什么预兆| 发飙是什么意思| 脸上出汗是什么原因| 百度Jump to content

吭高潦┬ユ窾じ﹚ぃ倒癶瞶盾

From Wikipedia, the free encyclopedia
百度 但身披国足战袍不拼,还要等到什么时候。

Trigram search is a method of searching for text when the exact syntax or spelling of the target object is not precisely known[1] or when queries may be regular expressions.[2] It finds objects which match the maximum number of three consecutive character strings (i.e. trigrams) in the entered search terms, which are generally near matches.[3] Two strings with many shared trigrams can be expected to be very similar.[4] Trigrams also allow for efficiently creating search engine indexes for searches that are regular expressions or match the text inexactly. Indexes can significantly accelerate searches.[5][6] A threshold for number of trigram matches can be specified as a cutoff point, after a result is unmatched.[4]

Using trigrams for accelerating searches is a technique used in some systems for code searching, in situations in which queries that are regular expressions may be useful,[5][2][7] in search engines such as Elasticsearch,[8] as well as in databases such as PostgreSQL.[4]

Examples

[edit]

Consider the string "alice". The trigrams of the string would be "ali", "lic", and "ice", not including spaces.[5] Searching for this string in a database with a trigram-based index would involve finding which objects contain as many of the three trigrams as possible.

As a concrete example of using trigram search to search for a regular expression query, consider searching for the string ab[cd]e, where the brackets denote that the third character in the string being searched for could be c or d. In this situation, one could query the index for objects that have the two trigrams abc and bce or the two trigrams abd and bde. Thus, finding this query would involve no string matching, and could just query the index directly, which can be faster in practice.[2]

See also

[edit]

References

[edit]
  1. ^ Hardarson, Omar (1997). "Interactive coding of economic activity using trigram search in BLAISE III" (PDF). International Blaise User Group. Note: This article discusses trigram search as a way of efficiently encoding certain kinds of economic data, and finds that this technique is particularly useful when the users of the system have little context for the structure of the data.
  2. ^ a b c Cox, Russ (January 2012). "Regular Expression Matching with a Trigram Index or How Google Code Search Worked".
  3. ^ Adams, Elizabeth; Meltzer, Arnold (1 March 1993). "Trigrams as index element in full text retrieval: Observations and experimental results". Proceedings of the 1993 ACM conference on Computer science - CSC '93. pp. 433–439. doi:10.1145/170791.170891. ISBN 0897915585. S2CID 16701550.
  4. ^ a b c "F.33. pg_trgm". PostgreSQL Documentation. 2025-08-05. Retrieved 2025-08-05.
  5. ^ a b c "Fast Search Using PostgreSQL Trigram Text Indexes". GitLab. 2025-08-05. Retrieved 2025-08-05.
  6. ^ Zobel, Justin; Moffat, Alistair; Sacks-Davis, Ron (1993). "Searching Large Lexicons for Partially Specified Terms using Compressed Inverted Files" (PDF). Conference on Very Large Databases (VLDB). Note: This research paper does not use the term "trigram search" but does seem to be the first instance in the literature of using n-grams as indices, and is cited in the Russ Cox article as the first instance of the structure of a reverse index based on trigrams. The paper also cited successful performance results from using this style of search.
  7. ^ "Big Grep". resources.sei.cmu.edu. 11 August 2017. Retrieved 2025-08-05. Also called BigGrep. Uses n-grams (not always 3),
  8. ^ "N-gram tokenizer | Elasticsearch Guide [8.2] | Elastic". www.elastic.co. Retrieved 2025-08-05.
act什么意思 大拇指脱皮是什么原因 1996年属什么 霜降是什么季节 甲状腺有什么反应
郭靖黄蓉是什么电视剧 本科是什么学历 肺炎能吃什么水果 励精图治是什么意思 亦什么意思
母仪天下是什么意思 眼袋大是什么原因引起的 812是什么意思 起床气是什么意思 瞳孔缩小意味着什么
荷叶泡水喝有什么作用 梦见生娃娃是什么意思 士大夫是什么意思 结石有什么症状 牙龈长泡是什么原因
pos是什么意思hcv9jop3ns7r.cn 12月26日是什么星座hcv7jop5ns4r.cn 为什么活得这么累hcv9jop3ns7r.cn 狗尾续貂是什么意思96micro.com 一加是什么品牌zhiyanzhang.com
嘴碎什么意思hcv9jop0ns7r.cn 膝盖积液挂什么科hcv8jop5ns5r.cn 猛吸气胸口疼什么原因hcv7jop5ns4r.cn 三维和四维有什么区别hcv9jop4ns6r.cn 血氧低吃什么药效果好hcv8jop5ns4r.cn
内衣什么品牌最好hcv9jop3ns7r.cn 新店开业送什么好hcv9jop2ns4r.cn 玻璃体混浊用什么眼药水hcv9jop0ns3r.cn 大骨头炖什么好吃hcv7jop9ns3r.cn 做梦被打了是什么意思hcv8jop5ns2r.cn
aoerbo是什么牌子的手表beikeqingting.com 蔓越莓有什么功效和作用hcv8jop2ns1r.cn 脾虚湿蕴证是什么意思hcv8jop4ns2r.cn 怀孕初期有什么症状hcv8jop6ns7r.cn 开天辟地是什么生肖hcv8jop0ns0r.cn
百度