V2EX  ›  英汉词典

Matcher

Definition / 定义

matcher匹配者;匹配器;匹配程序/算法。指“把两个或多项东西进行对照并判断是否相同、相似或相配”的人、工具或系统(在计算机领域尤常指用于匹配模式/字符串的组件)。在日常语境中也可泛指“善于配对的人”,但更常见的说法是 matchmaker(媒人)。

Pronunciation / 发音

/ˈmætʃər/

Examples / 例句

The app has a built-in matcher for names.
这个应用内置了一个用于匹配姓名的匹配器。

To reduce errors, the system uses a fuzzy matcher that compares spelling, sound, and context before deciding two records refer to the same person.
为减少错误,系统使用模糊匹配器,在判定两条记录是否指同一人之前,会比较拼写、读音和上下文。

Etymology / 词源

match(匹配、相配、对照)+ -er(表示“做某事的人/物”的名词后缀)构成,字面意思就是“进行匹配的人或物”。在现代技术语境中,常引申为“执行匹配任务的程序/模块”。

Related Words / 相关词

Literary Works / 文学作品

  • Mastering Regular Expressions(Jeffrey E. F. Friedl)——频繁使用 matcher 来指代执行正则匹配的组件/机制。
  • Regular Expressions Cookbook(Jan Goyvaerts & Steven Levithan)——在讲解模式匹配时使用 matcher(匹配器/匹配引擎)这一术语。
  • Java: The Complete Reference(Herbert Schildt)——讨论 java.util.regex.Matcher 时大量出现 Matcher/matcher(作为类名与通用名词使用)。
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   5812 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 1099ms · UTC 01:57 · PVG 09:57 · LAX 18:57 · JFK 21:57
♥ Do have faith in what you're doing.