Apple’s grey list: Words and phrases your iPhone won’t help you spell

Apple’s grey list: Words and phrases your iPhone won’t help you spell

研究表明,这家科技巨头限制了其预测文本功能补全超过 10 万个单词和短语。

“Australia is a very bad place to question your sexuality on MDMA with NSA spies” (在悉尼经历了一个极其复杂的夜晚后,你可能会想给朋友发这样一条短信:“在悉尼,在服用摇头丸的情况下与国安局间谍探讨自己的性取向是一个非常糟糕的选择”。)

But your iPhone won’t help you spell any of it if you try to swipe-type it – that is, by gliding a finger across a keyboard as opposed to pecking out a word.

但如果你尝试使用滑动输入——即在键盘上滑动手指而不是逐个点击字母——你的 iPhone 将不会帮你拼写出这些内容。

New research shows that Apple has a “grey list” of more than 100,000 words and phrases that it has restricted from being completed by its predictive text.

最新研究显示,苹果公司有一个包含超过 10 万个单词和短语的“灰名单”,限制了其预测文本功能对这些词汇的补全。

So if a user wishes to type phrases such as “Dictator Trump”, “NSA spies” or, surprisingly, “Australia is a very bad place”, “question your sexuality” or “on MDMA”, they will have to spell them out.

因此,如果用户想要输入诸如“独裁者特朗普”、“国安局间谍”,或者令人惊讶的“澳大利亚是一个非常糟糕的地方”、“探讨你的性取向”或“服用摇头丸”等短语,他们必须手动拼写出来。

Apple’s predictive text will not suggest these words. And, if a user attempts to swipe-type them, they will often stumble, changing “United Ireland” to “United Iceland”, for example, or “Tibetan independence” to “Tibetan independences”.

苹果的预测文本不会建议这些词汇。而且,如果用户尝试滑动输入,往往会出错,例如将“United Ireland”(联合爱尔兰)变为“United Iceland”(联合冰岛),或将“Tibetan independence”(西藏独立)变为“Tibetan independences”。

The “grey list” was discovered by the independent researcher Derik Kauffman, whose other projects include using AI to find errors in scientific papers. After noticing that he had problems typing certain phrases – but not others – on his iPhone, Kauffman was able to unearth a table containing the list, encoded in Apple’s operating system.

这个“灰名单”是由独立研究员德里克·考夫曼(Derik Kauffman)发现的,他的其他项目包括利用人工智能查找科学论文中的错误。在注意到自己在 iPhone 上输入某些短语时遇到困难,而输入其他短语时却没问题后,考夫曼成功挖掘出了一个包含该名单的表格,该表格被编码在苹果的操作系统中。

The list he found includes some unsurprising words and phrases. Apple’s iPhone will not autocomplete references to drugs, sexual acts and, perhaps in the spirit of corporate protection, “iMessage isn’t working”.

他发现的名单中包括一些意料之中的词汇和短语。苹果 iPhone 不会自动补全涉及毒品、性行为的内容,或许出于企业保护的考量,还包括“iMessage 无法工作”这类短语。

But it also includes possibly politically charged phrases, which Kauffman described to Reuters as a “light-touch form of censorship”. Among these are “Trayvon Martin”, the name of the Black teenager shot in Florida in 2012, “Kashmir dispute”, “Muslim extremist” and “male chauvinist pig”.

但名单中也包含了一些可能具有政治色彩的短语,考夫曼向路透社形容这是一种“轻触式审查”。其中包括 2012 年在佛罗里达州被枪杀的黑人少年“特雷沃恩·马丁”(Trayvon Martin)、“克什米尔争端”、“穆斯林极端分子”和“大男子主义猪”。

In Hebrew, Apple will not autocomplete the phrase “the occupied territories”. In Arabic, it will not autocomplete the phrase “the Hamas movement”.

在希伯来语中,苹果不会自动补全“被占领土”这一短语。在阿拉伯语中,它不会自动补全“哈马斯运动”这一短语。

The list is one more glimpse into the dark bowels of how autocorrect – the chirpy keyboard partner that helps you look more educated to your loved ones – actually works.

这份名单让我们得以一窥自动更正功能的内部运作机制——这个活泼的键盘伙伴本意是帮助你在亲友面前显得更有文化,但其背后却隐藏着不为人知的一面。

The technology has taken many forms. In its earliest version, Unix, an operating system, would look up each word a user typed against a table of words, to determine if this word was spelled correctly.

这项技术经历了多种形式。在最早的版本中,Unix 操作系统会根据一个单词表来核对用户输入的每一个单词,以确定拼写是否正确。

This evolved into n-grams, a tool which allows an operating system to statistically predict what words might come next, based on the words before it. These form the basis of Apple’s familiar autocorrect, which was known to change expletives into prudish alternatives: “fork” and “ducking”, among other gaffes.

后来演变为 n-gram(n 元语法),这是一种允许操作系统根据前文在统计学上预测下一个单词的工具。这些构成了苹果用户熟悉的自动更正功能的基础,该功能曾因将脏话改为拘谨的替代词而闻名,例如将脏话改为“fork”或“ducking”等尴尬的错误。

Last year, Apple launched a new autocorrect – a “transformer-based” system that was more akin to an LLM. Reddit sleuths saw this as a possible reason behind a spate of avant-garde spelling suggestions their iPhones made last year.

去年,苹果推出了新的自动更正功能——一个更接近大语言模型(LLM)的“基于 Transformer”的系统。Reddit 上的侦探们认为,这可能是去年 iPhone 出现一系列前卫拼写建议的原因。

This hard-coded list illuminates one longstanding mystery behind the world’s spelling coach. Others remain, such as a brief glitch in which users of the dictation feature saw the name “Trump” flash across their screen when they spoke the word “racist” into their iPhones – which Apple quickly remedied.

这份硬编码的名单揭示了这个全球拼写教练背后长期存在的一个谜团。其他谜团依然存在,例如曾出现过一个短暂的故障:当用户对着 iPhone 说出“racist”(种族主义者)一词时,屏幕上会闪现“Trump”(特朗普)的名字——苹果随后迅速修复了该问题。

Apple said that it designed its keyboard to avoid offering inappropriate or offensive predictive suggestions. It said iPhone users could always type out specific words or phrases, and override predictive text suggestions to achieve their desired meaning.

苹果表示,其键盘设计旨在避免提供不恰当或冒犯性的预测建议。该公司称,iPhone 用户始终可以手动输入特定的单词或短语,并覆盖预测文本建议,以实现他们想要表达的意思。