维基百科:AutoWikiBrowser/Typos
開發者 | 英語維基百科-RegExTypoFix Team 中文維基百科-自動維基瀏覽器使用者 |
---|---|
编程语言 | 正則表達式 |
操作系统 | AWB |
语言 | 中文 |
类型 | 錯字檢查 |
许可协议 | GFDL/CC-BY-SA |
以下錯字檢查是使用正規表達式編寫。
使用
任何使用此功能編者,需要對其行為負責,進行操作前請檢察上下文,如果對於替換字詞有所懷疑,請跳過。
添加或修改規則
以下是添加規則的範例:
<Typo word="此規則名稱" find="使用正規表達式查找錯字" replace="替換錯字"/>
編輯前注意事項
- 搜索錯字,應避免會導致過度修復的規則,另請參閱Wikipedia:維基百科常見錯別字。
- 添加或修改規則,請考慮提升效率。
- 注意AWB僅修復模板外維基原始碼與網址。
測試規則
- 建議使用regex101.com檢查。
二字
<!--按en.wikt字數排列-->
<!--*-->
<Typo word="*裡" find="(这|這|那)𥚃" replace="$1裡"/>
<Typo word="*跡" find="(痕|形|踪|蹤|足|笔|筆|轨|軌|劣|血|污|胜|勝)蹟" replace="$1跡"/>
<Typo word="*准" find="(核|批|獲|获)準" replace="$1准"/>
<Typo word="*券" find="(彩|獎|奖|債|债|禮|礼)卷" replace="$1券"/>
<Typo word="*陝" find="(川|甘)陜" replace="$1陝"/>
<Typo word="*疆" find="(边|邊|苗|新)彊" replace="$1疆"/>
<Typo word="*燥" find="(枯|乾|干)躁" replace="$1燥"/>
<Typo word="*世" find="(去|过|過)逝" replace="$1世"/>
<Typo word="*日" find="(\d)曰(?!\d+日)" replace="$1日"/>
<Typo word="*月*日" find="(\d)曰(\d+)日" replace="$1月$2日"/>
<Typo word="*籍" find="((?:(?:美|英|法|德|韓|韩|中|寮|泰|俄)(?:國|国)?)|(?:(?:台|臺)(?:灣|湾)?)|日|日本|印|印度|印尼|印度尼西亞|印度尼西亚|馬|马|馬來|马来|馬來西亞|马来西亚|菲|菲律賓|菲律宾|俄羅斯|俄罗斯|義|義大利|意|意大利|荷|荷蘭|荷兰|華|华|歐|欧|外|原|西|西班牙|瑞(?:士|典)|澳洲|澳大利亚|澳大利亞|愛爾蘭|爱尔兰|克羅地亞|克羅埃西亞|克罗地亚|比利時|紐西蘭|新西兰|新加坡|朝鮮|朝鲜|越|越南|葡|葡萄牙|巴西|波蘭|波兰|烏克蘭|乌克兰|古巴|加拿大|港|香港|黨|党|祖|古|書|书|學|学|入|省|户|戶|典)藉(?!水|滑|其|由|口|著|着|故|機)" replace="$1籍"/>
<Typo word="*臟" find="(心|腎|內|肺|肝)髒" replace="$1臟"/>
<!--2-->
<Typo word="九州" find="九洲" replace="九州"/>
<Typo word="九霄" find="九宵" replace="九霄"/>
<Typo word="人才" find="人材" replace="人才"/>
<!--3-->
<Typo word="上溯" find="上朔" replace="上溯"/>
<Typo word="已*" find="(?<!自)己(經|经|往)(?!故)" replace="已$1"/>
<!--4-->
<Typo word="尤其" find="(?:猶|犹)其" replace="尤其"/>
<Typo word="公里" find="公哩" replace="公里"/>
<Typo word="反省" find="反醒" replace="反省"/>
<!--5-->
<Typo word="市*" find="巿(场|場|区|區)" replace="市$1"/>
<Typo word="平添" find="(?:憑|凭)添" replace="平添"/>
<Typo word="未*" find="(?<!粉|代)末(來|来|有|能|受)(?!注)" replace="未$1"/>
<Typo word="打蠟" find="打臘" replace="打蠟"/>
<Typo word="打蠟" find="打腊" replace="打蜡"/>
<!--6-->
<Typo word="收拾" find="收捨" replace="收拾"/>
<Typo word="安裝" find="(?<!長)按(裝|装)" replace="安$1"/>
<Typo word="回溯" find="回朔" replace="回溯"/>
<Typo word="印象" find="印像" replace="印象"/>
<Typo word="自己" find="自已(?!經|经|故|知)" replace="自己"/>
<Typo word="收穫" find="收獲" replace="收穫"/>
<!--7-->
<Typo word="坐鎮" find="坐(?:陣|阵)" replace="坐鎮"/>
<Typo word="即使" find="既使" replace="即使"/>
<Typo word="即便" find="既便" replace="即使"/>
<Typo word="妨礙" find="防(礙|碍)" replace="妨$1"/>
<Typo word="系*" find="糸(統|统|列)" replace="系$1"/>
<!--8-->
<Typo word="兖州" find="衮州" replace="兖州"/>
<Typo word="青睞" find="親睞" replace="青睞"/>
<Typo word="青睐" find="亲睐" replace="青睐"/>
<Typo word="欣賞" find="欣嘗" replace="欣賞"/>
<Typo word="抽籤" find="抽簽" replace="抽籤"/><!--簡體-{抽签}-,繁體為錯字-->
<Typo word="抵*" find="扺(制|抗|禦|御)" replace="抵$1"/>
<!--9-->
<Typo word="兗州" find="袞州" replace="兗州"/>
<Typo word="宣泄" find="渲泄" replace="宣泄"/>
<Typo word="洄游" find="迴游" replace="洄游"/>
<Typo word="栃木" find="(?:櫪|櫔)木" replace="栃木"/>
<Typo word="范雎" find="范睢" replace="范雎"/>
<Typo word="修葺" find="修茸" replace="修葺"/>
<Typo word="祖*" find="袓(先|籍|父|母)" replace="祖$1"/>
<Typo word="重疊" find="重迭" replace="重疊"/>
<!--10-->
<Typo word="亳*" find="毫(县|州|縣)" replace="亳$1"/>
<Typo word="根*" find="跟(據|据|本)" replace="根$1"/>
<Typo word="氣概" find="(氣|气)慨" replace="$1概"/>
<Typo word="脈搏" find="脈博" replace="脈搏"/>
<Typo word="追溯" find="追朔" replace="追溯"/>
<Typo word="針砭" find="針貶" replace="針砭"/>
<Typo word="针砭" find="针贬" replace="针砭"/>
<Typo word="針灸" find="(針|针)炙" replace="$1灸"/>
<Typo word="陝*" find="陜(甘|北|州|西|县|縣)" replace="陝$1"/>
<Typo word="凌晨" find="(?:零|淩)晨(?!之後|情人|時分)" replace="凌晨"/>
<!--11-->
<Typo word="旋律" find="弦律" replace="旋律"/>
<Typo word="淘汰" find="淘汱" replace="淘汰"/>
<Typo word="粗獷" find="粗曠" replace="粗獷"/>
<Typo word="粗獷" find="粗旷" replace="粗犷"/>
<Typo word="堀越" find="掘越" replace="堀越"/>
<Typo word="專程" find="專誠" replace="專程"/>
<Typo word="逐字" find="遂字" replace="逐字"/>
<Typo word="國籍" find="國藉(?!著)" replace="國籍"/>
<Typo word="国籍" find="国藉(?!着)" replace="国籍"/>
<Typo word="崛起" find="掘起" replace="崛起"/>
<Typo word="偶爾" find="偶而" replace="偶爾"/>
<Typo word="殺戮" find="(殺|杀)戳" replace="$1戮"/>
<Typo word="陶冶" find="陶治(?!遠|狱|獄|元)" replace="陶冶"/>
<Typo word="號召" find="(號|号)招" replace="$1召"/>
<Typo word="竟然" find="(?:竞|競)然" replace="竟然"/>
<!--12-->
<Typo word="猶如" find="尤如" replace="猶如"/>
<Typo word="寒暄" find="寒喧" replace="寒暄"/>
<Typo word="湊合" find="(?<!緊)湊和" replace="湊合"/>
<Typo word="痙攣" find="痙孿" replace="痙攣"/>
<Typo word="竣工" find="峻工" replace="竣工"/>
<Typo word="善於" find="擅於" replace="善於"/>
<Typo word="發軔" find="發韌" replace="發軔"/>
<Typo word="發現" find="髮現" replace="發現"/>
<Typo word="裙襬" find="裙擺" replace="裙襬"/>
<Typo word="等候" find="(?<!一|二|三|四|五|六|七|八|九)等侯" replace="等候"/>
<!--13-->
<Typo word="新潟" find="新(?:瀉|泻)" replace="新潟"/>
<Typo word="準備" find="准備" replace="準備"/>
<Typo word="煩惱" find="煩腦" replace="煩惱"/>
<Typo word="烦恼" find="烦脑" replace="烦恼"/>
<Typo word="肄業" find="肆(業|业)" replace="肄$1"/>
<Typo word="裝幀" find="裝禎" replace="裝幀"/>
<Typo word="裝潢" find="裝璜" replace="裝潢"/>
<!--14-->
<Typo word="撤*" find="撒(銷|销|退|県|縣|回|軍|官|職|換)" replace="撤$1"/>
<Typo word="精粹" find="精萃" replace="精粹"/>
<Typo word="蜥蜴" find="蜥蝪" replace="蜥蜴"/>
<!--15-->
<Typo word="潟湖" find="(?:瀉|泻)湖" replace="潟湖"/>
<Typo word="震撼" find="震憾" replace="震撼"/>
<Typo word="遷徙" find="(遷|迁)徒" replace="$1徙"/>
<Typo word="墜*" find="墬(下|落)" replace="墜$1"/>
<Typo word="編纂" find="(編|编)篡" replace="$1纂"/>
<Typo word="暴躁" find="暴燥" replace="暴躁"/>
<!--16-->
<Typo word="儘管" find="僅管" replace="儘管"/>
<Typo word="諡號" find="謚號" replace="諡號"/>
<Typo word="輻射" find="幅射" replace="輻射"/>
<Typo word="噪音" find="躁音" replace="噪音"/>
<Typo word="鴕鳥" find="駝鳥" replace="鴕鳥"/>
<Typo word="鸵鸟" find="驼鸟" replace="鸵鸟"/>
<Typo word="膨脹" find="(?:澎|膨)漲" replace="膨脹"/>
<Typo word="頭髮" find="(?<!街)頭發" replace="頭髮"/>
<!--17-->
<Typo word="蟄伏" find="蜇伏" replace="蟄伏"/>
<Typo word="鍛鍊" find="鍛(?:煉|練)" replace="鍛鍊"/>
<Typo word="殭屍" find="僵屍" replace="殭屍"/>
<!--18-->
<Typo word="轉捩" find="(轉|转)戾" replace="$1捩"/>
<Typo word="鬆弛" find="鬆馳" replace="鬆弛"/>
<Typo word="歸咎" find="歸究" replace="歸咎"/>
<Typo word="鎌倉" find="鐮倉" replace="鎌倉"/>
<Typo word="藍色" find="籃色" replace="藍色"/>
<!--19-->
<Typo word="鵲起" find="雀起" replace="鵲起"/>
<Typo word="疆土" find="彊土" replace="疆土"/>
<Typo word="贊助" find="讚助" replace="贊助"/>
<!--20-->
<Typo word="籍貫" find="藉(貫|贯)" replace="籍$1"/>
<Typo word="藉*" find="籍(其|由|口|著|着|故|機)(?!組)" replace="藉$1"/>
<Typo word="籃球" find="藍球" replace="籃球"/>
<!--21-->
<Typo word="辯論" find="辨論" replace="辯論"/>
<Typo word="辩论" find="辨论" replace="辩论"/>
<Typo word="贓款" find="髒款" replace="贓款"/>
<!--22-->
<Typo word="贗品" find="膺品" replace="贗品"/>
<Typo word="囉唆" find="羅唆" replace="囉唆"/>
<!--25-->
<Typo word="蘸水" find="醮水" replace="蘸水"/>
三字
<Typo word="入殓师" find="入斂师" replace="入殓师"/>
<Typo word="大拇指" find="大姆指" replace="大拇指"/>
<Typo word="併發症" find="並發症" replace="併發症"/>
<Typo word="消歧義" find="消(?:歧|岐)(?:異|意|義)" replace="消歧義"/>
<Typo word="消歧义" find="消(?:歧|岐)异" replace="消歧义"/>
<Typo word="挖牆腳" find="挖牆角" replace="挖牆腳"/>
<Typo word="接下來" find="皆下來" replace="接下來"/>
<Typo word="候車室" find="侯(車|车)室" replace="候$1室"/>
<Typo word="坐月子" find="做月子" replace="坐月子"/>
<Typo word="舶來品" find="泊來品" replace="舶來品"/>
<Typo word="水龍頭" find="水籠頭" replace="水龍頭"/>
<Typo word="明信片" find="名信片" replace="明信片"/>
<Typo word="入場券" find="入場卷" replace="入場券"/>
<Typo word="稱得上" find="(稱|称)的上" replace="$1得上"/>
<Typo word="諸葛瑾" find="諸葛謹" replace="諸葛瑾"/>
<Typo word="有時候" find="有時後" replace="有時候"/><!--注意有「後者、後面」。-->
四字
<!--*-->
<Typo word="*名思義" find="(?:固|故)名思義" replace="顧名思義"/>
<Typo word="*名思义" find="(?:固|故)名思义" replace="顾名思义"/>
<!--1-->
<Typo word="一如既往" find="一如繼往" replace="一如既往"/>
<Typo word="一副對聯" find="一幅對聯" replace="一副對聯"/>
<Typo word="一塌糊塗" find="一榻糊塗" replace="一塌糊塗"/>
<Typo word="一鼓作氣" find="一股作氣" replace="一鼓作氣"/>
<Typo word="一諾千金" find="一諾千斤" replace="一諾千金"/>
<Typo word="一籌莫展" find="一愁莫展" replace="一籌莫展"/>
<!--2-->
<Typo word="人情世故" find="人情事故" replace="人情世故"/>
<!--3-->
<Typo word="川流不息" find="穿流不息" replace="川流不息"/>
<!--4-->
<Typo word="不知所終" find="不知所蹤" replace="不知所終"/>
<Typo word="不知所終" find="不知所(?:踪|综)" replace="不知所终"/>
<Typo word="不可思議" find="不可思義" replace="不可思議"/>
<Typo word="不脛而走" find="不徑而走" replace="不脛而走"/>
<Typo word="不落窠臼" find="不落巢臼" replace="不落窠臼"/>
<Typo word="天翻地覆" find="天翻地複" replace="天翻地覆"/>
<Typo word="心狠手辣" find="心恨手辣" replace="心狠手辣"/>
<!--5-->
<Typo word="世外桃源" find="世外桃園" replace="世外桃源"/>
<Typo word="出其不意" find="出奇不意" replace="出其不意"/>
<Typo word="功不可沒" find="功不可抹" replace="功不可沒"/>
<Typo word="甘拜下風" find="甘敗下風" replace="甘拜下風"/>
<!--6-->
<Typo word="再接再厲" find="再接再勵" replace="再接再厲"/>
<Typo word="有恃無恐" find="有持無恐" replace="有恃無恐"/>
<Typo word="死皮賴臉" find="死皮癩臉" replace="死皮賴臉"/>
<Typo word="自暴自棄" find="自抱自棄" replace="自暴自棄"/>
<!--7-->
<Typo word="床笫之私" find="床第之私" replace="床笫之私"/>
<Typo word="言簡意賅" find="言簡意駭" replace="言簡意賅"/>
<Typo word="走投無路" find="走頭無路" replace="走投無路"/>
<Typo word="过渡时期" find="过度时期" replace="过渡时期"/>
<Typo word="炙手可熱" find="灸手可熱" replace="炙手可熱"/>
<!--8-->
<Typo word="金榜題名" find="金榜提名" replace="金榜題名"/>
<!--9-->
<Typo word="按部就班" find="按步就班" replace="按部就班"/>
<Typo word="既往不咎" find="既往不究" replace="既往不咎"/>
<Typo word="迫不及待" find="迫不急待" replace="迫不及待"/>
<Typo word="食不果腹" find="食不裹腹" replace="食不果腹"/>
<!--10-->
<Typo word="俯首稱臣" find="伏首稱臣" replace="俯首稱臣"/>
<Typo word="恣意妄為" find="姿意妄為" replace="恣意妄為"/>
<Typo word="草菅人命" find="草管人命" replace="草菅人命"/>
<Typo word="鬼鬼祟祟" find="鬼鬼崇崇" replace="鬼鬼祟祟"/>
<!--11-->
<Typo word="莫名其妙" find="莫明其妙" replace="莫名其妙"/>
<!--12-->
<Typo word="絡繹不絕" find="絡驛不絕" replace="絡繹不絕"/>
<Typo word="萎靡不振" find="萎糜不振" replace="萎靡不振"/>
<Typo word="蛛絲馬跡" find="蛛絲螞跡" replace="蛛絲馬跡"/>
<Typo word="飲鴆止渴" find="飲鳩止渴" replace="飲鴆止渴"/>
<Typo word="黃粱美夢" find="黃梁美夢" replace="黃粱美夢"/>
<!--13-->
<Typo word="過渡時期" find="過度時期" replace="過渡時期"/>
<Typo word="鼎力相助" find="鼎立相助" replace="鼎力相助"/>
<!--14-->
<Typo word="嘔心瀝血" find="漚心瀝血" replace="嘔心瀝血"/>
<Typo word="竭澤而漁" find="竭澤而魚" replace="竭澤而漁"/>
<Typo word="漁利可圖" find="魚利可圖" replace="漁利可圖"/>
<!--15-->
<Typo word="墨守成規" find="默守成規" replace="墨守成規"/>
<Typo word="潔白無瑕" find="潔白無暇" replace="潔白無瑕"/>
<Typo word="談笑風生" find="談笑風聲" replace="談笑風生"/>
<Typo word="鋌而走險" find="挺而走險" replace="鋌而走險"/>
<Typo word="撲朔迷離" find="撲索迷離" replace="撲朔迷離"/>
<!--16-->
<Typo word="戰戰兢兢" find="戰戰競競" replace="戰戰兢兢"/>
<!--17-->
<Typo word="濫竽充數" find="濫芋充數" replace="濫竽充數"/>
<Typo word="矯揉造作" find="嬌揉造作" replace="矯揉造作"/>
<Typo word="罄竹難書" find="磬竹難書" replace="罄竹難書"/>
<Typo word="聲名鵲起" find="聲名雀起" replace="聲名鵲起"/>
<Typo word="膾炙人口" find="燴炙人口" replace="膾炙人口"/>
<!--18-->
<Typo word="趨之若鶩" find="趨之若騖" replace="趨之若鶩"/>
<Typo word="藍天白雲" find="蘭天白雲" replace="藍天白雲"/>
<Typo word="額手稱慶" find="額首稱慶" replace="額手稱慶"/>
<!--19-->
<Typo word="鎩羽而歸" find="鍛羽而歸" replace="鎩羽而歸"/>
<!--20-->
<Typo word="懸梁刺股" find="懸梁刺骨" replace="懸梁刺股"/>
<!--21-->
更多
<Typo word="美國太空總署" find="美國太空總處" replace="美國太空總署"/>