chaffjs 0.48.0 → 0.49.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.ja.md +1 -0
- package/README.md +1 -0
- package/dist/detectors/acronym-name.d.ts +2 -2
- package/dist/detectors/acronym-name.d.ts.map +1 -1
- package/dist/detectors/acronym-name.js +3 -3
- package/dist/detectors/acronym-name.js.map +1 -1
- package/dist/detectors/char-shape.d.ts.map +1 -1
- package/dist/detectors/char-shape.js +11 -4
- package/dist/detectors/char-shape.js.map +1 -1
- package/dist/detectors/concrete-evidence-density.js +2 -2
- package/dist/detectors/concrete-evidence.d.ts +7 -0
- package/dist/detectors/concrete-evidence.d.ts.map +1 -1
- package/dist/detectors/concrete-evidence.js +20 -0
- package/dist/detectors/concrete-evidence.js.map +1 -1
- package/dist/detectors/en-shape.d.ts +1 -0
- package/dist/detectors/en-shape.d.ts.map +1 -1
- package/dist/detectors/en-shape.js +7 -1
- package/dist/detectors/en-shape.js.map +1 -1
- package/dist/detectors/kanji-name-edge.d.ts +10 -0
- package/dist/detectors/kanji-name-edge.d.ts.map +1 -1
- package/dist/detectors/kanji-name-edge.js +23 -0
- package/dist/detectors/kanji-name-edge.js.map +1 -1
- package/dist/detectors/name-variant-two-things.d.ts +1 -1
- package/dist/detectors/name-variant-two-things.d.ts.map +1 -1
- package/dist/detectors/name-variant-two-things.js +16 -4
- package/dist/detectors/name-variant-two-things.js.map +1 -1
- package/dist/detectors/reference-entry.d.ts.map +1 -1
- package/dist/detectors/reference-entry.js +35 -5
- package/dist/detectors/reference-entry.js.map +1 -1
- package/dist/detectors/register-set-apart.d.ts +1 -1
- package/dist/detectors/register-set-apart.js +4 -4
- package/dist/detectors/register-set-apart.js.map +1 -1
- package/dist/detectors/register-voice.d.ts +5 -0
- package/dist/detectors/register-voice.d.ts.map +1 -1
- package/dist/detectors/register-voice.js +17 -0
- package/dist/detectors/register-voice.js.map +1 -1
- package/dist/detectors/sentence-counts.d.ts.map +1 -1
- package/dist/detectors/sentence-counts.js +2 -1
- package/dist/detectors/sentence-counts.js.map +1 -1
- package/dist/detectors/sentence-ending.d.ts +2 -2
- package/dist/detectors/sentence-ending.d.ts.map +1 -1
- package/dist/detectors/sentence-ending.js +3 -1
- package/dist/detectors/sentence-ending.js.map +1 -1
- package/dist/detectors/sentence-length.d.ts.map +1 -1
- package/dist/detectors/sentence-length.js +3 -2
- package/dist/detectors/sentence-length.js.map +1 -1
- package/dist/detectors/sentence-parts.d.ts +6 -3
- package/dist/detectors/sentence-parts.d.ts.map +1 -1
- package/dist/detectors/sentence-parts.js +15 -7
- package/dist/detectors/sentence-parts.js.map +1 -1
- package/dist/detectors/speaker-turns.d.ts +4 -0
- package/dist/detectors/speaker-turns.d.ts.map +1 -0
- package/dist/detectors/speaker-turns.js +28 -0
- package/dist/detectors/speaker-turns.js.map +1 -0
- package/dist/name-variant-shapes.d.ts +10 -0
- package/dist/name-variant-shapes.d.ts.map +1 -1
- package/dist/name-variant-shapes.js +24 -0
- package/dist/name-variant-shapes.js.map +1 -1
- package/dist/set-phrase-particles.js +2 -2
- package/dist/set-phrase-particles.js.map +1 -1
- package/dist/topic-clause.d.ts.map +1 -1
- package/dist/topic-clause.js +12 -5
- package/dist/topic-clause.js.map +1 -1
- package/package.json +3 -3
- package/rules/concrete-evidence-density.yaml +2 -2
- package/rules/expletive-construction.yaml +2 -2
- package/rules/max-kanji-continuous.yaml +5 -3
- package/rules/name-variant.yaml +2 -2
- package/rules/ngram-repetition.yaml +2 -2
- package/rules/no-doubled-joshi.yaml +2 -2
- package/rules/no-mixed-desumasu.yaml +3 -2
- package/rules/orthographic-variant.yaml +2 -2
- package/rules/topic-predicate-distance.yaml +2 -2
- package/rules/undefined-acronym.yaml +2 -2
- package/rules/vague-word-density.yaml +2 -2
- package/skills/chaff/SKILL.md +3 -1
- package/src/detectors/acronym-name.ts +6 -3
- package/src/detectors/char-shape.ts +18 -3
- package/src/detectors/concrete-evidence-density.ts +2 -2
- package/src/detectors/concrete-evidence.ts +27 -0
- package/src/detectors/en-shape.ts +10 -4
- package/src/detectors/kanji-name-edge.ts +27 -0
- package/src/detectors/name-variant-two-things.ts +28 -3
- package/src/detectors/reference-entry.ts +36 -6
- package/src/detectors/register-set-apart.ts +4 -4
- package/src/detectors/register-voice.ts +19 -0
- package/src/detectors/sentence-counts.ts +2 -1
- package/src/detectors/sentence-ending.ts +8 -4
- package/src/detectors/sentence-length.ts +6 -4
- package/src/detectors/sentence-parts.ts +21 -9
- package/src/detectors/speaker-turns.ts +37 -0
- package/src/name-variant-shapes.ts +29 -0
- package/src/set-phrase-particles.ts +2 -2
- package/src/topic-clause.ts +17 -5
package/rules/name-variant.yaml
CHANGED
|
@@ -103,8 +103,8 @@ example:
|
|
|
103
103
|
The code lives on GitHub. Reviews happen on GitHub, and releases are tagged on GitHub.
|
|
104
104
|
|
|
105
105
|
not_flagged:
|
|
106
|
-
ja: 品詞解析が固有名詞と読んだ語だけを見ます。大文字だけの名前(ACME INC、NASA)と、大文字で書いた一節の中の名前(eGAIN AND ITS SUPPLIERS … の eGAIN)は見ません。略語の後ろの括弧の中で、大文字の字が略語をつづる語(axle (Axis-guided eXperience ELicitation) の ELicitation)も見ません。リンクの角括弧は名前に入れません。一字違いの英字の名前は、6 字以上で、多いほうが二度以上、少ないほうが一度だけのときに限ります(Iran と Iraq は別の名前)。名の違う二人の一字違いの姓(Jeffrey D. Walker と Christopher J. Waller)は別の人です。終わりの重なった字の一つの有る無し(License と Licensee)は、どちらかを文書が小文字で書くなら別の語です。人の名前どうしは、字体の違う同じ字(斎藤 と 斉藤、渡辺 と 渡邊)か、読みが同じで一字だけ違い、多いほうが二度以上、少ないほうが一度だけのとき(松本 と 松元)に限ります(伊藤 と 伊東 は別の人のことがある)。解析器が読みを持たない名前の字(健汰 の 汰)は、語彙表 name-char-reading の読みで読みます(健太 と 健汰。表の升の名前も同じ)。人の名前とは、品詞解析が人名と読んだ語か、「様」「さん」「氏」の付いた名前です(解析器が名前と読めない字体の字を含む名前は、敬称の前の 2〜4 字の漢字を名前と読みます)。敬称は名前とのあいだの空白を越えて見ます。品詞解析が名と読まない語も、姓のあとに空白を挟んで書き、敬称が付けば名と読みます(森下 千尋 様)。姓の後ろに空白を挟んでかなで書いた名も、敬称か肩書きが付くか、人を書く欄の行の終わりにあれば、姓とつないで一つの名前と読みます(松本 あかり 様)。敬称の無い名前も、前後に漢字が続かない 2〜4 字の漢字で、片方の書き方に「担当の」「私、」などの前置きか敬称が付き、もう片方が「です」「が」「までご連絡」などの前にあれば比べます(担当の斎藤です と 斉藤までご連絡ください)。地名にも同じ組がある(鹿島 と 鹿嶋)ので、どちらにも前置きも敬称も無いときは比べません。会社の名前は、語彙表の会社の種類の語(株式会社、(株)、有限会社)の隣にあるものを、品詞と関係なく比べます。名前が同じで種類の語が違うもの(株式会社 と 有限会社)、種類の語を名前の反対側に置いたもの(株式会社アオバ と アオバ株式会社)、記号・幅だけが違うものを指します。三つ以上の種類の語で書いた名前(Aoba Inc、Aoba Ltd、Aoba GmbH)は会社のグループで、種類の違いは比べません。同じ種類の語の略した形(株式会社 と (株))、種類の語を省いた呼び名(アオバシステム、以下「アオバ」)は指しません。名前の一字違いは、7 字以上の名前で、違う字が漢字でないときに限ります(日本電気 と 日本電機 は別の会社のことがある)。漢字を含む名前は、7 字に満たなくても、4 字以上のかなの語の中のかな一字違いを、多いほうが二度以上、少ないほうが一度だけのときに指します(コモレビ電機 と コモレピ電機)。名前の漢字一字を、品詞解析が言うその読みのかなで書いた所(みどり野生命 と みどりの生命)も、多いほうが二度以上、かなのほうが一度だけのときに指します。読みは、かなと漢字一字の語からだけ取ります。名前の頭でない字は、頭の音を濁らせた読みで書いたもの(こむぎ畑 と こむぎばたけ)も同じに指します。漢字だけの名前は、品詞解析が固有名詞と読んだときだけ会社の名前と見ます(清算株式会社、当該株式会社)。場所の名前は、語彙表の場所の語(口、駅、センター、ホール)で終わる名前を、品詞と関係なく比べます。記号・幅だけが違うもの(コンベンションセンター と コンベンション・センター)を指し、名前の読みが同じかかなで書いた読みのもの(筑紫口 と ちくし口)と、固有名詞の字の一字違い(八重洲中央口 と 八重州中央口)は、多いほうが二度以上、少ないほうが一度だけのときに限ります。方角や数字の違い(北口 と 南口、第1会議室 と 第2会議室)は別の所なので指しません。表の升は升ごとに品詞解析し、名前の形をした升(空白を挟んだ二つか三つの漢字・カタカナの語)を本文の名前と比べます。記号・幅だけの違い(佐々木 美穂 と 佐々木 美穂)と、本文と同じく読みが同じで一語だけ違うもの(佐々木 美穂 と 佐々木 美保)を指し、後者は本文の形が二度以上、升の形が一度だけのときに限ります。読みの違う一字違い(佐藤 太郎 と 佐藤 次郎)は別の人のことが多いので指しません(英字の名前は一字違いも指します)。場所の名前は表の升の中のものも比べます。英字の人の名前は、名が同じで、7 字以上の姓の頭 4 字以上がそろい、あいだの 2 字(長いほうは 3 字)までだけ違うもの(Rachel Whitford と Rachel Whitfield)も、多いほうが二度以上、少ないほうが一度だけのときに指します。語の順を入れ替えた名前(統計学基礎 と 基礎統計学)は、同じ語(形態素)を違う順に並べ、どちらも他方を含まず、どちらかが括弧の中か「前提科目:」のような欄の後ろか表の升まるごとに書いた名前のときだけ指します(統計学基礎 と 統計学応用 は別の名前)。同じ文に並べて書いた二つ(画面の二つの項目、定義する語とその中身)と、文書が定義した語は比べません。冠詞だけを挟んだ二つの語(this Agreement the Stockholders)は一つの名前にしません。製品の名前は、語彙表の製品の形の語(錠、カプセル、クリーム)のすぐ前の 4 字以上のカタカナを、品詞と関係なく比べます(見出しと表の升の中のものも数えます)。形の語が同じで、名前が一字の置き換えか長音の記号一つの有る無しだけ違い(ミナモール錠 と ミナモル錠)、多いほうが二度以上、少ないほうが一度だけのときに指します。名前が同じで形の語だけが違うもの(ミナモール錠 と ミナモール顆粒)は、同じ製品の別の形のことが多いので指しません。一語の名前の中で同じ音を書く字(桜ヶ丘・桜ケ丘、霞ヶ関・霞が関)は、漢字に挟まれたときだけ同じ字と見ます。品詞解析が一語と読まない書き方(桜・が・丘)は見ません。字を抜いた形(桜丘)や、違う漢字の名前(桜ヶ岡)は別の名前です。この違いだけは、表の升の中の名前とも比べます。型番(英大文字と数字を合わせた 4 字以上の語)は、文書の題か、語彙表の型番の欄の語(型番、品番、型式)の後ろに書いたものだけを文書の型番と読み、文書の中に二度以上出てくるとき、ハイフン・空白・字の大小・幅だけを変えた形(KM-SP300 と KM-SP-300、KMSP300、km-sp300)を指します。字や数の違う型番(KM-SP300 と KM-SP310、比べる表の兄弟機種、部品表の品番)は別の型番なので指しません。英小文字を含む語(iOS17)、版(v1.2 と v1.20)、より長い型番・URL・パス・ファイル名の一部(KM-SP300-B、km-sp300.pdf)は型番と読みません。空白で区切って書く規格の番号(JIS C 8714)は一つの語でないので、題や欄に書いても型番と読みません。一度ずつ書いた二つの形は、片方だけが人を書く欄(語彙表 person-label の語と「:」の後ろで、名前で行が終わるもの。氏名:山下 美咲)にあれば、欄の形を正しい形と見て、もう片方を同じ決まりで比べます(山下 美咲 と 山下 未咲)。どちらも欄にあるか、どちらも欄に無ければ比べません。欄に書いた名と同じ名を空白の後ろに書いたもの(受託者:西村 亮 の文書の 西邑 亮が)は、敬称が無くても人の名前と読みます。読みの違う一字違いでも、姓と名のそろった名前で、違う二字が語彙表 name-lookalike-char の形の似た字の組(太 と 大、未 と 末)なら、多いほうが二度以上、少ないほうが一度だけのときに指します(山本 健太 と 山本 健大。名だけの名前は兄弟のことがあるので比べません)。英字の名前で、ほかの語が同じ二語以上の名前の一語が、終わりの一字の抜けか足しだけ違うもの(Rachel Whitmore と Rachel Whitmor)も、多いほうが二度以上か人を書く欄にあり、少ないほうが一度だけのときに指します。違うのが最後の語(姓)なら、前の語がどれも、文書の中で小文字でも普通名詞としても書かない語のときに限り(Hurricane Hanna と Hurricane Hannah は別の嵐)、4 字の姓の一字違いも指します(Daniel Reyes と Daniel Reys。Reyes と Reyna は別の姓)。最後でない語は、8 字以上で、名前の最後の語がふつうの語のときに限ります(Hollybrook Residences と Hollybrooke Residences。人の名の Christian と Christiane は別の人)。足した字が s(複数)か母音の後ろの n(Korea と Korean)のもの、違う語のどちらかがふつうの語のもの(Green と Greene)は指しません。会社の名前は、形の語も側も同じで、一語だけが、8 字以上の語の終わりの 2 字まで違うもの(Brightmoor と Brightmore)か、最後の語の単数と複数(Water Utility と Water Utilities)も、多いほうが二度以上、少ないほうが一度だけのときに指します。一語の名前の二つがどちらも辞書の語で、片方の語尾を外した語がもう片方の頭にあるもの(民と国の Germans と Germany、単数と複数の Englishman と Englishmen)は、別の二つの語なので指しません。名簿が大文字で組んだ名前(MICHAEL T. McCAUL、SCOTT DesJARLAIS。語彙表 name-capitals-prefix の姓の頭だけを小文字で残す)は、大文字だけの名前と同じく見ません。大文字の語を含む、字の大小だけの違いが引用符の中にあれば、出典の題をそのまま写したもの("The TRIDENT Conference")なので指しません。一字違いの名前でも、語彙表 name-word-ending の言う語尾の一字だけの違い(Texan と Texas、Romano と Romans)、多いほうと同じ文に並べたもの(Constantinus と Constantius の兄弟)、違う語を文書が二度以上書くもの(Bindle のそばの Mrs. Bandle と Richard Bandle)、文か行の頭にあって、どちらも辞書の語のもの(Sprang と Spring)は指しません。一語の二つの形のうち、指す形を文書がほかで小文字で書くもの(stain のある Stain と Spain)か、多いほうの形を小文字で書き、指す形も辞書の語のもの(vigil のある Vigil と Virgil。affiliates のある Affliates は書き損じとして指します)と、複数の s の付いた大文字の略語どうし(SBLCs と SBDCs)も指しません。小文字で書く語の後ろのアポストロフィの有る無しだけの違い(Look’ee と Lookee)と、それより長いファイル名や URL の一部(Low-Tax-Rates-to-Create-American-Economic-Prosperity.pdf の American-Economic-Prosperity。Borrowmoney.com の Borrowmoney は名前)も指しません。語彙表 name-direction-word の向きの語を挟んで同じ二つを逆の順に並べた名前(ASCII to binary と binary to ASCII)は、ある向きとその逆です。漢字に挟まれた「・」は二つを並べる印です(動物園・水族館 と 動物園水族館)。同じ読みの名前でも、語彙表 name-copula に無い助動詞がすぐ後ろに続くもの(白華咲けり)は動詞の語幹で、名前ではありません。大文字で始まる三語以上で、語彙表 name-title-head の語(Act、Commission)で終わるものは、品詞解析の読みと関係なく題と読み、一度だけ書いた題が、二度以上書いた題と一語だけ一字違うもの(National Industrial Recover Act と National Industrial Recovery Act
|
|
107
|
-
en: Only words the tagger reads as proper nouns are checked. Names in capitals only (ACME INC, NASA) are left out, and so is a name inside a passage written in capitals (eGAIN in "eGAIN AND ITS SUPPLIERS MAKE NO WARRANTY"). So is a word whose capitals spell out an acronym in the bracket after it ("axle (Axis-guided eXperience ELicitation)"). A link's brackets are not part of a name. Names one letter apart are reported only when six letters or longer, with the usual form used at least twice and the other once (Iran and Iraq are different names). Two surnames one letter apart under different given names (Jeffrey D. Walker and Christopher J. Waller) belong to two people, and a doubled last letter dropped (License and Licensee) makes another word when the document writes either in lower case. Two Japanese person names are compared only when written with another form of the same character (斎藤 and 斉藤), or read the same with one character different, the usual form used at least twice and the other once (松本 and 松元); 伊藤 and 伊東 can be two people. A name character the tagger has no reading for (汰 in 健汰) is read with its reading from the lexicon name-char-reading (健太 and 健汰), in table cells as well. A person's name is one the tagger reads as such, or one followed by 様, さん or 氏 (when a name holds a character form the tagger cannot read, the two to four kanji before the honorific are taken as the name). The honorific may follow the name after a space. A word the tagger does not read as a given name is taken as one when it follows a surname after a space and carries an honorific (森下 千尋 様). A given name written in kana after a surname and a space is joined with the surname when an honorific or a title follows it, or when it ends a line in a field that names a person (松本 あかり 様). A name without an honorific is compared too when it is two to four kanji standing alone, one form has a lead such as 担当の or 私、 or an honorific, and the other stands before a word such as です, が or までご連絡 (担当の斎藤です and 斉藤までご連絡ください). Places have such pairs as well (鹿島 and 鹿嶋), so two forms with neither a lead nor an honorific are not compared. A company name is one next to a company form from the lexicon (Inc., Ltd., Co., Ltd., LLC), whatever the tagger reads it as. The same name with forms of two kinds (Inc. and Ltd.), and the same name written with other punctuation or width, are reported. A name written with three forms or more (Aoba Inc, Aoba Ltd, Aoba GmbH) is a group of companies, and its forms are not compared. The short and long spelling of one form (Inc and Incorporated) and a name written without its form (Aoba Systems, the "Company") are not. Two names one letter apart are reported only when seven letters or longer, with the same form, and the letter is not a kanji. A name holding kanji is compared when shorter too, for one kana apart inside a kana word of four or more (コモレビ電機 and コモレピ電機), with the usual form used at least twice and the other once. One kanji of a name written in its kana reading (みどり野生命 and みどりの生命) is reported the same way; the reading is the tagger's, taken only from a word of kana and one kanji. A kanji that does not start the name is also matched with its reading voiced at the start (こむぎ畑 and こむぎばたけ). A place name is one ending in a place word from the lexicon (Street, St., Avenue, Station, Center), whatever the tagger reads it as. The same place written with other punctuation (King's Cross and Kings Cross) or with the place word short and long (11th Street and 11th St.) is reported; a place whose name is one letter away (Union Station and Unoin Station) only when the usual form is used at least twice and the other once. Other numbers and other names (1st Street and 2nd Street, North Hall and South Hall) are different places. Table cells are tagged cell by cell, and a cell holding only a name (two to four capitalised words, or two or three kanji or katakana words with a space) is compared with the names read in the prose. Reported are the same name with other punctuation or case, or one word different with the other words the same, either a letter away (Sofia Mendes in the text, Sofia Mendez in the table) or, for a Japanese name, read the same as the prose name (佐々木 美穂 and 佐々木 美保); these only when the prose form is used at least twice and the cell form once. Place names inside table cells are compared too. A word next to a name that the tagger did not read as a name (to Rachel Whitford, with Rachel read as a verb) is read with it when the two together are read as a name elsewhere. Two names with the same given name and a surname of seven letters or more, whose first four letters match and which differ in at most two letters between the shared start and end (three in the longer one), are reported when the usual form is used at least twice and the other once (Rachel Whitford and Rachel Whitfield). A different given name (Daniel Whitfield) or a surname alone is not compared this way. A name with its words in another order (Foundations of Statistics and Statistical Foundations) is reported only when both hold the same words (by stem) and neither contains the other, and one of them is written as a name, in quotation marks, after a label such as "Prerequisite" and a colon, or as a whole table cell. Two Title Case runs alone are not compared (Florida Supreme Court and Supreme Court of Florida), nor are two names joined by "and", two forms written in one sentence (two menu labels side by side, a term and its definition), or a term the document defines. An article alone does not join two words into a name ("this Agreement the Stockholders"). In Japanese, a product name is four or more katakana right before a product-form word from the lexicon (錠, カプセル, クリーム), whatever the tagger reads it as, counted in headings and table cells as well. Two such names with the same form word, differing by one replaced kana or one long-vowel mark (ミナモール錠 and ミナモル錠), are reported when the usual form is used at least twice and the other once. The same name with another form word (ミナモール錠 and ミナモール顆粒) is not, as a product line often has both. In a Japanese name, a character for the same sound (桜ヶ丘 and 桜ケ丘, 霞ヶ関 and 霞が関) is the same only between two kanji, in a name the tagger reads as one word (not 桜が丘, read as 桜, が, 丘). A name without it (桜丘) or with other kanji (桜ヶ岡) is another name. This difference alone is also looked for in the names inside table cells. A model number (four or more capitals and digits, as one word) is read as the document's model only when it is in the title or after a model label from the lexicon (Model, Model No., Part No.); when it appears twice or more, a form that changes only hyphens, spaces, case or width (KM-SP300 and KM-SP-300, KMSP300, km-sp300) is reported. Codes with other letters or digits (KM-SP300 and KM-SP310, a sibling model in a comparison table, the part numbers of a parts list) are different models and are not compared. A word with small letters (iOS17), a version (v1.2 and v1.20), and a code inside a longer code, a URL, a path or a file name (KM-SP300-B, km-sp300.pdf) are not read as model numbers. A standard number written with spaces (JIS C 8714) is not one word, so it is not read as a model even in the title or after a label. Two forms written once each are compared when exactly one of them is in a field that names a person (a label from the lexicon person-label and a colon, with the name ending the line, as in "Contractor:" followed by Priya Raman); the field's form is taken as the usual one and the other is held to the same rules (Priya Raman and Priya Rahman). Two forms both in such fields, or neither, are not compared. Read differently, two full names (surname and given name) are still reported when they differ by one character and the two characters are a lookalike pair from the lexicon name-lookalike-char (太 and 大, 未 and 末), with the usual form used at least twice and the other once (山本 健太 and 山本 健大); a given name alone is not compared this way, as siblings can have such names. In a Latin-script name of two or more words with the other words the same, one word with its last letter dropped or added (Rachel Whitmore and Rachel Whitmor) is reported when the usual form is used at least twice, or is in a field that names the person, and the other once. When that word is the last one (the surname), only if no word before it is written in lower case, or read as a common noun, anywhere in the document (Hurricane Hanna and Hurricane Hannah are two storms); a surname of four letters is then also compared for one letter apart (Daniel Reyes and Daniel Reys; Reyes and Reyna are different surnames). Another word is compared only when eight letters or longer and the name ends in an ordinary word (Hollybrook Residences and Hollybrooke Residences; the given names Christian and Christiane belong to different people). An added s (a plural) or an n after a vowel (Korea and Korean), and a pair where either word is an ordinary word (Green and Greene), are not reported. Two company names with the same form on the same side, differing in one word only, by at most its last two letters in a word of eight or more (Brightmoor and Brightmore) or as the singular and plural of the last word (Water Utility and Water Utilities), are reported when the usual form is used at least twice and the other once. Two one-word names that are both dictionary words, where one with its ending taken off starts the other (a people and its country, Germans and Germany; a singular and its plural, Englishman and Englishmen), are two words and are not reported. A name set in capitals as a roster sets it, with only a surname prefix from the lexicon name-capitals-prefix kept small (MICHAEL T. McCAUL, SCOTT DesJARLAIS), is left out like a name in capitals. A difference of case alone, in a form holding a word in capitals inside quotation marks, is a cited title kept as published ("The TRIDENT Conference") and is not reported. Two names one letter apart are not reported when they differ only in a last letter that the lexicon name-word-ending calls another form (Texan and Texas, Romano and Romans), when the usual form stands in the same sentence (Constantinus and Constantius, two brothers), when the document writes the differing word twice or more (Mrs. Bandle and Richard Bandle beside Bindle), or when the form starts a sentence or a line and both are dictionary words (Sprang and Spring). Nor are two one-word forms when the document writes the pointed form in small letters elsewhere (Stain beside stain and Spain), or writes the usual form so and the pointed form is a dictionary word too (Virgil beside Vigil and vigil; Affliates beside affiliates is still a slip), or two acronyms in capitals with a plural s (SBLCs and SBDCs). A contraction printed with and without its apostrophe after a word the document writes in small letters (Look’ee and Lookee), and a form inside a longer file name or a URL (American-Economic-Prosperity in Low-Tax-Rates-to-Create-American-Economic-Prosperity.pdf, but not Borrowmoney in Borrowmoney.com), are not reported. Two names with the same two sides in the two orders around a direction word from the lexicon name-direction-word (ASCII to binary, binary to ASCII) are a direction and its inverse. ・ between two kanji lists two things (動物園・水族館 beside 動物園水族館). A Japanese name read the same that stands right before an auxiliary not in the lexicon name-copula (白華咲けり) is a verb stem, not a name. Three or more capitalised words ending in a word from the lexicon name-title-head (Act, Commission) are read as a title, whatever the tagger reads the words as, and a title written once with one word one letter away from a title written twice or more (National Industrial Recover Act and National Industrial Recovery Act) is reported.
|
|
106
|
+
ja: 品詞解析が固有名詞と読んだ語だけを見ます。大文字だけの名前(ACME INC、NASA)と、大文字で書いた一節の中の名前(eGAIN AND ITS SUPPLIERS … の eGAIN)は見ません。略語の後ろの括弧の中で、大文字の字が略語をつづる語(axle (Axis-guided eXperience ELicitation) の ELicitation)も見ません。リンクの角括弧は名前に入れません。一字違いの英字の名前は、6 字以上で、多いほうが二度以上、少ないほうが一度だけのときに限ります(Iran と Iraq は別の名前)。名の違う二人の一字違いの姓(Jeffrey D. Walker と Christopher J. Waller)は別の人です。終わりの重なった字の一つの有る無し(License と Licensee)は、どちらかを文書が小文字で書くなら別の語です。人の名前どうしは、字体の違う同じ字(斎藤 と 斉藤、渡辺 と 渡邊)か、読みが同じで一字だけ違い、多いほうが二度以上、少ないほうが一度だけのとき(松本 と 松元)に限ります(伊藤 と 伊東 は別の人のことがある)。解析器が読みを持たない名前の字(健汰 の 汰)は、語彙表 name-char-reading の読みで読みます(健太 と 健汰。表の升の名前も同じ)。人の名前とは、品詞解析が人名と読んだ語か、「様」「さん」「氏」の付いた名前です(解析器が名前と読めない字体の字を含む名前は、敬称の前の 2〜4 字の漢字を名前と読みます)。敬称は名前とのあいだの空白を越えて見ます。品詞解析が名と読まない語も、姓のあとに空白を挟んで書き、敬称が付けば名と読みます(森下 千尋 様)。姓の後ろに空白を挟んでかなで書いた名も、敬称か肩書きが付くか、人を書く欄の行の終わりにあれば、姓とつないで一つの名前と読みます(松本 あかり 様)。敬称の無い名前も、前後に漢字が続かない 2〜4 字の漢字で、片方の書き方に「担当の」「私、」などの前置きか敬称が付き、もう片方が「です」「が」「までご連絡」などの前にあれば比べます(担当の斎藤です と 斉藤までご連絡ください)。地名にも同じ組がある(鹿島 と 鹿嶋)ので、どちらにも前置きも敬称も無いときは比べません。会社の名前は、語彙表の会社の種類の語(株式会社、(株)、有限会社)の隣にあるものを、品詞と関係なく比べます。名前が同じで種類の語が違うもの(株式会社 と 有限会社)、種類の語を名前の反対側に置いたもの(株式会社アオバ と アオバ株式会社)、記号・幅だけが違うものを指します。三つ以上の種類の語で書いた名前(Aoba Inc、Aoba Ltd、Aoba GmbH)は会社のグループで、種類の違いは比べません。同じ種類の語の略した形(株式会社 と (株))、種類の語を省いた呼び名(アオバシステム、以下「アオバ」)は指しません。名前の一字違いは、7 字以上の名前で、違う字が漢字でないときに限ります(日本電気 と 日本電機 は別の会社のことがある)。漢字を含む名前は、7 字に満たなくても、4 字以上のかなの語の中のかな一字違いを、多いほうが二度以上、少ないほうが一度だけのときに指します(コモレビ電機 と コモレピ電機)。名前の漢字一字を、品詞解析が言うその読みのかなで書いた所(みどり野生命 と みどりの生命)も、多いほうが二度以上、かなのほうが一度だけのときに指します。読みは、かなと漢字一字の語からだけ取ります。名前の頭でない字は、頭の音を濁らせた読みで書いたもの(こむぎ畑 と こむぎばたけ)も同じに指します。漢字だけの名前は、品詞解析が固有名詞と読んだときだけ会社の名前と見ます(清算株式会社、当該株式会社)。場所の名前は、語彙表の場所の語(口、駅、センター、ホール)で終わる名前を、品詞と関係なく比べます。記号・幅だけが違うもの(コンベンションセンター と コンベンション・センター)を指し、名前の読みが同じかかなで書いた読みのもの(筑紫口 と ちくし口)と、固有名詞の字の一字違い(八重洲中央口 と 八重州中央口)は、多いほうが二度以上、少ないほうが一度だけのときに限ります。方角や数字の違い(北口 と 南口、第1会議室 と 第2会議室)は別の所なので指しません。表の升は升ごとに品詞解析し、名前の形をした升(空白を挟んだ二つか三つの漢字・カタカナの語)を本文の名前と比べます。記号・幅だけの違い(佐々木 美穂 と 佐々木 美穂)と、本文と同じく読みが同じで一語だけ違うもの(佐々木 美穂 と 佐々木 美保)を指し、後者は本文の形が二度以上、升の形が一度だけのときに限ります。読みの違う一字違い(佐藤 太郎 と 佐藤 次郎)は別の人のことが多いので指しません(英字の名前は一字違いも指します)。場所の名前は表の升の中のものも比べます。英字の人の名前は、名が同じで、7 字以上の姓の頭 4 字以上がそろい、あいだの 2 字(長いほうは 3 字)までだけ違うもの(Rachel Whitford と Rachel Whitfield)も、多いほうが二度以上、少ないほうが一度だけのときに指します。語の順を入れ替えた名前(統計学基礎 と 基礎統計学)は、同じ語(形態素)を違う順に並べ、どちらも他方を含まず、どちらかが括弧の中か「前提科目:」のような欄の後ろか表の升まるごとに書いた名前のときだけ指します(統計学基礎 と 統計学応用 は別の名前)。同じ文に並べて書いた二つ(画面の二つの項目、定義する語とその中身)と、文書が定義した語は比べません。冠詞だけを挟んだ二つの語(this Agreement the Stockholders)は一つの名前にしません。製品の名前は、語彙表の製品の形の語(錠、カプセル、クリーム)のすぐ前の 4 字以上のカタカナを、品詞と関係なく比べます(見出しと表の升の中のものも数えます)。形の語が同じで、名前が一字の置き換えか長音の記号一つの有る無しだけ違い(ミナモール錠 と ミナモル錠)、多いほうが二度以上、少ないほうが一度だけのときに指します。名前が同じで形の語だけが違うもの(ミナモール錠 と ミナモール顆粒)は、同じ製品の別の形のことが多いので指しません。一語の名前の中で同じ音を書く字(桜ヶ丘・桜ケ丘、霞ヶ関・霞が関)は、漢字に挟まれたときだけ同じ字と見ます。品詞解析が一語と読まない書き方(桜・が・丘)は見ません。字を抜いた形(桜丘)や、違う漢字の名前(桜ヶ岡)は別の名前です。この違いだけは、表の升の中の名前とも比べます。型番(英大文字と数字を合わせた 4 字以上の語)は、文書の題か、語彙表の型番の欄の語(型番、品番、型式)の後ろに書いたものだけを文書の型番と読み、文書の中に二度以上出てくるとき、ハイフン・空白・字の大小・幅だけを変えた形(KM-SP300 と KM-SP-300、KMSP300、km-sp300)を指します。字や数の違う型番(KM-SP300 と KM-SP310、比べる表の兄弟機種、部品表の品番)は別の型番なので指しません。英小文字を含む語(iOS17)、版(v1.2 と v1.20)、より長い型番・URL・パス・ファイル名の一部(KM-SP300-B、km-sp300.pdf)は型番と読みません。空白で区切って書く規格の番号(JIS C 8714)は一つの語でないので、題や欄に書いても型番と読みません。一度ずつ書いた二つの形は、片方だけが人を書く欄(語彙表 person-label の語と「:」の後ろで、名前で行が終わるもの。氏名:山下 美咲)にあれば、欄の形を正しい形と見て、もう片方を同じ決まりで比べます(山下 美咲 と 山下 未咲)。どちらも欄にあるか、どちらも欄に無ければ比べません。欄に書いた名と同じ名を空白の後ろに書いたもの(受託者:西村 亮 の文書の 西邑 亮が)は、敬称が無くても人の名前と読みます。読みの違う一字違いでも、姓と名のそろった名前で、違う二字が語彙表 name-lookalike-char の形の似た字の組(太 と 大、未 と 末)なら、多いほうが二度以上、少ないほうが一度だけのときに指します(山本 健太 と 山本 健大。名だけの名前は兄弟のことがあるので比べません)。英字の名前で、ほかの語が同じ二語以上の名前の一語が、終わりの一字の抜けか足しだけ違うもの(Rachel Whitmore と Rachel Whitmor)も、多いほうが二度以上か人を書く欄にあり、少ないほうが一度だけのときに指します。違うのが最後の語(姓)なら、前の語がどれも、文書の中で小文字でも普通名詞としても書かない語のときに限り(Hurricane Hanna と Hurricane Hannah は別の嵐)、4 字の姓の一字違いも指します(Daniel Reyes と Daniel Reys。Reyes と Reyna は別の姓)。最後でない語は、8 字以上で、名前の最後の語がふつうの語のときに限ります(Hollybrook Residences と Hollybrooke Residences。人の名の Christian と Christiane は別の人)。足した字が s(複数)か母音の後ろの n(Korea と Korean)のもの、違う語のどちらかがふつうの語のもの(Green と Greene)は指しません。会社の名前は、形の語も側も同じで、一語だけが、8 字以上の語の終わりの 2 字まで違うもの(Brightmoor と Brightmore)か、最後の語の単数と複数(Water Utility と Water Utilities)も、多いほうが二度以上、少ないほうが一度だけのときに指します。一語の名前の二つがどちらも辞書の語で、片方の語尾を外した語がもう片方の頭にあるもの(民と国の Germans と Germany、単数と複数の Englishman と Englishmen)は、別の二つの語なので指しません。名簿が大文字で組んだ名前(MICHAEL T. McCAUL、SCOTT DesJARLAIS。語彙表 name-capitals-prefix の姓の頭だけを小文字で残す)は、大文字だけの名前と同じく見ません。大文字の語を含む、字の大小だけの違いが引用符の中にあれば、出典の題をそのまま写したもの("The TRIDENT Conference")なので指しません。一字違いの名前でも、語彙表 name-word-ending の言う語尾の一字だけの違い(Texan と Texas、Romano と Romans)、多いほうと同じ文に並べたもの(Constantinus と Constantius の兄弟)、違う語を文書が二度以上書くもの(Bindle のそばの Mrs. Bandle と Richard Bandle)、文か行の頭にあって、どちらも辞書の語のもの(Sprang と Spring)は指しません。一語の二つの形のうち、指す形を文書がほかで小文字で書くもの(stain のある Stain と Spain)か、多いほうの形を小文字で書き、指す形も辞書の語のもの(vigil のある Vigil と Virgil。affiliates のある Affliates は書き損じとして指します)と、複数の s の付いた大文字の略語どうし(SBLCs と SBDCs)も指しません。小文字で書く語の後ろのアポストロフィの有る無しだけの違い(Look’ee と Lookee)と、それより長いファイル名や URL の一部(Low-Tax-Rates-to-Create-American-Economic-Prosperity.pdf の American-Economic-Prosperity。Borrowmoney.com の Borrowmoney は名前)も指しません。語彙表 name-direction-word の向きの語を挟んで同じ二つを逆の順に並べた名前(ASCII to binary と binary to ASCII)は、ある向きとその逆です。漢字に挟まれた「・」は二つを並べる印です(動物園・水族館 と 動物園水族館)。同じ読みの名前でも、語彙表 name-copula に無い助動詞がすぐ後ろに続くもの(白華咲けり)は動詞の語幹で、名前ではありません。大文字で始まる三語以上で、語彙表 name-title-head の語(Act、Commission)で終わるものは、品詞解析の読みと関係なく題と読み、一度だけ書いた題が、二度以上書いた題と一語だけ一字違うもの(National Industrial Recover Act と National Industrial Recovery Act)を指します。英語の一字違いの一語の名前で、語彙表 name-count-article の冠詞(a、an)のすぐ後ろにある辞書の語(Mrs. Coiler のある文書の "A Coiner, a very good workman")は、数える普通名詞なので指しません。語彙表 name-wrong-mark の誤りの印(×、✗)のすぐ後ろに書いた形(表記の手引きの「× Rspec / ○ RSpec」)は、わざと見せた誤りなので指しません。印の後ろにだけ書いた形を多いほうとする書き分けも指しません。
|
|
107
|
+
en: Only words the tagger reads as proper nouns are checked. Names in capitals only (ACME INC, NASA) are left out, and so is a name inside a passage written in capitals (eGAIN in "eGAIN AND ITS SUPPLIERS MAKE NO WARRANTY"). So is a word whose capitals spell out an acronym in the bracket after it ("axle (Axis-guided eXperience ELicitation)"). A link's brackets are not part of a name. Names one letter apart are reported only when six letters or longer, with the usual form used at least twice and the other once (Iran and Iraq are different names). Two surnames one letter apart under different given names (Jeffrey D. Walker and Christopher J. Waller) belong to two people, and a doubled last letter dropped (License and Licensee) makes another word when the document writes either in lower case. Two Japanese person names are compared only when written with another form of the same character (斎藤 and 斉藤), or read the same with one character different, the usual form used at least twice and the other once (松本 and 松元); 伊藤 and 伊東 can be two people. A name character the tagger has no reading for (汰 in 健汰) is read with its reading from the lexicon name-char-reading (健太 and 健汰), in table cells as well. A person's name is one the tagger reads as such, or one followed by 様, さん or 氏 (when a name holds a character form the tagger cannot read, the two to four kanji before the honorific are taken as the name). The honorific may follow the name after a space. A word the tagger does not read as a given name is taken as one when it follows a surname after a space and carries an honorific (森下 千尋 様). A given name written in kana after a surname and a space is joined with the surname when an honorific or a title follows it, or when it ends a line in a field that names a person (松本 あかり 様). A name without an honorific is compared too when it is two to four kanji standing alone, one form has a lead such as 担当の or 私、 or an honorific, and the other stands before a word such as です, が or までご連絡 (担当の斎藤です and 斉藤までご連絡ください). Places have such pairs as well (鹿島 and 鹿嶋), so two forms with neither a lead nor an honorific are not compared. A company name is one next to a company form from the lexicon (Inc., Ltd., Co., Ltd., LLC), whatever the tagger reads it as. The same name with forms of two kinds (Inc. and Ltd.), and the same name written with other punctuation or width, are reported. A name written with three forms or more (Aoba Inc, Aoba Ltd, Aoba GmbH) is a group of companies, and its forms are not compared. The short and long spelling of one form (Inc and Incorporated) and a name written without its form (Aoba Systems, the "Company") are not. Two names one letter apart are reported only when seven letters or longer, with the same form, and the letter is not a kanji. A name holding kanji is compared when shorter too, for one kana apart inside a kana word of four or more (コモレビ電機 and コモレピ電機), with the usual form used at least twice and the other once. One kanji of a name written in its kana reading (みどり野生命 and みどりの生命) is reported the same way; the reading is the tagger's, taken only from a word of kana and one kanji. A kanji that does not start the name is also matched with its reading voiced at the start (こむぎ畑 and こむぎばたけ). A place name is one ending in a place word from the lexicon (Street, St., Avenue, Station, Center), whatever the tagger reads it as. The same place written with other punctuation (King's Cross and Kings Cross) or with the place word short and long (11th Street and 11th St.) is reported; a place whose name is one letter away (Union Station and Unoin Station) only when the usual form is used at least twice and the other once. Other numbers and other names (1st Street and 2nd Street, North Hall and South Hall) are different places. Table cells are tagged cell by cell, and a cell holding only a name (two to four capitalised words, or two or three kanji or katakana words with a space) is compared with the names read in the prose. Reported are the same name with other punctuation or case, or one word different with the other words the same, either a letter away (Sofia Mendes in the text, Sofia Mendez in the table) or, for a Japanese name, read the same as the prose name (佐々木 美穂 and 佐々木 美保); these only when the prose form is used at least twice and the cell form once. Place names inside table cells are compared too. A word next to a name that the tagger did not read as a name (to Rachel Whitford, with Rachel read as a verb) is read with it when the two together are read as a name elsewhere. Two names with the same given name and a surname of seven letters or more, whose first four letters match and which differ in at most two letters between the shared start and end (three in the longer one), are reported when the usual form is used at least twice and the other once (Rachel Whitford and Rachel Whitfield). A different given name (Daniel Whitfield) or a surname alone is not compared this way. A name with its words in another order (Foundations of Statistics and Statistical Foundations) is reported only when both hold the same words (by stem) and neither contains the other, and one of them is written as a name, in quotation marks, after a label such as "Prerequisite" and a colon, or as a whole table cell. Two Title Case runs alone are not compared (Florida Supreme Court and Supreme Court of Florida), nor are two names joined by "and", two forms written in one sentence (two menu labels side by side, a term and its definition), or a term the document defines. An article alone does not join two words into a name ("this Agreement the Stockholders"). In Japanese, a product name is four or more katakana right before a product-form word from the lexicon (錠, カプセル, クリーム), whatever the tagger reads it as, counted in headings and table cells as well. Two such names with the same form word, differing by one replaced kana or one long-vowel mark (ミナモール錠 and ミナモル錠), are reported when the usual form is used at least twice and the other once. The same name with another form word (ミナモール錠 and ミナモール顆粒) is not, as a product line often has both. In a Japanese name, a character for the same sound (桜ヶ丘 and 桜ケ丘, 霞ヶ関 and 霞が関) is the same only between two kanji, in a name the tagger reads as one word (not 桜が丘, read as 桜, が, 丘). A name without it (桜丘) or with other kanji (桜ヶ岡) is another name. This difference alone is also looked for in the names inside table cells. A model number (four or more capitals and digits, as one word) is read as the document's model only when it is in the title or after a model label from the lexicon (Model, Model No., Part No.); when it appears twice or more, a form that changes only hyphens, spaces, case or width (KM-SP300 and KM-SP-300, KMSP300, km-sp300) is reported. Codes with other letters or digits (KM-SP300 and KM-SP310, a sibling model in a comparison table, the part numbers of a parts list) are different models and are not compared. A word with small letters (iOS17), a version (v1.2 and v1.20), and a code inside a longer code, a URL, a path or a file name (KM-SP300-B, km-sp300.pdf) are not read as model numbers. A standard number written with spaces (JIS C 8714) is not one word, so it is not read as a model even in the title or after a label. Two forms written once each are compared when exactly one of them is in a field that names a person (a label from the lexicon person-label and a colon, with the name ending the line, as in "Contractor:" followed by Priya Raman); the field's form is taken as the usual one and the other is held to the same rules (Priya Raman and Priya Rahman). Two forms both in such fields, or neither, are not compared. Read differently, two full names (surname and given name) are still reported when they differ by one character and the two characters are a lookalike pair from the lexicon name-lookalike-char (太 and 大, 未 and 末), with the usual form used at least twice and the other once (山本 健太 and 山本 健大); a given name alone is not compared this way, as siblings can have such names. In a Latin-script name of two or more words with the other words the same, one word with its last letter dropped or added (Rachel Whitmore and Rachel Whitmor) is reported when the usual form is used at least twice, or is in a field that names the person, and the other once. When that word is the last one (the surname), only if no word before it is written in lower case, or read as a common noun, anywhere in the document (Hurricane Hanna and Hurricane Hannah are two storms); a surname of four letters is then also compared for one letter apart (Daniel Reyes and Daniel Reys; Reyes and Reyna are different surnames). Another word is compared only when eight letters or longer and the name ends in an ordinary word (Hollybrook Residences and Hollybrooke Residences; the given names Christian and Christiane belong to different people). An added s (a plural) or an n after a vowel (Korea and Korean), and a pair where either word is an ordinary word (Green and Greene), are not reported. Two company names with the same form on the same side, differing in one word only, by at most its last two letters in a word of eight or more (Brightmoor and Brightmore) or as the singular and plural of the last word (Water Utility and Water Utilities), are reported when the usual form is used at least twice and the other once. Two one-word names that are both dictionary words, where one with its ending taken off starts the other (a people and its country, Germans and Germany; a singular and its plural, Englishman and Englishmen), are two words and are not reported. A name set in capitals as a roster sets it, with only a surname prefix from the lexicon name-capitals-prefix kept small (MICHAEL T. McCAUL, SCOTT DesJARLAIS), is left out like a name in capitals. A difference of case alone, in a form holding a word in capitals inside quotation marks, is a cited title kept as published ("The TRIDENT Conference") and is not reported. Two names one letter apart are not reported when they differ only in a last letter that the lexicon name-word-ending calls another form (Texan and Texas, Romano and Romans), when the usual form stands in the same sentence (Constantinus and Constantius, two brothers), when the document writes the differing word twice or more (Mrs. Bandle and Richard Bandle beside Bindle), or when the form starts a sentence or a line and both are dictionary words (Sprang and Spring). Nor are two one-word forms when the document writes the pointed form in small letters elsewhere (Stain beside stain and Spain), or writes the usual form so and the pointed form is a dictionary word too (Virgil beside Vigil and vigil; Affliates beside affiliates is still a slip), or two acronyms in capitals with a plural s (SBLCs and SBDCs). A contraction printed with and without its apostrophe after a word the document writes in small letters (Look’ee and Lookee), and a form inside a longer file name or a URL (American-Economic-Prosperity in Low-Tax-Rates-to-Create-American-Economic-Prosperity.pdf, but not Borrowmoney in Borrowmoney.com), are not reported. Two names with the same two sides in the two orders around a direction word from the lexicon name-direction-word (ASCII to binary, binary to ASCII) are a direction and its inverse. ・ between two kanji lists two things (動物園・水族館 beside 動物園水族館). A Japanese name read the same that stands right before an auxiliary not in the lexicon name-copula (白華咲けり) is a verb stem, not a name. Three or more capitalised words ending in a word from the lexicon name-title-head (Act, Commission) are read as a title, whatever the tagger reads the words as, and a title written once with one word one letter away from a title written twice or more (National Industrial Recover Act and National Industrial Recovery Act) is reported. A form right after a wrong mark from the lexicon name-wrong-mark (×, ✗), as a style guide lists "✗ Rspec / ✓ RSpec", is a wrong spelling shown on purpose and is not reported, nor is a form whose usual one is written only after such a mark. A one-word form one letter away that is a dictionary word right after an article from the lexicon name-count-article (a, an) is a common noun and is not reported ("A Coiner, a very good workman" beside Mrs. Coiler).
|
|
108
108
|
rewrite:
|
|
109
109
|
depth: light
|
|
110
110
|
ja:
|
|
@@ -52,8 +52,8 @@ example:
|
|
|
52
52
|
We listen to our customers. Regulars try every prototype, and store staff ask shoppers what they thought.
|
|
53
53
|
|
|
54
54
|
not_flagged:
|
|
55
|
-
ja: 一覧の飾り(各項目に付くタグやリンクの文字)、欄の名前(Cited by:)、かぎ括弧で引いた題や言葉、文書が定義した語と、名前にかかる語句は数えません。英語の、名詞と形容詞と略語だけが並ぶ用語(the federal funds rate、extended AI assistant)は言い回しではないので数えません。一つの文の中の繰り返しは 1 回と数えます。文書の題と見出しにある言い回しは主題なので数えません。よくある質問の答えは、問いの見出しごとに別々に数えます。節の最初の文にある言い回し(節ごとのひな形の書き出し)、番号を振った項目の見出し((1)…に係る規定に関する改正)、参照の項目の説明の段落(`max-age`
|
|
56
|
-
en: Tags, link text and symbols that a listing repeats on every entry, field labels (Cited by:), titles and words quoted in Japanese brackets, terms the document defines, and the words around a repeated name are not counted. A term made only of nouns, adjectives and acronyms ("the federal funds rate", "extended AI assistant") is not a phrasing and is not counted. A phrase repeated inside one sentence counts once, and one in the document's title or headings is its subject and is not counted. The answers in a FAQ are counted one question at a time. Uses in the first sentence of sections (each section's template opening), in numbered item titles ((1) ... amendment of the provision on ...), in the first paragraph of a reference entry (a section headed `max-age`, a definition list) and in a line without a full stop that ends in a noun (a table cell) are not counted, nor a fixed closing line repeated per item at the end of a Japanese sentence (〜ものとすること。, 原案のとおり決定する。, が表示されます。,
|
|
55
|
+
ja: 一覧の飾り(各項目に付くタグやリンクの文字)、欄の名前(Cited by:)、かぎ括弧で引いた題や言葉、文書が定義した語と、名前にかかる語句は数えません。英語の、名詞と形容詞と略語だけが並ぶ用語(the federal funds rate、extended AI assistant)は言い回しではないので数えません。一つの文の中の繰り返しは 1 回と数えます。文書の題と見出しにある言い回しは主題なので数えません。よくある質問の答えは、問いの見出しごとに別々に数えます。節の最初の文にある言い回し(節ごとのひな形の書き出し)、番号を振った項目の見出し((1)…に係る規定に関する改正)、参照の項目の説明の段落(`max-age` の節、定義の並び)、句点の無い名詞で終わる一行(表の欄)に出たぶんは数えません。項目ごとの決まった結び(〜ものとすること。原案のとおり決定する。が表示されます。を記載してください。表の前の次のとおりであります。)も、文の終わりにあれば数えません。文書が引いた題の後ろで決まって使う短い結び(詳しくは「…」を確認してください。)、文書の部分を指す名前(Section 3.1、表2)にかかる語句、表の欄が 2 つ続いた後ろの一行の文(表の行の最後の欄)も数えません。枠ごとにまったく同じ形で付けるコロンで終わる一行の札(The following rule has the force of law:)、平文の仕様書の定義の並びの項目(行の頭の短い名前とコロンのあとに空白を 2 つ置いて書く定義)、リンクのすぐ後ろで決まって使う結び([…](…)を参照してください。)、数字だけを入れ替えた報告の行(There are currently 17 committers …)も、書き手の言い回しではないので数えません。英語で、名詞の入る所の -ing 形の句(what occupying the anticipatory mode requires)と、用語の後ろの be(the anticipatory mode is)は用語で、言い回しではありません。手順書が手順ごとに役割を名指しする、名詞の主語と助動詞だけの語句(the manager should)も、何をするかが毎回違うので数えません。長い文書の中で何千語も離れて使う語句(報告が測る出来事の名前 adopted a budget resolution)は、前の出現を覚えているうちに次が来ないので数えません。見出しが名付けた句に前後の語が 1 つ付いただけの語句(見出し Create a ConfigMap の下の to create a ConfigMap、見出し 旧氏を併記した場合 の下の 旧氏を併記した氏名)も主題で、数えません。角括弧でくくった画面の部品の名前に付いた語句([許可]をクリックすると、[ブックマーク]をクリックすると)は、手順ごとに違う部品を指す書き方で、数えません。中黒で並べた名詞を飾る節(育成すべき資質・能力)も、文書の決まった用語で、言い回しではありません。短い文書は測りません。見出しが一つの複合語に書いた主題を、本文が助詞を入れて書いた語句(見出しの「旧氏併記」に対する「旧氏を併記した氏」)も、主題なので数えません。
|
|
56
|
+
en: Tags, link text and symbols that a listing repeats on every entry, field labels (Cited by:), titles and words quoted in Japanese brackets, terms the document defines, and the words around a repeated name are not counted. A term made only of nouns, adjectives and acronyms ("the federal funds rate", "extended AI assistant") is not a phrasing and is not counted. A phrase repeated inside one sentence counts once, and one in the document's title or headings is its subject and is not counted. The answers in a FAQ are counted one question at a time. Uses in the first sentence of sections (each section's template opening), in numbered item titles ((1) ... amendment of the provision on ...), in the first paragraph of a reference entry (a section headed `max-age`, a definition list) and in a line without a full stop that ends in a noun (a table cell) are not counted, nor a fixed closing line repeated per item at the end of a Japanese sentence (〜ものとすること。, 原案のとおり決定する。, が表示されます。, を記載してください。, 次のとおりであります。 before a table). Nor are the short closing a document uses mostly right after a quoted title (詳しくは「…」を確認してください。), the words around a reference to a numbered part (set out in Section 3.1, 表2), or a one-line sentence after two table cells (the last cell of a table run into lines). Nor are a one-line label ending in a colon repeated verbatim before each box (The following rule has the force of law:), an entry of a plain-text definition list (a short name, a colon and two spaces, then the definition), the short closing a document uses mostly right after a link ([…](…)を参照してください。), or a report line filled in with different numbers (There are currently 17 committers …). In English, an -ing phrase in a noun's place (what occupying the anticipatory mode requires) and a term followed by be (the anticipatory mode is) are terms, not phrasing. Nor is a noun subject followed only by a modal (the manager should), the way a process manual names the role for each step, since what the role must do follows and differs each time. A phrase whose uses lie thousands of words apart in a long document (the event a report times, adopted a budget resolution) is not counted, since the reader has forgotten one use before the next comes. A phrase that is a heading's phrase with a word attached (to create a ConfigMap under the heading Create a ConfigMap, 旧氏を併記した氏名 under 旧氏を併記した場合) is the subject too, and is not counted. In Japanese, the words attached to a bracketed screen label ([許可]をクリックすると) are the step wording of a screen manual, each naming a different button, and are not counted. In Japanese, a clause modifying nouns joined by a nakaguro (育成すべき資質・能力) is part of one fixed term, not phrasing. Short documents are not measured. Nor is a Japanese phrase that spells out with particles a compound a heading names (旧氏を併記した氏 under a heading holding 旧氏併記), since it is the subject.
|
|
57
57
|
level_meaning:
|
|
58
58
|
ja: 同じ言い回し {limit} 回まで
|
|
59
59
|
en: up to {limit} uses of the same phrase
|
|
@@ -42,8 +42,8 @@ example:
|
|
|
42
42
|
after: 本社営業部にある第二課の方針を確認しました。
|
|
43
43
|
|
|
44
44
|
not_flagged:
|
|
45
|
-
ja: 読点で区切った並び、=・:・→ で区切った句、「」や『』の中の題名や引用、行の頭のリンクで引いた外のページの題名、文の中に書いた法律の題名(障害者等の移動等の円滑化の促進に関する法律)、短い呼び名を付けた長い名前(被害者のための相談センター(以下「センター」という。))、文書が一度鉤括弧で引いた名前を括弧なしで書き直したもの(「地域のための共通の指針」と引いた後の、地域のための共通の指針の改定)は数えません。括弧(】や ))は、解析器が次の語とつなげて読んでも連なりを切ります。人の集まりを敬って呼ぶ語の前の「の」も、その呼び方が「の」で次の語に係るとき(国民の皆様の期待、被災者の方々の暮らし)は一つの呼び方の中なので数えません。置き場所を前の語との関係で言う語(下、上、横、裏)の前の「の」も、その場所が「の」で次の語に係るとき(ラックの下の段)は一つの場所の名前の中なので数えません。決まった言い回しの中の「の」(絶滅のおそれのある種の「おそれのある」、AとB
|
|
46
|
-
en: Items separated by commas, phrases separated by =, a colon or an arrow, titles or quotations inside 「」 or 『』, the title of an outside page quoted by a link at a line's head, the title of a law written in the sentence (障害者等の移動等の円滑化の促進に関する法律), a long name given a short one (被害者のための相談センター(以下「センター」という。)), a name the document quotes once and writes again without brackets, and the の before an honorific for a group of people when that form of address goes on with の (国民の皆様の期待, 被災者の方々の暮らし), are not counted. Nor is the の before a word that places something against another (下, 上, 横, 裏) when the place goes on with の (ラックの下の段, the shelf under the rack). Nor is the の inside a set phrase read as one word (おそれのある, "at risk of", in 絶滅のおそれのある種; との間, "between", in AとB
|
|
45
|
+
ja: 読点で区切った並び、=・:・→ で区切った句、「」や『』の中の題名や引用、行の頭のリンクで引いた外のページの題名、文の中に書いた法律の題名(障害者等の移動等の円滑化の促進に関する法律)、短い呼び名を付けた長い名前(被害者のための相談センター(以下「センター」という。))、文書が一度鉤括弧で引いた名前を括弧なしで書き直したもの(「地域のための共通の指針」と引いた後の、地域のための共通の指針の改定)は数えません。括弧(】や ))は、解析器が次の語とつなげて読んでも連なりを切ります。人の集まりを敬って呼ぶ語の前の「の」も、その呼び方が「の」で次の語に係るとき(国民の皆様の期待、被災者の方々の暮らし)は一つの呼び方の中なので数えません。置き場所を前の語との関係で言う語(下、上、横、裏)の前の「の」も、その場所が「の」で次の語に係るとき(ラックの下の段)は一つの場所の名前の中なので数えません。決まった言い回しの中の「の」(絶滅のおそれのある種の「おそれのある」、AとBとの間の「との間」、共有のような現代の機能の「のような」)も、一語のように読むので数えません。「他の」の「の」も、名詞を名詞の中に入れず絞るだけなので数えません。「の」が節の主語を示すとき(番号のついた版の部品)は、節の前と後ろを別の句として数え、どちらかが上限を超えるときだけ言います。表を一続きの文に平らにしたもの(セルの数字がつながった 8,45795.7 や、見出しのセルが単位の括弧で閉じる 割合(%)被所有割合(%)…)は、セルの切れ目が見えないので数えません。
|
|
46
|
+
en: Items separated by commas, phrases separated by =, a colon or an arrow, titles or quotations inside 「」 or 『』, the title of an outside page quoted by a link at a line's head, the title of a law written in the sentence (障害者等の移動等の円滑化の促進に関する法律), a long name given a short one (被害者のための相談センター(以下「センター」という。)), a name the document quotes once and writes again without brackets, and the の before an honorific for a group of people when that form of address goes on with の (国民の皆様の期待, 被災者の方々の暮らし), are not counted. Nor is the の before a word that places something against another (下, 上, 横, 裏) when the place goes on with の (ラックの下の段, the shelf under the rack). Nor is the の inside a set phrase read as one word (おそれのある, "at risk of", in 絶滅のおそれのある種; との間, "between", in AとBとの間; のような, "like", in 共有のような現代の機能), nor the の of 他の ("other"), which narrows the noun rather than nesting it. When の marks the subject of a clause (番号のついた版の部品, the part of the version that has a number), the phrases before and after the clause are counted apart, and the run is reported only when one of them goes over the limit. Nor is a table flattened into one run of text (numbers of two cells run together, 8,45795.7, or header cells each closed by a unit in brackets, 割合(%)被所有割合(%)…), whose cell boundaries cannot be seen. A bracket (】 or ")") ends the run even when the parser joins it to the next word.
|
|
47
47
|
level_meaning:
|
|
48
48
|
ja: 同じ助詞の連続 {limit} 回まで
|
|
49
49
|
en: up to {limit} of the same particle in a row
|
|
@@ -16,6 +16,7 @@ extra_word_lists:
|
|
|
16
16
|
declaration-particle,
|
|
17
17
|
declaration-ending,
|
|
18
18
|
takeup-opener,
|
|
19
|
+
address-particle,
|
|
19
20
|
quote-label,
|
|
20
21
|
interviewer-mark,
|
|
21
22
|
]
|
|
@@ -66,8 +67,8 @@ example:
|
|
|
66
67
|
新しい料金は来月から始まります。請求書の形式も変わります。支払いの期限は月末です。古い料金は三月で終わります。
|
|
67
68
|
|
|
68
69
|
not_flagged:
|
|
69
|
-
ja: どちらの調子が正しいかは決めません。多いほうに揃っていない、少ないほうの文だけを指します。文書の中で二つの調子が同じ数なら、揃える先の多いほうが無いので、どちらも指しません。本文と箇条書きは別々に数えます。箇条書きの中の少ないほうが文書全体では多いほうなら、その文は指しません。項目や段落の頭の太字の札(「- **速く書ける。** 説明です。」の「速く書ける。」)は見出しと同じく文に数えません。免責や変更の予告を書いた段落(「…ご了承ください。」)が、2 文以上すべて文書の多いほうと違う同じ調子でそろっているときも、本文とは別の決まり文句として数えません。読み手の相談や質問を載せる節(見出しが「【相談事例等】」「ご質問内容」)の文も、尋ねた人の言葉のままなので数えません。文書の最後に掲載先が付けた利用条件の断り書き(ライセンスの名前と条件の URL を書いた短い段落)も数えません。札を付けて引いた言葉(「例:」「Q:」で始まる文、「用例」だけの段落の下の段落)、「■ 調査目的」のような印付きの札の行の下の記入欄の値、〒や「電話:」の行がある問い合わせ先の段落、一つの文の中に「?」で並べて引いた問い(…一覧か?順序付きか?などです。)、一番上の見出し(#)が二つ以上ある文書で、その見出しの下の 2 文以上がみな文書の多いほうと違う同じ調子でそろった部分(通達の後ろに付いた、ページの説明)も数えません。見出しが無くても、文書の多いほうの最後の文より後ろの 2 文以上がみな違う同じ調子でそろい(その調子の文がそれより前に無く)、その間に調子を持たない行(「第1」のようなリンクの並び)を挟むときは、ページの後ろの注記として数えません。数えたうえで指さないのは、丁寧な形でしか言わない挨拶(お疲れ様でした。)と結びの頼み(承認をお願いします。)、相手への願い(信じてほしい。)、条件だけで問う文(…だったら?)、演説で主語を言わずに決意を言い切る文(戦争の惨禍を、二度と繰り返さない。)、演説でこれから成し遂げることを「〜を…ていく。」と言い切る文(現場の気づきを、幹部の皆さんが形にしていく。)、次の文が「そんな」「こんな」「これだけで」で受ける場面や行いの書き出し(PDF
|
|
70
|
-
en: Neither register is called right; only the sentences in the minority are pointed at. When the document holds as many sentences in one register as in the other, there is no majority to match and neither side is pointed at. The body and each list are counted apart, and a sentence in a list's minority is left alone when its register is the document's majority. A bold label that opens an item or a paragraph and is followed by more text on its line is a heading, not a sentence. A paragraph of disclaimer or notice wording (…ご了承ください。) whose two or more sentences all share the register the rest of the document does not use is boilerplate in its own voice and is not counted. Nor are the sentences of a section whose heading names what a reader asked (【相談事例等】, ご質問内容), since they quote the asker in their own words. Nor is a licence notice the publisher appends at the end (a short closing paragraph that names a licence and links to its terms). Nor are words quoted under a label (a sentence opening with 例: or Q:, the paragraph under a lone 用例), the value under a marked field label (■ 調査目的), a contact block (a paragraph with a 〒 or 電話: line), questions run together inside one sentence (…一覧か?順序付きか?などです。), or, in a document with two top-level (#) headings or more, a part under one of them whose two or more sentences all share the register the rest of the document does not use (a page's note about the directive it carries). Nor, without such a heading, are the two or more sentences after the last one in the document's register when they all share the other register, used nowhere before them, and a line without a register (links such as 第1) sits among them (a page's note under the text it carries). Counted but never pointed at are a greeting or a closing request said only politely (お疲れ様でした。承認をお願いします。), a wish to others (信じてほしい。), a question that gives only a condition (…だったら?), a speaker declaring a resolve without a subject in a speech (戦争の惨禍を、二度と繰り返さない。), a speaker stating in a speech what is to be carried out, ending in 〜ていく with an object (現場の気づきを、幹部の皆さんが形にしていく。), a scene-setting opener the next sentence takes up with そんな, こんな or これだけで, a cry that ends in an exclamation mark (わかるかっ!), a note on a line opening with
|
|
70
|
+
ja: どちらの調子が正しいかは決めません。多いほうに揃っていない、少ないほうの文だけを指します。文書の中で二つの調子が同じ数なら、揃える先の多いほうが無いので、どちらも指しません。本文と箇条書きは別々に数えます。箇条書きの中の少ないほうが文書全体では多いほうなら、その文は指しません。項目や段落の頭の太字の札(「- **速く書ける。** 説明です。」の「速く書ける。」)は見出しと同じく文に数えません。免責や変更の予告を書いた段落(「…ご了承ください。」)が、2 文以上すべて文書の多いほうと違う同じ調子でそろっているときも、本文とは別の決まり文句として数えません。読み手の相談や質問を載せる節(見出しが「【相談事例等】」「ご質問内容」)の文も、尋ねた人の言葉のままなので数えません。文書の最後に掲載先が付けた利用条件の断り書き(ライセンスの名前と条件の URL を書いた短い段落)も数えません。札を付けて引いた言葉(「例:」「Q:」で始まる文、「用例」だけの段落の下の段落)、「■ 調査目的」のような印付きの札の行の下の記入欄の値、〒や「電話:」の行がある問い合わせ先の段落、一つの文の中に「?」で並べて引いた問い(…一覧か?順序付きか?などです。)、一番上の見出し(#)が二つ以上ある文書で、その見出しの下の 2 文以上がみな文書の多いほうと違う同じ調子でそろった部分(通達の後ろに付いた、ページの説明)も数えません。見出しが無くても、文書の多いほうの最後の文より後ろの 2 文以上がみな違う同じ調子でそろい(その調子の文がそれより前に無く)、その間に調子を持たない行(「第1」のようなリンクの並び)を挟むときは、ページの後ろの注記として数えません。数えたうえで指さないのは、丁寧な形でしか言わない挨拶(お疲れ様でした。)と結びの頼み(承認をお願いします。)、相手への願い(信じてほしい。)、条件だけで問う文(…だったら?)、演説で主語を言わずに決意を言い切る文(戦争の惨禍を、二度と繰り返さない。)、演説でこれから成し遂げることを「〜を…ていく。」と言い切る文(現場の気づきを、幹部の皆さんが形にしていく。)、次の文が「そんな」「こんな」「これだけで」で受ける場面や行いの書き出し(PDFが送れない。そんなときは…)、「!」で終わる叫び(わかるかっ!)、読み手に呼びかける終助詞「よ」「ね」「かな」で終わる文(…含まれているよ。…のかな?)、※や*で始まる行の注記、文で終わらない行の塊に前後を挟まれた表のセル(制限なし。)、インタビュー(見出しの節の半分以上が聞き手の「――」の問いで始まる文書)の答えの段落の文です。答えは話した言葉を書き起こしたもので、話し手は丁寧な文と常体の文を混ぜて話します。動画の題(末尾に再生時間を括弧で書いた見出し)の下の説明も、動画の言葉のままなので数えません。
|
|
71
|
+
en: Neither register is called right; only the sentences in the minority are pointed at. When the document holds as many sentences in one register as in the other, there is no majority to match and neither side is pointed at. The body and each list are counted apart, and a sentence in a list's minority is left alone when its register is the document's majority. A bold label that opens an item or a paragraph and is followed by more text on its line is a heading, not a sentence. A paragraph of disclaimer or notice wording (…ご了承ください。) whose two or more sentences all share the register the rest of the document does not use is boilerplate in its own voice and is not counted. Nor are the sentences of a section whose heading names what a reader asked (【相談事例等】, ご質問内容), since they quote the asker in their own words. Nor is a licence notice the publisher appends at the end (a short closing paragraph that names a licence and links to its terms). Nor are words quoted under a label (a sentence opening with 例: or Q:, the paragraph under a lone 用例), the value under a marked field label (■ 調査目的), a contact block (a paragraph with a 〒 or 電話: line), questions run together inside one sentence (…一覧か?順序付きか?などです。), or, in a document with two top-level (#) headings or more, a part under one of them whose two or more sentences all share the register the rest of the document does not use (a page's note about the directive it carries). Nor, without such a heading, are the two or more sentences after the last one in the document's register when they all share the other register, used nowhere before them, and a line without a register (links such as 第1) sits among them (a page's note under the text it carries). Counted but never pointed at are a greeting or a closing request said only politely (お疲れ様でした。承認をお願いします。), a wish to others (信じてほしい。), a question that gives only a condition (…だったら?), a speaker declaring a resolve without a subject in a speech (戦争の惨禍を、二度と繰り返さない。), a speaker stating in a speech what is to be carried out, ending in 〜ていく with an object (現場の気づきを、幹部の皆さんが形にしていく。), a scene-setting opener the next sentence takes up with そんな, こんな or これだけで, a cry that ends in an exclamation mark (わかるかっ!), a sentence that closes with a particle addressing the reader, よ, ね or かな (…含まれているよ。…のかな?), a note on a line opening with ※ or *, a table cell set out between runs of lines that do not end as sentences (制限なし。), and the sentences of an interview's answers (in a document where at least half of the headed sections open with the interviewer's ―― question), since an answer is speech set down and a speaker mixes polite and plain sentences. Nor is the caption under a video's title (a heading ending with its running time in brackets), which is in the video's own words.
|
|
71
72
|
level_meaning:
|
|
72
73
|
ja: 少ないほうの調子の文が {limit} 文以下のとき、それを指摘
|
|
73
74
|
en: reported when the minority register has {limit} sentences or fewer
|
|
@@ -56,8 +56,8 @@ example:
|
|
|
56
56
|
Send the form by email. We answer every email within a day. Attach the receipt to the email.
|
|
57
57
|
|
|
58
58
|
not_flagged:
|
|
59
|
-
ja: 読みが同じでも漢字の違う語(書く・描く)、補助動詞・形式名詞と本来の使い方の書き分け(見て下さい・資料を下さい)、書き分けが意味の違いになる語(成る・なる、言う・いう。法務のジャンルでは、法令の書き方で書き分ける 時・とき、物・もの、在る・ある も)、名詞と動詞(払込み・払い込む、申出・申し出る。辞書が名詞を動詞と読んでも)、二つの語に読める漢字の書き方(行っ は 行く とも 行う とも読み、「様を」の様は
|
|
60
|
-
en: The case of a word's first letter (Email, email; Long-Term, long-term) is not a spelling, nor is a word in capitals only (emphasis or an acronym), nor a name in capitals with an ending (SENDs, OPENed), nor the letters of an acronym picked out beside it (CLImatology next to CLIPER), nor a word inside a passage written in capitals (eGAIN in a disclaimer), nor a name coined from capitalised pieces that are not words (Medi-Cal beside medical). A name spelled with capitals (HBase) is still compared. In Japanese, words whose kanji and kana forms mean different things (成る and なる) are not compared, 方 and ほう are compared only before が or で (早いほうが), since elsewhere 方 is mostly the person (担当の方に), nor a label opening a sentence (the (答) of a Q&A), a bracketed spelling in a sentence that names other spellings ((くもり)、(曇)とも書く), kana たつ beside 立つ, since たつ is also time passing (経つ), a numeral (the 三 of 三十), kana written onto a pronoun (私みたような) or okurigana cut off a word (誂らえる); the head of a compound verb (出来上る), an adverb opening a sentence as a conjunction (――もっとも) and a katakana spelling that names a sense (モノ for goods, イヤ as the word a child says to refuse) are compared apart from the word on its own (できる, 最も, もの), and a noun joined to another by や or と (物やサービス) apart from the dependent noun (延長するもの), while the conjunction さらに、 and the adverb 更に are one word and are compared; in the legal genres each justice's separate opinion (裁判官甲の反対意見は次のとおりである。) is compared only within itself; the judging みる (〜とみられる) and いえる (〜とはいえない) are compared apart from looking and saying (資料を見る, 一概には言えない), and in the legal genres neither are 時 and とき, 物 and もの or 在る and ある, which legal drafting writes apart. A noun and a verb (払込み and 払い込む) are different words, even where the analyser reads the noun as the verb. Hyphenated words that are another word (re-sign, resign), part of an address (github.com), anything in quotation marks (single ones too, as an opinion quotes a statute over several sentences) and a phrase the writer repeats word for word from a quotation in the document, the title of an outside page quoted by a link at a line's head, an entry of a reference list and a citation written as a sentence (See Kay and King (2020), Radical Uncertainty …), the words an acronym stands for (Communication Access Realtime Translation (CART), VADER (Valence Aware Dictionary and sEntiment Reasoner)), a hashtag (#vimconf), a surname a roster sets in capitals (MICHAEL T. McCAUL), the hyphens of a capitalised name where the word is otherwise written with or without them (the Interagency Group beside inter-agency; a title in brackets, Module Three (Processor to Sub-Processor)), a Japanese reading in brackets right after a word (HTTP(えいちてぃーてぃーぴー)), a Japanese company name written with its form (青葉硝子㈱) and the team's names are not compared. Nothing is reported when the minority is more than a third. The literature preset turns it off, since old spelling belongs to its time. Nor is a kanji spelling that reads as two words (行っ, read as 行く or 行う; 様 before を, read さま) compared with the kana of the reading the tokenizer picked.
|
|
59
|
+
ja: 読みが同じでも漢字の違う語(書く・描く)、補助動詞・形式名詞と本来の使い方の書き分け(見て下さい・資料を下さい)、書き分けが意味の違いになる語(成る・なる、言う・いう。法務のジャンルでは、法令の書き方で書き分ける 時・とき、物・もの、在る・ある も)、名詞と動詞(払込み・払い込む、申出・申し出る。辞書が名詞を動詞と読んでも)、二つの語に読める漢字の書き方(行っ は 行く とも 行う とも読み、「様を」の様は さま)、同じ読みのかなが別の語になる漢字の接尾語(日照山の山と お遍路さん、Ruby用の用と 言いよう)、語末の「ー」だけの違い(katakana-long-vowel が見ます)、鉤括弧や引用符の中(判決が法令を文をまたいで引く一重の引用符も)と、引用した句を地の文でそのまま繰り返した所、行の頭のリンクで引いた外のページの題名、語の直後のふりがなの括弧の中(HTTP(えいちてぃーてぃーぴー))、会社の名前(青葉硝子㈱、株式会社の前後の名前)、施設や組織の名前(こども動物園、〜センター)、番号を付けて引いた法令の題名(愛がん動物用飼料の安全性の確保に関する法律(平成20年法律第83号))、引用のすぐ後ろの括弧の書き下し(「天子有道」(天子に道有らば))、文献一覧と文の形で書いた文献の引用、略語の元の語(Communication Access Realtime Translation (CART))、#を付けたハッシュタグ、chaff.yaml の names に書いた名前は見ません。「でもって」(以て)、「と」の後の「いたす」(議題といたします)、複合動詞の後ろの動詞(貼り付ける の 付ける)は、それだけの動詞(持つ、思いを致す、つける)と別に比べます。一語の副詞や語(ただいま、昨日来)、熟語の頭の一字の漢字(曇雨天の曇)、切られたカタカナの名前(ラオカイ のカイ)も比べません。決まった言い方(〜ばよかった、よかったら)は、形容詞の「良い」と別に比べます。「方」と「ほう」は「が」「で」の前(早いほうが)だけで比べ、人の「方」の多い所(担当の方に)は比べません。文の頭の丸括弧の印(問答の(答))、別の書き方を言う文の丸括弧の中((くもり)、(曇)とも書く。)、漢数字(三十の三)、代名詞に続けたかな(私みたような)、切られた送りがな(誂らえる)も比べません。かなの「たつ」は、時がたつにも立つにも読めるので「立つ」と比べません。複合動詞の頭(出来上る)、文の頭の接続詞(――もっとも)、意味を変えるカタカナ(品物のモノ、断る言葉のイヤ)は、それだけの語(できる、最も、もの)と別に比べます。名詞と「や」「と」で並べた語(物やサービス)は、形式名詞(延長するもの)と別に比べます。接続詞の「さらに、」と副詞の「更に」は同じ語として比べます。法務のジャンルでは、判決の裁判官ごとの意見(裁判官甲の反対意見は次のとおりである。)を、その意見の中だけで比べます。名詞に続けて書いたかなの名詞(全員ぶん)と慣用句の動詞(気をつける)、見立ての「みる」(〜とみられる、増加がみられる)と評価を言う「いえる」(〜とはいえない)は、同じ読みの語(文、名札を付ける、資料を見る)と別に比べます。英字は、頭の字の大文字小文字(Email と email)と、大文字だけの語(強調や略語)、大文字の名前に語尾が付いた語(関数名の SENDs)、名簿の大文字の名字(MICHAEL T. McCAUL)、同じ文の略語の字を示した語(CLIPER と並ぶ CLImatology)、大文字で書いた一節の中の語(免責の段落の eGAIN)、大文字で始まる語でないかけらをハイフンでつないだ名前(medical と並ぶ Medi-Cal)、大文字で始まる語を並べた名前の中のハイフン(inter-agency と並ぶ the Interagency Group、括弧に入れた題 Module Three (Processor to Sub-Processor))を書き方の違いにしません(HBase のような名前の大文字は比べます)。少ないほうが三分の一を超えるときも言いません。文学のジャンルでは既定で止めています(その時代の書き方のため)。
|
|
60
|
+
en: The case of a word's first letter (Email, email; Long-Term, long-term) is not a spelling, nor is a word in capitals only (emphasis or an acronym), nor a name in capitals with an ending (SENDs, OPENed), nor the letters of an acronym picked out beside it (CLImatology next to CLIPER), nor a word inside a passage written in capitals (eGAIN in a disclaimer), nor a name coined from capitalised pieces that are not words (Medi-Cal beside medical). A name spelled with capitals (HBase) is still compared. In Japanese, words whose kanji and kana forms mean different things (成る and なる) are not compared, 方 and ほう are compared only before が or で (早いほうが), since elsewhere 方 is mostly the person (担当の方に), nor a label opening a sentence (the (答) of a Q&A), a bracketed spelling in a sentence that names other spellings ((くもり)、(曇)とも書く), kana たつ beside 立つ, since たつ is also time passing (経つ), a numeral (the 三 of 三十), kana written onto a pronoun (私みたような) or okurigana cut off a word (誂らえる); the head of a compound verb (出来上る), an adverb opening a sentence as a conjunction (――もっとも) and a katakana spelling that names a sense (モノ for goods, イヤ as the word a child says to refuse) are compared apart from the word on its own (できる, 最も, もの), and a noun joined to another by や or と (物やサービス) apart from the dependent noun (延長するもの), while the conjunction さらに、 and the adverb 更に are one word and are compared; the set phrases 〜ばよかった (if only I had) and よかったら (if you like) are compared apart from the adjective 良い; in the legal genres each justice's separate opinion (裁判官甲の反対意見は次のとおりである。) is compared only within itself; the judging みる (〜とみられる) and いえる (〜とはいえない) are compared apart from looking and saying (資料を見る, 一概には言えない), and in the legal genres neither are 時 and とき, 物 and もの or 在る and ある, which legal drafting writes apart. A noun and a verb (払込み and 払い込む) are different words, even where the analyser reads the noun as the verb. Hyphenated words that are another word (re-sign, resign), part of an address (github.com), anything in quotation marks (single ones too, as an opinion quotes a statute over several sentences) and a phrase the writer repeats word for word from a quotation in the document, the title of an outside page quoted by a link at a line's head, an entry of a reference list and a citation written as a sentence (See Kay and King (2020), Radical Uncertainty …), the words an acronym stands for (Communication Access Realtime Translation (CART), VADER (Valence Aware Dictionary and sEntiment Reasoner)), a hashtag (#vimconf), a surname a roster sets in capitals (MICHAEL T. McCAUL), the hyphens of a capitalised name where the word is otherwise written with or without them (the Interagency Group beside inter-agency; a title in brackets, Module Three (Processor to Sub-Processor)), a Japanese reading in brackets right after a word (HTTP(えいちてぃーてぃーぴー)), a Japanese company name written with its form (青葉硝子㈱) and the team's names are not compared. Nothing is reported when the minority is more than a third. The literature preset turns it off, since old spelling belongs to its time. Nor is a kanji spelling that reads as two words (行っ, read as 行く or 行う; 様 before を, read さま) compared with the kana of the reading the tokenizer picked. Nor is a kanji suffix whose kana reading is another word (the 山 of a temple name, 日照山, beside the honorific さん; the 用 of Ruby用 beside the よう of 言いよう).
|
|
61
61
|
level_meaning:
|
|
62
62
|
ja: 少ないほうが語の {limit}% 以下のとき指摘
|
|
63
63
|
en: reported when the minority spelling is {limit}% of the word's uses or less
|
|
@@ -45,8 +45,8 @@ example:
|
|
|
45
45
|
来週は、新しい担当者の紹介、先月から続く予算の見直し、春の本社移転の準備、秋の採用計画の確認、年末の懇親会の段取りを話し合います。そのため定例会議は二時間に延長します。
|
|
46
46
|
|
|
47
47
|
not_flagged:
|
|
48
|
-
ja:
|
|
49
|
-
en: Sentences with no topic (noun + は), quotations in 「」, and distances up to the limit are not counted. When the topic gets its own predicate in an earlier clause (〜ではありませんが, 〜であって; 〜ではなく, 〜であるため, 〜は〜で with no comma between, 〜であるならば, 〜にあるところ or 〜ており followed by a clause with its own subject; a passive report 〜だと言われているが; 〜ますが or 〜ましたが with no other subject between the topic and it, followed by a clause with a subject of its own (〜が) and then a new topic, or straight away by a name as a new topic that runs to the end (〜ましたが、赤澤大臣は…); 〜ことから, 〜つつ, 〜としても or 〜こととし with no other subject between the topic and it, from the topic-clause-close word list; a circled number (③) after a predicate, where a list run into one line starts its next item; a 〜のは topic that gets its copula inside a clause という makes a noun's content, when that noun phrase ends at a comma, as in 〜来てほしいのは日本であったという調査の結果、…), the count stops at that clause's end. A later clause's subject may be a part, as in 〜のほとんどは. A は that makes an adverb of the noun before it (最後は, in the end; the words are in the topic-adverb word list) is not a topic; with a noun or の before it (交渉の最後は) it is. When a は that sets the time or the case (今夜は, 当日は, 〜ときは) is followed by another topic, the count starts from that topic. An article of a statute that a document of another kind quotes as it stands (第7条 …, the forms in the statute-article-opener word list) is not the writer's sentence and is not counted. Not used on English documents.
|
|
48
|
+
ja: 主題(名詞+は)の無い文、鉤括弧で引いたものの中、上限までの距離は見ません。主題の述語が先の節で閉じる文(「この計画は簡単ではありませんが、…」「〜であって、…」、後ろの節に別の主語がある「〜ではなく、」「〜であるため、」、読点を挟まない「〜は〜で、」「〜であるならば、」「〜にあるところ、」「〜ており、」、受け身で伝える引用「〜だと言われているが」、主題と「〜ますが、」「〜ましたが、」(打ち消しの「〜ませんが、」「〜ませんでしたが、」も)の間に別の主語が無く、その後ろが別の主語(〜が)の節を経て新しい主題に移る文か、直後に名前の新しい主題(〜ましたが、赤澤大臣は…)が立って文末まで続く文、主題が行いを名詞にしたもの(〜することは差し控えますが、…)、主題からそこまでに別の主語が無い「〜ことから、」「〜つつ、」「〜としても、」「〜こととし、」(語は語彙表 topic-clause-close)、述語の後ろに丸数字の番号(③)が来て一行に詰まった箇条の次の項目が始まるところ、「〜のは」の主題が「という」で名詞に掛かる節の中で繋辞の述語を得て、その名詞句が読点で終わるところ(〜来てほしいのは日本であったという調査の結果、…))は、その節の終わりまでを数えます。後ろの節の主語には「〜のほとんどは」も数えます。副詞になる「は」(最後は=結局のところ。語は語彙表 topic-adverb)は主題と読みません。前に名詞や「の」が付けば(交渉の最後は)主題です。時や場面を言う「は」(今夜は、当日は、〜ときは)の後ろに別の主題があれば、その主題から数えます。法令でも契約でもない文書が条文をそのまま載せた文(「第7条 …」、形は語彙表 statute-article-opener)は、書き手が直せる文ではないので数えません。英語の文書には使いません。
|
|
49
|
+
en: Sentences with no topic (noun + は), quotations in 「」, and distances up to the limit are not counted. When the topic gets its own predicate in an earlier clause (〜ではありませんが, 〜であって; 〜ではなく, 〜であるため, 〜は〜で with no comma between, 〜であるならば, 〜にあるところ or 〜ており followed by a clause with its own subject; a passive report 〜だと言われているが; 〜ますが or 〜ましたが (or the negative 〜ませんが, 〜ませんでしたが) with no other subject between the topic and it, followed by a clause with a subject of its own (〜が) and then a new topic, or straight away by a name as a new topic that runs to the end (〜ましたが、赤澤大臣は…), or always when the topic is an act made a noun (〜することは差し控えますが、…); 〜ことから, 〜つつ, 〜としても or 〜こととし with no other subject between the topic and it, from the topic-clause-close word list; a circled number (③) after a predicate, where a list run into one line starts its next item; a 〜のは topic that gets its copula inside a clause という makes a noun's content, when that noun phrase ends at a comma, as in 〜来てほしいのは日本であったという調査の結果、…), the count stops at that clause's end. A later clause's subject may be a part, as in 〜のほとんどは. A は that makes an adverb of the noun before it (最後は, in the end; the words are in the topic-adverb word list) is not a topic; with a noun or の before it (交渉の最後は) it is. When a は that sets the time or the case (今夜は, 当日は, 〜ときは) is followed by another topic, the count starts from that topic. An article of a statute that a document of another kind quotes as it stands (第7条 …, the forms in the statute-article-opener word list) is not the writer's sentence and is not counted. Not used on English documents.
|
|
50
50
|
level_meaning:
|
|
51
51
|
ja: 主題から述語まで {limit} 字まで
|
|
52
52
|
en: up to {limit} characters between the topic and the predicate
|
|
@@ -93,8 +93,8 @@ example:
|
|
|
93
93
|
after: Our key goal indicator (KGI) this term is to reach product-market fit (PMF).
|
|
94
94
|
|
|
95
95
|
not_flagged:
|
|
96
|
-
ja: 誰でも知っている略語(URL、PDF など)と、前後の括弧で説明した略語、会社の名前の中の英字(㈱ADEKA、CO.,LTD.)は指しません。ひな形の名前の置き場所(OOOO、XX 月)と、外のページへのリンクを並べた一覧の題名の中の略語も指しません(題名の略語は数には入れます)。大文字の違うだけの書き方で説明した略語(TCoP と TCOP)、略語を話題にする文で語に書き出した略語(略語の DOB … date of birth)、一覧で語のすぐ下にその語を名指すリンクを入れ子にした語(- GPL の下の GNU General Public License)も指しません。判例の引用の中の当事者と裁判所の名前(Ashwander v. TVA, 297 U.S. 288、MCI Telecomms. Corp. v. AT&T、(SDNY 1952))、引用の中の行政機関の事件番号(NOV/CFA 01-01)も指しません(引用の略語は数には入れます)。判決の頭の MR. JUSTICE も指しません。括弧の中で略語に「or」で別の呼び名を添えたもの(Department of Health and Human Services (HHS or the Department))、ハイフンで繋いだ字まで名前と揃うもの(Agency for Health (ARPA-H))は説明したと読み、メールアドレスの中の英字(OASH-RFI@hhs.gov)は略語と読みません。文書の中に書いた ABNF の文法の規則の名前と値(CRLF、%x0D)、等級の並び(A と AA)、番号で引く官報や判例集(80 FR 66128、2022 WL 4447293)、日付の付いた識別子の前の種類(WD WD-ABC1-20200101)、PO Box の PO も指しません。文献を引いて始まる注(1. See L. Summers (2015), "…," IMF Economic Review)の中の略語は、引いた文献の題名や誌名の書き方なので指しません(数には入れます)。角括弧の見出しで始まる文献の項目([FETCH] WHATWG,
|
|
97
|
-
en: Common acronyms (URL, PDF), acronyms spelled out in brackets next to them, and the letters of a company name (㈱ADEKA, CO.,LTD.) are not reported. Neither are a template's placeholders (OOOO, XX 月) or an acronym in the title of a page in a list of links (it still counts towards the limit). Nor are an acronym explained under another capitalisation (TCoP, then TCOP), one a sentence about the abbreviation writes out (the abbreviation DOB … date of birth), or a term in a list whose nested link names it (- GPL above GNU General Public License). Nor are the parties and courts of a case citation (Ashwander v. TVA, 297 U.S. 288; MCI Telecomms. Corp. v. AT&T; (SDNY 1952)), an agency's docket number in a citation (NOV/CFA 01-01); a citation's acronyms still count towards the limit. Nor is the MR. JUSTICE that opens a line of an opinion. An acronym given another name after "or" in its parenthesis (Department of Health and Human Services (HHS or the Department)) or spelled out with its hyphened letter (Agency for Health (ARPA-H)) counts as expanded, and the letters of an email address (OASH-RFI@hhs.gov) are not an acronym. Nor are the rule names and values of an ABNF grammar in the text (CRLF, %x0D), the rungs of a grade ladder (A and AA), a register or reporter cited by number (80 FR 66128, 2022 WL 4447293), the kind written before a dated identifier (WD WD-ABC1-20200101), or the PO of a PO Box. A note that opens with a citation (1. See L. Summers (2015), "…," IMF Economic Review) is written in the cited work's words, and its acronyms are not reported (they still count towards the limit); so is an entry of a reference list keyed by a bracketed label ([FETCH] WHATWG,
|
|
96
|
+
ja: 誰でも知っている略語(URL、PDF など)と、前後の括弧で説明した略語、会社の名前の中の英字(㈱ADEKA、CO.,LTD.)は指しません。ひな形の名前の置き場所(OOOO、XX 月)と、外のページへのリンクを並べた一覧の題名の中の略語も指しません(題名の略語は数には入れます)。大文字の違うだけの書き方で説明した略語(TCoP と TCOP)、略語を話題にする文で語に書き出した略語(略語の DOB … date of birth)、一覧で語のすぐ下にその語を名指すリンクを入れ子にした語(- GPL の下の GNU General Public License)も指しません。判例の引用の中の当事者と裁判所の名前(Ashwander v. TVA, 297 U.S. 288、MCI Telecomms. Corp. v. AT&T、(SDNY 1952))、引用の中の行政機関の事件番号(NOV/CFA 01-01)も指しません(引用の略語は数には入れます)。判決の頭の MR. JUSTICE も指しません。括弧の中で略語に「or」で別の呼び名を添えたもの(Department of Health and Human Services (HHS or the Department))、ハイフンで繋いだ字まで名前と揃うもの(Agency for Health (ARPA-H))は説明したと読み、メールアドレスの中の英字(OASH-RFI@hhs.gov)は略語と読みません。文書の中に書いた ABNF の文法の規則の名前と値(CRLF、%x0D)、等級の並び(A と AA)、番号で引く官報や判例集(80 FR 66128、2022 WL 4447293)、日付の付いた識別子の前の種類(WD WD-ABC1-20200101)、PO Box の PO も指しません。文献を引いて始まる注(1. See L. Summers (2015), "…," IMF Economic Review)の中の略語は、引いた文献の題名や誌名の書き方なので指しません(数には入れます)。角括弧の見出しで始まる文献の項目([FETCH] WHATWG, …。長い見出しの後ろの空白が 1 つでも、見出しだけの行の下に字下げして続けても)の中の略語も同じです。2 つ以上の番号で引く続き物の名前(BCP 78 と BCP 14、DR 4339 と DR 4340)、同じ文の前のほうで名前を書き出した略語(U.S. Small Business Administration … SBA)、肩書きの後ろの判事の姓(Lord HOLT、Mr. Justice BULLER)、商標の印の付いた名前(Acrobat DC®)、条で引く法令集(44 USC. 3502、15 USCA § 709、FAR 12.212)と、編と区分で引く法令集(21 CFR subpart J)も指しません。ショートメッセージで送るキーワード(texting GNPCGS to 333111)、名前のまま書いた製品の版(Adobe Acrobat Reader DC)、頭だけ大文字の語に繋いだ名前の中の大文字(NITE SAFE-Lite)も指しません。同じ文の前のほうで、同じ名詞の前に小文字で書き出した略語(incident response plan … IR plans)と、括弧の中で小文字の語を添えた略語の名前の頭の頭文字が揃うもの(… Partnerships to Stimulate Cybersecurity Education (RAMPS program))は説明したと読みます。貼り付けたチャットの発言(<jinxer-wm> FIRING …)の中の略語は、発言した人やボットの言葉なので指しません(数には入れます)。番地から州と郵便番号まで揃った所在地の中の大文字(1600 Elm Rd. NE, MS K12-3, Springfield, GA 30329 の NE と MS)、SQL のキーワード(VIEW、WHERE)、文の中で頭だけ大文字の語にも書いた名前を大文字で書いたもの(a hotel / Airbnb と書いた文書の AIRBNB)も指しません。行の頭に大文字で書いた接続詞(OR, Skip to …、二つの選択肢の間に一行で置いた OR)も指しません。ファイルの種類の名前としてだけ書いた大文字(the MAP files、MAPファイル、拡張子の “.MAP”)も指しません。辞書が間投詞としてしか知らない 3 文字以上の語を大文字で書いたもの(製品の名前の HEY)も指しません。どちらも 5 文字以上の大文字の語が 2 つ並んだもの(計画の名前の MIRAI SCHOOL、UNITED STATES)は、大文字で書いた名前や語なので指しません。
|
|
97
|
+
en: Common acronyms (URL, PDF), acronyms spelled out in brackets next to them, and the letters of a company name (㈱ADEKA, CO.,LTD.) are not reported. Neither are a template's placeholders (OOOO, XX 月) or an acronym in the title of a page in a list of links (it still counts towards the limit). Nor are an acronym explained under another capitalisation (TCoP, then TCOP), one a sentence about the abbreviation writes out (the abbreviation DOB … date of birth), or a term in a list whose nested link names it (- GPL above GNU General Public License). Nor are the parties and courts of a case citation (Ashwander v. TVA, 297 U.S. 288; MCI Telecomms. Corp. v. AT&T; (SDNY 1952)), an agency's docket number in a citation (NOV/CFA 01-01); a citation's acronyms still count towards the limit. Nor is the MR. JUSTICE that opens a line of an opinion. An acronym given another name after "or" in its parenthesis (Department of Health and Human Services (HHS or the Department)) or spelled out with its hyphened letter (Agency for Health (ARPA-H)) counts as expanded, and the letters of an email address (OASH-RFI@hhs.gov) are not an acronym. Nor are the rule names and values of an ABNF grammar in the text (CRLF, %x0D), the rungs of a grade ladder (A and AA), a register or reporter cited by number (80 FR 66128, 2022 WL 4447293), the kind written before a dated identifier (WD WD-ABC1-20200101), or the PO of a PO Box. A note that opens with a citation (1. See L. Summers (2015), "…," IMF Economic Review) is written in the cited work's words, and its acronyms are not reported (they still count towards the limit); so is an entry of a reference list keyed by a bracketed label ([FETCH] WHATWG, …; also when a long label leaves one space, or stands alone above the indented entry). Nor are capitals the document cites by two or more numbers (BCP 78 and BCP 14, DR 4339 and DR 4340), an acronym whose name the same sentence writes out before it (U.S. Small Business Administration … SBA), a judge's surname after his title (Lord HOLT, Mr. Justice BULLER), a name marked as a trademark (Acrobat DC®), a code cited by section (44 USC. 3502, 15 USCA § 709, FAR 12.212), or a code cited by title and division (21 CFR subpart J). Nor are a keyword to send by text message (texting GNPCGS to 333111), a product's edition written with the product's name (Adobe Acrobat Reader DC), or capitals joined to a capitalised word in a name (NITE SAFE-Lite). An acronym the same sentence writes out in lower case before the same noun (incident response plan … IR plans), and one bracketed with a word in lower case after a name whose head gives its letters (… Partnerships to Stimulate Cybersecurity Education (RAMPS program)), count as expanded. An acronym in a pasted chat line (<jinxer-wm> FIRING …) is the speaker's or the bot's words, and is not reported (it still counts towards the limit). Nor are the capitals inside a postal address that runs from a street number to a state and ZIP code (the NE and MS of 1600 Elm Rd. NE, MS K12-3, Springfield, GA 30329), a keyword of SQL (VIEW, WHERE), or a name in capitals that the document also writes inside a sentence with only its first letter a capital (AIRBNB in a text that writes a hotel / Airbnb). Nor is a conjunction written in capitals at the head of a line (OR, Skip to …; an OR alone between two options). Nor are capitals a document writes only as the name of a kind of file (the MAP files, MAPファイル, the extension “.MAP”). Nor is a word of three letters or more that the dictionary knows only as an interjection, written in capitals (HEY, a product's name). Nor are two words in capitals side by side, each of five letters or more (MIRAI SCHOOL, the name of a plan; UNITED STATES), which are a name or words written in capitals.
|
|
98
98
|
level_meaning:
|
|
99
99
|
ja: 説明のない略語が {limit} 種類あれば指摘。文書が自分で略語を {limit} 個展開していれば、1 つの抜けから指摘
|
|
100
100
|
en: reported once {limit} different acronyms go unexplained, or from the first one when the document itself spells out {limit} others
|
|
@@ -53,8 +53,8 @@ example:
|
|
|
53
53
|
Report an incident within 30 minutes and notify the affected teams. Record it in the incident log and fix the cause by the next working day.
|
|
54
54
|
|
|
55
55
|
not_flagged:
|
|
56
|
-
ja: 文書の長さに対して少ないものは指しません。短すぎる文書も測りません。指すのは語のある文ごとに一度で、長い言い方の中の語(in a timely manner の timely)は一つと数えます。英語の法務の文書では、法律や慣行が意味を決めている言い方(reasonable、best efforts、from time to time
|
|
57
|
-
en: 'A few vague words for the document''s length are not reported, and very short documents are not measured. Each sentence is reported once, and a word inside a longer phrase ("timely" in "in a timely manner") counts once. In legal documents, a word inside a term that law and practice define ("reasonable", "best efforts", "from time to time") is not counted. Inside a requirement, requirement-smell also reads "where possible" and "as needed". A word that the bracket right after it pins down ("a reasonable fee (USD 50)") is not counted either; a bracket that only names it ("(hereinafter the ""Fee"")") pins nothing down. Lines under a table of contents heading (the sections'' names) are not counted, and "reasonable accommodation" is the name of a legal duty in any genre. A word that a law or a section governs right after it ("as required by applicable law", "as required under 45 CFR §164.528", "as required under HIPAA") is not counted, since that law says what is required; one a party decides ("as required by Licensor") is.'
|
|
56
|
+
ja: 文書の長さに対して少ないものは指しません。短すぎる文書も測りません。指すのは語のある文ごとに一度で、長い言い方の中の語(in a timely manner の timely)は一つと数えます。英語の法務の文書では、法律や慣行が意味を決めている言い方(reasonable、best efforts、from time to time)の中の語は数えません。データ保護の法律が義務として書く安全管理の言い方(appropriate technical and organisational measures、appropriate administrative, physical, and technical safeguards)も同じです。何も名指さない appropriate measures は数えます。要求の文の中の「可能な限り」「必要に応じて」は、要求の書き方として requirement-smell も見ます。すぐ後ろの括弧で中身を書いた語(一定の事項(請求書に書く事項))も数えません。括弧が名前を付けるだけ(以下「本措置」という。)なら数えます。目次の見出しの下の行(節の名前)は数えません。英語の reasonable accommodation は、どのジャンルでも法律が決めた義務の名前なので数えません。英語で、すぐ後ろに法律や条を名指す語が続くもの(as required by applicable law、as required under 45 CFR §164.528、as required under HIPAA)は、何が要るのかをその法律が決めているので数えません。当事者が決めるもの(as required by Licensor)は数えます。
|
|
57
|
+
en: 'A few vague words for the document''s length are not reported, and very short documents are not measured. Each sentence is reported once, and a word inside a longer phrase ("timely" in "in a timely manner") counts once. In legal documents, a word inside a term that law and practice define ("reasonable", "best efforts", "from time to time") is not counted; nor are the security duties data-protection law writes ("appropriate technical and organisational measures", "appropriate administrative, physical, and technical safeguards"), while a bare "appropriate measures" is counted. Inside a requirement, requirement-smell also reads "where possible" and "as needed". A word that the bracket right after it pins down ("a reasonable fee (USD 50)") is not counted either; a bracket that only names it ("(hereinafter the ""Fee"")") pins nothing down. Lines under a table of contents heading (the sections'' names) are not counted, and "reasonable accommodation" is the name of a legal duty in any genre. A word that a law or a section governs right after it ("as required by applicable law", "as required under 45 CFR §164.528", "as required under HIPAA") is not counted, since that law says what is required; one a party decides ("as required by Licensor") is.'
|
|
58
58
|
level_meaning:
|
|
59
59
|
ja: 1000 字あたりあいまいな語 {limit} 個まで
|
|
60
60
|
en: up to {limit} vague words per 1000 words
|
package/skills/chaff/SKILL.md
CHANGED
|
@@ -76,7 +76,9 @@ calls nothing. Ask the person before a real run; the passages leave the machine.
|
|
|
76
76
|
| Change the rule | Wrong for this team or genre | `npx chaffjs relax <rule-id> --why "reason"` (or `strict` / `off`). The reason and date are written into `chaff.yaml`. |
|
|
77
77
|
|
|
78
78
|
`npx chaffjs explain <rule-id>` shows why a rule exists, its levels and the current one. Read it before
|
|
79
|
-
relaxing a rule.
|
|
79
|
+
relaxing a rule. A worked before and after for a rule, with chaff's real output and the settings, is at
|
|
80
|
+
`https://github.com/isamu/lab/blob/main/text/docs/samples/<ja|en>/<rule-id>.md` when that rule has one (the index:
|
|
81
|
+
`docs/samples/<ja|en>/README.md`).
|
|
80
82
|
|
|
81
83
|
When a finding is wrong for a reason that is not about this team (chaff misread the text), tell the person and offer
|
|
82
84
|
`npx chaffjs feedback <file> --rule <rule-id> --line <n>`: it drafts a report and sends nothing. A document the
|
|
@@ -101,8 +101,8 @@ const TRADEMARKED = new RegExp(String.raw`${EDGE_BEFORE}\p{Lu}{2,}(?=[®™])`,
|
|
|
101
101
|
export const trademarkSpans = (text: string): Span[] => spansOf(text, TRADEMARKED);
|
|
102
102
|
|
|
103
103
|
/**
|
|
104
|
-
* 引用の形の中の、法令の名前(45 CFR Parts 160、CFR §164.524、21 USC §301、44 USC. 3502、22 CCR §§ 12701、94/820/EC
|
|
105
|
-
*
|
|
104
|
+
* 引用の形の中の、法令の名前(45 CFR Parts 160、CFR §164.524、21 USC §301、44 USC. 3502、22 CCR §§ 12701、94/820/EC、FAR section 12.212)。
|
|
105
|
+
* 後ろに条(§、Part、section、番号)があるか、/ で繋いだ番号の後ろのときだけ。名前の後ろの点(USC.)は略しの印で、条の前に書いてもよい。§ の前には大文字で始まる
|
|
106
106
|
* 1 語を挟んでもよい(15 USCA Appendix § 12)。巻の番号の後ろで点で終わる名前(See 44 USC. 3502)も引用で、文を分ける読み手は
|
|
107
107
|
* 点の後ろの条を次の文に送る。法令集そのものを言う所(the CFR title、the 2 CFR export)は略語のまま数える。
|
|
108
108
|
*/
|
|
@@ -112,7 +112,10 @@ export const citationSpans = (text: string, series: readonly string[]): Span[] =
|
|
|
112
112
|
const section = String.raw`(?:\p{Lu}\p{L}*\.?[ \t]+)?§`;
|
|
113
113
|
return spansOf(
|
|
114
114
|
text,
|
|
115
|
-
new RegExp(
|
|
115
|
+
new RegExp(
|
|
116
|
+
String.raw`(?<=\d/)${name}${EDGE_AFTER}|${EDGE_BEFORE}${name}(?=\.?[ \t]*(?:${section}|(?:[Pp]arts?|[Ss]ections?)[ \t]+\d|\d))|(?<=\d[ \t]+)${name}(?=\.)`,
|
|
117
|
+
"gu",
|
|
118
|
+
),
|
|
116
119
|
);
|
|
117
120
|
};
|
|
118
121
|
|
|
@@ -6,8 +6,10 @@ import { leadingPrefix, trailingTitle, type AddresseeWords } from "./addressee-t
|
|
|
6
6
|
import {
|
|
7
7
|
followsForm,
|
|
8
8
|
followsUnit,
|
|
9
|
+
fillsGloss,
|
|
9
10
|
holdsName,
|
|
10
11
|
isListItem,
|
|
12
|
+
labelsLines,
|
|
11
13
|
leadingDate,
|
|
12
14
|
leadingOrdinal,
|
|
13
15
|
leadingReference,
|
|
@@ -45,6 +47,8 @@ type KanjiRun = {
|
|
|
45
47
|
readonly text: string;
|
|
46
48
|
readonly span: Span | undefined;
|
|
47
49
|
readonly quoted: boolean;
|
|
50
|
+
/** 連なりが、下に番号や内容の行が続く一行の名前(labelsLines: 児童相談所虐待対応ダイヤル / 189)。 */
|
|
51
|
+
readonly label: boolean;
|
|
48
52
|
readonly placed: boolean;
|
|
49
53
|
readonly after: string | undefined;
|
|
50
54
|
readonly before: string;
|
|
@@ -78,7 +82,7 @@ const maskedProse = (prose: string, profile: DocumentProfile | undefined, names:
|
|
|
78
82
|
* 括弧でくくった名前は、書き手が 1 つの名前として示したもの(「登録業者情報検索入力ページ」)。
|
|
79
83
|
*/
|
|
80
84
|
const fillsQuote = (sentence: Sentence, start: number, end: number): boolean =>
|
|
81
|
-
quotedSpans(sentence.text, NAME_MARKS).some((span) => holdsName(sentence.text, span, start, end));
|
|
85
|
+
quotedSpans(sentence.text, NAME_MARKS).some((span) => holdsName(sentence.text, span, start, end)) || fillsGloss(sentence.text, start, end);
|
|
82
86
|
|
|
83
87
|
const runsOf = (sentence: Sentence, profile: DocumentProfile | undefined, names: readonly string[]): KanjiRun[] => {
|
|
84
88
|
const prose = proseText(sentence);
|
|
@@ -92,6 +96,7 @@ const runsOf = (sentence: Sentence, profile: DocumentProfile | undefined, names:
|
|
|
92
96
|
text: match[0],
|
|
93
97
|
span: undefined,
|
|
94
98
|
quoted: false,
|
|
99
|
+
label: false,
|
|
95
100
|
placed: false,
|
|
96
101
|
after: undefined,
|
|
97
102
|
before: "",
|
|
@@ -112,6 +117,7 @@ const runsOf = (sentence: Sentence, profile: DocumentProfile | undefined, names:
|
|
|
112
117
|
text: match[0],
|
|
113
118
|
span,
|
|
114
119
|
quoted,
|
|
120
|
+
label: labelsLines(sentence.text, start, last + 1),
|
|
115
121
|
placed: isTitlePosition(sentence.text, start, last + 1),
|
|
116
122
|
after,
|
|
117
123
|
before: sentence.text.slice(0, start),
|
|
@@ -251,13 +257,17 @@ const measuredOf = (tokens: readonly Token[], run: KanjiRun, span: Span, words:
|
|
|
251
257
|
return { rest: { start: head?.span.end ?? span.start, end: tail?.start ?? span.end }, text: name.slice(head?.surface.length ?? 0), keptHead };
|
|
252
258
|
};
|
|
253
259
|
|
|
260
|
+
/** 書き手が名前として示した連なり(括弧でくくった、一行に置いた、用語集の見出し語、文脈で名前と分かる)。 */
|
|
261
|
+
const isPresentedName = (run: KanjiRun, context: RunContext): boolean =>
|
|
262
|
+
run.quoted || run.label || (context.headwords && run.alone) || isNamedByContext(run, context.words);
|
|
263
|
+
|
|
254
264
|
/**
|
|
255
265
|
* 数えない連なりは空。頭の、数に付いた助数詞(2日日本弁護士連合会の「日」)と、尻の、数に付く接頭の語(施行令第172条の「第」)と
|
|
256
266
|
* 宛先に付く語(市政情報課宛ての「宛」)は数えない。宛名の「各」と、宛名の行の役職(各国公私立高等専門学校長の「各」と「長」)も数えない。
|
|
257
267
|
* 住所か名前かは、それを外した残りで決める(1日日本銀行の「日本銀行」)。品詞が無ければ判定しない。
|
|
258
268
|
*/
|
|
259
269
|
const measuredRun = (tokens: readonly Token[] | undefined, run: KanjiRun, context: RunContext): string => {
|
|
260
|
-
if (
|
|
270
|
+
if (isPresentedName(run, context)) return "";
|
|
261
271
|
if (tokens === undefined || run.span === undefined) return run.text;
|
|
262
272
|
const { rest, text, keptHead } = measuredOf(tokens, run, run.span, context.words);
|
|
263
273
|
if (context.presented.has(text) || inStatuteTitle(tokens, run.brackets, context.words.fixedName)) return "";
|
|
@@ -340,6 +350,10 @@ const statuteTerms = (runs: readonly DocumentRun[], fixedName: TitleWords, max:
|
|
|
340
350
|
return terms.filter((term) => [...term].length >= MIN_TERM_LENGTH && [...term].length <= max);
|
|
341
351
|
});
|
|
342
352
|
|
|
353
|
+
/** 文書が一行の名前として置いた連なり(labelsLines)のうち MIN_TERM_LENGTH 字からのもの。文の中の連なり(〜相談電話窓口)を、その名前の後ろで割る。 */
|
|
354
|
+
const labelNames = (runs: readonly DocumentRun[]): string[] =>
|
|
355
|
+
runs.flatMap(({ run }) => (run.label && [...run.text].length >= MIN_TERM_LENGTH ? [run.text] : []));
|
|
356
|
+
|
|
343
357
|
/** 文書の genre が、rule の headword_genres(見出し語の行を数えない genre: 用語集)にあるか。 */
|
|
344
358
|
const isHeadwordGenre = (options: DetectorOptions): boolean => {
|
|
345
359
|
const genres = options.settings?.["headword_genres"];
|
|
@@ -384,8 +398,9 @@ const contextOf = (doc: ProseDocument, options: DetectorOptions): RunContext =>
|
|
|
384
398
|
terms: new Set([
|
|
385
399
|
...standaloneNames([...inSentences, ...headingRuns(doc)], MIN_TERM_LENGTH, options.limit, words.organisation.units),
|
|
386
400
|
...statuteTerms(runs, words.fixedName, options.limit),
|
|
401
|
+
...labelNames(runs),
|
|
387
402
|
]),
|
|
388
|
-
presented: new Set(runs.flatMap(({ run }) => (run.quoted ? [run.text] : []))),
|
|
403
|
+
presented: new Set(runs.flatMap(({ run }) => (run.quoted || run.label ? [run.text] : []))),
|
|
389
404
|
headwords: isHeadwordGenre(options),
|
|
390
405
|
maxKnownWords: Math.max(options.limit, ...[...words.knownWords].map((word) => [...word].length)),
|
|
391
406
|
};
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
isNavigationLine,
|
|
13
13
|
startsWithin,
|
|
14
14
|
statesIntent,
|
|
15
|
-
|
|
15
|
+
familyWithSlots,
|
|
16
16
|
type AdviceWords,
|
|
17
17
|
type IntentWords,
|
|
18
18
|
} from "./concrete-evidence.ts";
|
|
@@ -83,7 +83,7 @@ export const concreteEvidence: Detector = (doc, options): Finding[] => {
|
|
|
83
83
|
mostlyClaims(sentences, doc.language, advice, intent)
|
|
84
84
|
);
|
|
85
85
|
});
|
|
86
|
-
const families = new Map(sections.map((section) => [section,
|
|
86
|
+
const families = new Map(sections.map((section) => [section, familyWithSlots(doc.sections, section)]));
|
|
87
87
|
const familyOf = (section: Section): Section[] => families.get(section) ?? [section];
|
|
88
88
|
const bare = sections.filter((section) => familyOf(section).every((member) => !concreteIn(doc, member)));
|
|
89
89
|
// 構造の木と名前は求めるのに手間がかかる。指摘に届かない文書では求めない。
|
|
@@ -155,6 +155,33 @@ export const withSubsections = <T extends Pick<Section, "depth">>(sections: read
|
|
|
155
155
|
return [section, ...(next === -1 ? after : after.slice(0, next))];
|
|
156
156
|
};
|
|
157
157
|
|
|
158
|
+
type SlotSection = Pick<Section, "depth" | "heading" | "unlabeledHeading">;
|
|
159
|
+
|
|
160
|
+
/** 同じ見出しの節がこの数の親の下にあれば、項目ごとに繰り返す型の欄(状況・解決策・備考)。 */
|
|
161
|
+
const MIN_SLOT_PARENTS = 3;
|
|
162
|
+
|
|
163
|
+
const titleOf = (section: SlotSection): string => (section.unlabeledHeading ?? section.heading).trim();
|
|
164
|
+
|
|
165
|
+
const parentOf = <T extends SlotSection>(sections: readonly T[], section: T): T | undefined => {
|
|
166
|
+
const index = sections.indexOf(section);
|
|
167
|
+
const parent = sections.slice(0, Math.max(index, 0)).findLast((other) => other.depth < section.depth);
|
|
168
|
+
return parent !== undefined && parent.depth > 0 ? parent : undefined;
|
|
169
|
+
};
|
|
170
|
+
|
|
171
|
+
/**
|
|
172
|
+
* 型の欄の節は、その欄を持つ項目(親の節)と、項目の他の欄と合わせて読む。具体物を何欄目に書くかは項目ごとに違い、
|
|
173
|
+
* 一つの欄だけでは持ち帰るものを決められない。型の欄でなければ、その節と下の節。
|
|
174
|
+
*/
|
|
175
|
+
export const familyWithSlots = <T extends SlotSection>(sections: readonly T[], section: T): T[] => {
|
|
176
|
+
const parent = parentOf(sections, section);
|
|
177
|
+
if (parent === undefined || titleOf(section) === "") return withSubsections(sections, section);
|
|
178
|
+
const parentsOfSameTitle = new Set(
|
|
179
|
+
sections.filter((other) => other.depth === section.depth && titleOf(other) === titleOf(section)).map((other) => parentOf(sections, other)),
|
|
180
|
+
);
|
|
181
|
+
parentsOfSameTitle.delete(undefined);
|
|
182
|
+
return parentsOfSameTitle.size >= MIN_SLOT_PARENTS ? withSubsections(sections, parent) : withSubsections(sections, section);
|
|
183
|
+
};
|
|
184
|
+
|
|
158
185
|
/** 大文字だけの略語(API、PDFs)。どの文書にも出る技術の語で、名指しした物ではない。 */
|
|
159
186
|
const ACRONYM = /^\p{Lu}+s?$/u;
|
|
160
187
|
const CAPITAL_HEAD = /^\p{Lu}/u;
|
|
@@ -5,6 +5,7 @@ import { namesWrittenMidSentence } from "./heading-names.ts";
|
|
|
5
5
|
import type { Detector, Finding, Lexicon, ProseDocument, Section, Sentence, Token } from "../plugin.ts";
|
|
6
6
|
import { entryOpens } from "./lexicon-match.ts";
|
|
7
7
|
import { opensWithPhrase } from "./opener-phrase.ts";
|
|
8
|
+
import { speakerTurns } from "./speaker-turns.ts";
|
|
8
9
|
|
|
9
10
|
const PER = 1000;
|
|
10
11
|
|
|
@@ -82,11 +83,16 @@ const expletiveAt = (tokens: readonly Token[]): Token | undefined => {
|
|
|
82
83
|
return head;
|
|
83
84
|
};
|
|
84
85
|
|
|
86
|
+
/** In minutes of who said what, a speaker's sentences are their own phrasing, recorded as said: not the writer's to recast. */
|
|
85
87
|
export const expletive: Detector = (doc, options): Finding[] => {
|
|
86
|
-
const
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
88
|
+
const turns = speakerTurns(doc.source);
|
|
89
|
+
const spoken = (sentence: Sentence): boolean => turns.some((turn) => turn.start <= sentence.span.start && sentence.span.start < turn.end);
|
|
90
|
+
const hits = doc.sentences
|
|
91
|
+
.filter((sentence) => !spoken(sentence))
|
|
92
|
+
.flatMap((sentence) => {
|
|
93
|
+
const at = expletiveAt(sentence.tokens ?? []);
|
|
94
|
+
return at === undefined ? [] : [{ sentence, at }];
|
|
95
|
+
});
|
|
90
96
|
if (hits.length <= options.limit) return [];
|
|
91
97
|
return hits.map(({ sentence, at }) => ({
|
|
92
98
|
rule: "expletive-construction",
|