取り違えた同音語(its / it's、their / there)
homophone-slip既定で動く英語
英語で、「it's own」「their are」のように、次の語から見て取り違えたと決まる同音語
例
指摘される文
The team kept it's own schedule. Their are two reviews left.
chaff の出力
1:1 "it's own" has one homophone typed for another
1:34 "their are" has one homophone typed for another
直した文
The team kept its own schedule. There are two reviews left.
chaff の出力
指摘なし
直し方
意図した語に直してください(it's own → its own、their are → there are、could of → could have)。
なぜ指摘するのか
英語の「its」と「it's」、「their」と「there」と「they're」は音が同じで、打ち間違えても綴りの点検では見つかりません。chaff は、次の語で意味が一つに決まる組だけを見ます(「it's own」は「its own」しかなく、「their are」は「there are」しかない)。次の語で決まらない組(its time、they're people)は見ません。組は言語ごとの語彙表にあります。
指摘しないもの
一覧にある組だけを見ます。英語の文書だけで動きます。次の語で決まらない「its time」「they're people」は見ません。小説と話し言葉では使いません(方言や話しぶりをわざと綴るため)。
止める・ゆるめる
この一か所だけ黙らせる(文書に書く)
<!-- stet: homophone-slip — 理由 -->
チームでゆるめる(理由は chaff.yaml にコメントで残ります)
npx chaffjs relax homophone-slip --why "理由"
チームで止める(chaff.yaml)
rules:
homophone-slip: off
技術的な情報
- 層
- L2
- 状態
- 安定
- 重さ
- 注意
- 対象の言語
- en
- 向いている文章
- business, technical, blog, legal, docs, academic, literature, speech
- 文書から読み取るもの
- pos
強さ(段階)
chaff.yaml の rules にこの名前と段階を書くと変わります。書かなければ、ジャンルが決めた段階で動きます(どのジャンルで動くかは下の「ジャンルごとの動き」にあります)。
| strict | 取り違えが 1 箇所あれば指摘 |
|---|---|
| normal | 取り違えが 1 箇所あれば指摘 |
| relaxed | 取り違えが 2 箇所あれば指摘 |
ジャンルごとの動き
- 既定で動くジャンル
- technical/spec, technical/readme, blog/tech, blog/essay, blog/owned-media, business/proposal, business/report, business/email, business/press-release, business/meeting-notes, legal/contract, legal/statute, legal/judgment, legal/patent, docs/manual, docs/faq, docs/glossary, academic/paper
- このルールを止めるジャンル
- literature/fiction, literature/essay, literature/poetry, literature/play, speech/address, speech/transcript
指摘の文
「{matched}」は、取り違えた同音語です
書き直しの深さ(chaff fix-plan --depth): light — 語と文を直す。構成と文体は残す
このページはルールの定義ファイルから作られています:packages/chaff/rules/homophone-slip.yaml