chaffjs 0.47.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.
Files changed (208) hide show
  1. package/README.ja.md +1 -0
  2. package/README.md +1 -0
  3. package/dist/bound-word-particles.d.ts +1 -0
  4. package/dist/bound-word-particles.d.ts.map +1 -1
  5. package/dist/bound-word-particles.js +1 -1
  6. package/dist/bound-word-particles.js.map +1 -1
  7. package/dist/clause-particles.d.ts +11 -0
  8. package/dist/clause-particles.d.ts.map +1 -0
  9. package/dist/clause-particles.js +20 -0
  10. package/dist/clause-particles.js.map +1 -0
  11. package/dist/detectors/acronym-definition.d.ts.map +1 -1
  12. package/dist/detectors/acronym-definition.js +14 -6
  13. package/dist/detectors/acronym-definition.js.map +1 -1
  14. package/dist/detectors/acronym-expansion.d.ts +2 -0
  15. package/dist/detectors/acronym-expansion.d.ts.map +1 -1
  16. package/dist/detectors/acronym-expansion.js +18 -7
  17. package/dist/detectors/acronym-expansion.js.map +1 -1
  18. package/dist/detectors/acronym-mention.d.ts.map +1 -1
  19. package/dist/detectors/acronym-mention.js +3 -1
  20. package/dist/detectors/acronym-mention.js.map +1 -1
  21. package/dist/detectors/acronym-name.d.ts +2 -2
  22. package/dist/detectors/acronym-name.d.ts.map +1 -1
  23. package/dist/detectors/acronym-name.js +3 -3
  24. package/dist/detectors/acronym-name.js.map +1 -1
  25. package/dist/detectors/acronym-parent-item.d.ts +6 -0
  26. package/dist/detectors/acronym-parent-item.d.ts.map +1 -0
  27. package/dist/detectors/acronym-parent-item.js +50 -0
  28. package/dist/detectors/acronym-parent-item.js.map +1 -0
  29. package/dist/detectors/broken-link.d.ts.map +1 -1
  30. package/dist/detectors/broken-link.js +14 -0
  31. package/dist/detectors/broken-link.js.map +1 -1
  32. package/dist/detectors/char-shape.d.ts.map +1 -1
  33. package/dist/detectors/char-shape.js +11 -4
  34. package/dist/detectors/char-shape.js.map +1 -1
  35. package/dist/detectors/citation-sentence.d.ts +8 -0
  36. package/dist/detectors/citation-sentence.d.ts.map +1 -1
  37. package/dist/detectors/citation-sentence.js +24 -0
  38. package/dist/detectors/citation-sentence.js.map +1 -1
  39. package/dist/detectors/concrete-evidence-density.d.ts.map +1 -1
  40. package/dist/detectors/concrete-evidence-density.js +13 -6
  41. package/dist/detectors/concrete-evidence-density.js.map +1 -1
  42. package/dist/detectors/concrete-evidence.d.ts +14 -1
  43. package/dist/detectors/concrete-evidence.d.ts.map +1 -1
  44. package/dist/detectors/concrete-evidence.js +65 -0
  45. package/dist/detectors/concrete-evidence.js.map +1 -1
  46. package/dist/detectors/doubled-punctuation.d.ts.map +1 -1
  47. package/dist/detectors/doubled-punctuation.js +14 -4
  48. package/dist/detectors/doubled-punctuation.js.map +1 -1
  49. package/dist/detectors/en-shape.d.ts +1 -0
  50. package/dist/detectors/en-shape.d.ts.map +1 -1
  51. package/dist/detectors/en-shape.js +15 -6
  52. package/dist/detectors/en-shape.js.map +1 -1
  53. package/dist/detectors/kanji-name-edge.d.ts +10 -0
  54. package/dist/detectors/kanji-name-edge.d.ts.map +1 -1
  55. package/dist/detectors/kanji-name-edge.js +23 -0
  56. package/dist/detectors/kanji-name-edge.js.map +1 -1
  57. package/dist/detectors/law-governed.d.ts +10 -0
  58. package/dist/detectors/law-governed.d.ts.map +1 -0
  59. package/dist/detectors/law-governed.js +41 -0
  60. package/dist/detectors/law-governed.js.map +1 -0
  61. package/dist/detectors/name-variant-two-things.d.ts +2 -1
  62. package/dist/detectors/name-variant-two-things.d.ts.map +1 -1
  63. package/dist/detectors/name-variant-two-things.js +21 -3
  64. package/dist/detectors/name-variant-two-things.js.map +1 -1
  65. package/dist/detectors/open-end-names.d.ts +7 -2
  66. package/dist/detectors/open-end-names.d.ts.map +1 -1
  67. package/dist/detectors/open-end-names.js +14 -4
  68. package/dist/detectors/open-end-names.js.map +1 -1
  69. package/dist/detectors/reference-entry.d.ts.map +1 -1
  70. package/dist/detectors/reference-entry.js +35 -5
  71. package/dist/detectors/reference-entry.js.map +1 -1
  72. package/dist/detectors/register-set-apart.d.ts +1 -1
  73. package/dist/detectors/register-set-apart.js +4 -4
  74. package/dist/detectors/register-set-apart.js.map +1 -1
  75. package/dist/detectors/register-voice.d.ts +5 -0
  76. package/dist/detectors/register-voice.d.ts.map +1 -1
  77. package/dist/detectors/register-voice.js +17 -0
  78. package/dist/detectors/register-voice.js.map +1 -1
  79. package/dist/detectors/requirement-smell.d.ts.map +1 -1
  80. package/dist/detectors/requirement-smell.js +6 -2
  81. package/dist/detectors/requirement-smell.js.map +1 -1
  82. package/dist/detectors/sentence-counts.d.ts.map +1 -1
  83. package/dist/detectors/sentence-counts.js +2 -1
  84. package/dist/detectors/sentence-counts.js.map +1 -1
  85. package/dist/detectors/sentence-ending.d.ts +2 -2
  86. package/dist/detectors/sentence-ending.d.ts.map +1 -1
  87. package/dist/detectors/sentence-ending.js +3 -1
  88. package/dist/detectors/sentence-ending.js.map +1 -1
  89. package/dist/detectors/sentence-length.d.ts.map +1 -1
  90. package/dist/detectors/sentence-length.js +7 -6
  91. package/dist/detectors/sentence-length.js.map +1 -1
  92. package/dist/detectors/sentence-parts.d.ts +8 -3
  93. package/dist/detectors/sentence-parts.d.ts.map +1 -1
  94. package/dist/detectors/sentence-parts.js +25 -7
  95. package/dist/detectors/sentence-parts.js.map +1 -1
  96. package/dist/detectors/signals.d.ts.map +1 -1
  97. package/dist/detectors/signals.js +3 -0
  98. package/dist/detectors/signals.js.map +1 -1
  99. package/dist/detectors/space-before-punctuation.js +3 -3
  100. package/dist/detectors/space-before-punctuation.js.map +1 -1
  101. package/dist/detectors/speaker-turns.d.ts +4 -0
  102. package/dist/detectors/speaker-turns.d.ts.map +1 -0
  103. package/dist/detectors/speaker-turns.js +28 -0
  104. package/dist/detectors/speaker-turns.js.map +1 -0
  105. package/dist/detectors/token-shape.d.ts.map +1 -1
  106. package/dist/detectors/token-shape.js +21 -5
  107. package/dist/detectors/token-shape.js.map +1 -1
  108. package/dist/detectors/topic-predicate-distance.d.ts.map +1 -1
  109. package/dist/detectors/topic-predicate-distance.js +3 -1
  110. package/dist/detectors/topic-predicate-distance.js.map +1 -1
  111. package/dist/detectors/unbalanced-bracket.d.ts.map +1 -1
  112. package/dist/detectors/unbalanced-bracket.js +31 -6
  113. package/dist/detectors/unbalanced-bracket.js.map +1 -1
  114. package/dist/detectors/vague-density.d.ts +4 -2
  115. package/dist/detectors/vague-density.d.ts.map +1 -1
  116. package/dist/detectors/vague-density.js +17 -9
  117. package/dist/detectors/vague-density.js.map +1 -1
  118. package/dist/document.js +2 -2
  119. package/dist/document.js.map +1 -1
  120. package/dist/name-variant-shapes.d.ts +32 -0
  121. package/dist/name-variant-shapes.d.ts.map +1 -1
  122. package/dist/name-variant-shapes.js +87 -0
  123. package/dist/name-variant-shapes.js.map +1 -1
  124. package/dist/paragraph-length.d.ts.map +1 -1
  125. package/dist/paragraph-length.js +5 -6
  126. package/dist/paragraph-length.js.map +1 -1
  127. package/dist/sentence-load.d.ts.map +1 -1
  128. package/dist/sentence-load.js +20 -6
  129. package/dist/sentence-load.js.map +1 -1
  130. package/dist/set-phrase-particles.js +2 -2
  131. package/dist/set-phrase-particles.js.map +1 -1
  132. package/dist/structure/definition-use.d.ts.map +1 -1
  133. package/dist/structure/definition-use.js +13 -0
  134. package/dist/structure/definition-use.js.map +1 -1
  135. package/dist/structure/universal.d.ts.map +1 -1
  136. package/dist/structure/universal.js +9 -1
  137. package/dist/structure/universal.js.map +1 -1
  138. package/dist/structure/unread-label.d.ts.map +1 -1
  139. package/dist/structure/unread-label.js +3 -1
  140. package/dist/structure/unread-label.js.map +1 -1
  141. package/dist/topic-clause.d.ts +2 -0
  142. package/dist/topic-clause.d.ts.map +1 -1
  143. package/dist/topic-clause.js +12 -5
  144. package/dist/topic-clause.js.map +1 -1
  145. package/package.json +3 -3
  146. package/rules/adverb-overuse.yaml +2 -2
  147. package/rules/bracket-nesting.yaml +2 -2
  148. package/rules/broken-link.yaml +2 -2
  149. package/rules/concrete-evidence-density.yaml +2 -2
  150. package/rules/doubled-punctuation.yaml +2 -2
  151. package/rules/expletive-construction.yaml +2 -2
  152. package/rules/max-kanji-continuous.yaml +5 -3
  153. package/rules/max-sentence-length.yaml +2 -2
  154. package/rules/name-variant.yaml +2 -2
  155. package/rules/ngram-repetition.yaml +2 -2
  156. package/rules/no-doubled-joshi.yaml +2 -2
  157. package/rules/no-mixed-desumasu.yaml +3 -2
  158. package/rules/orthographic-variant.yaml +2 -2
  159. package/rules/requirement-smell.yaml +2 -2
  160. package/rules/space-before-punctuation.yaml +4 -4
  161. package/rules/taigen-dome-in-prose.yaml +2 -2
  162. package/rules/topic-predicate-distance.yaml +3 -3
  163. package/rules/unbalanced-bracket.yaml +4 -4
  164. package/rules/undefined-acronym.yaml +4 -2
  165. package/rules/vague-word-density.yaml +2 -2
  166. package/skills/chaff/SKILL.md +3 -1
  167. package/src/bound-word-particles.ts +2 -1
  168. package/src/clause-particles.ts +35 -0
  169. package/src/detectors/acronym-definition.ts +14 -6
  170. package/src/detectors/acronym-expansion.ts +26 -7
  171. package/src/detectors/acronym-mention.ts +6 -1
  172. package/src/detectors/acronym-name.ts +6 -3
  173. package/src/detectors/acronym-parent-item.ts +60 -0
  174. package/src/detectors/broken-link.ts +16 -0
  175. package/src/detectors/char-shape.ts +18 -3
  176. package/src/detectors/citation-sentence.ts +30 -0
  177. package/src/detectors/concrete-evidence-density.ts +18 -7
  178. package/src/detectors/concrete-evidence.ts +83 -1
  179. package/src/detectors/doubled-punctuation.ts +20 -4
  180. package/src/detectors/en-shape.ts +18 -9
  181. package/src/detectors/kanji-name-edge.ts +27 -0
  182. package/src/detectors/law-governed.ts +50 -0
  183. package/src/detectors/name-variant-two-things.ts +43 -3
  184. package/src/detectors/open-end-names.ts +21 -4
  185. package/src/detectors/reference-entry.ts +36 -6
  186. package/src/detectors/register-set-apart.ts +4 -4
  187. package/src/detectors/register-voice.ts +19 -0
  188. package/src/detectors/requirement-smell.ts +6 -2
  189. package/src/detectors/sentence-counts.ts +2 -1
  190. package/src/detectors/sentence-ending.ts +8 -4
  191. package/src/detectors/sentence-length.ts +10 -8
  192. package/src/detectors/sentence-parts.ts +33 -9
  193. package/src/detectors/signals.ts +3 -0
  194. package/src/detectors/space-before-punctuation.ts +3 -3
  195. package/src/detectors/speaker-turns.ts +37 -0
  196. package/src/detectors/token-shape.ts +27 -7
  197. package/src/detectors/topic-predicate-distance.ts +3 -1
  198. package/src/detectors/unbalanced-bracket.ts +39 -7
  199. package/src/detectors/vague-density.ts +25 -10
  200. package/src/document.ts +2 -2
  201. package/src/name-variant-shapes.ts +103 -0
  202. package/src/paragraph-length.ts +8 -9
  203. package/src/sentence-load.ts +29 -6
  204. package/src/set-phrase-particles.ts +2 -2
  205. package/src/structure/definition-use.ts +15 -0
  206. package/src/structure/universal.ts +10 -1
  207. package/src/structure/unread-label.ts +3 -1
  208. package/src/topic-clause.ts +19 -5
@@ -34,7 +34,9 @@ const setOutIn = (text, label, lead) => {
34
34
  const after = String.raw `(?![0-9A-Za-z])`;
35
35
  const atLineStart = new RegExp(String.raw `^[ \t]*${escapeRegExp(lead)}[ \t]*${escaped}${after}`, "mu");
36
36
  const afterSpaces = new RegExp(String.raw `\S[ \t]{2,}${escaped}${after}`, "u");
37
- if (atLineStart.test(text) || afterSpaces.test(text))
37
+ // "…as follows: 7.5 7.5.1 General Liability": a dotted label followed at once by its own first subsection opens it.
38
+ const beforeOwnFirst = /\d\.\d/u.test(label) && new RegExp(String.raw `(?<![0-9.])${escaped}[ \t]+${escaped}\.1${after}`, "u").test(text);
39
+ if (atLineStart.test(text) || afterSpaces.test(text) || beforeOwnFirst)
38
40
  return true;
39
41
  const firstLine = text.split("\n", 1)[0] ?? "";
40
42
  const bracketed = BRACKETED.test(label);
@@ -1 +1 @@
1
- {"version":3,"file":"unread-label.js","sourceRoot":"","sources":["../../src/structure/unread-label.ts"],"names":[],"mappings":"AAAA,uHAAuH;AACvH,yHAAyH;AACzH,yCAAyC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AC,CAAC;IAChD,IAAI,OAAO,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACxC,MAAM,IAAI,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;IAClD,MAAM,IAAI,GAAG,MAAM;SAChB,KAAK,CAAC,MAAM,CAAC,WAAW,CAAC,IAAI,EAAE,QAAQ,CAAC,KAAK,GAAG,CAAC,CAAC,GAAG,CAAC,EAAE,OAAO,CAAC,KAAK,CAAC;SACtE,UAAU,CAAC,YAAY,EAAE,EAAE,CAAC;SAC5B,SAAS,CAAC,MAAM,CAAC,CAAC;IACrB,OAAO,KAAK,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,EAAE,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,GAAG,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,YAAY,EAAE,EAAE,CAAC,QAAQ,CAAC,IAAI,EAAE,YAAY,EAAE,IAAI,CAAC,CAAC,CAAC;AACtJ,CAAC,CAAC"}
@@ -3,6 +3,8 @@ import type { Token } from "./plugin.ts";
3
3
  export type TopicClauseWords = {
4
4
  /** Words that end a clause right after its predicate (ことから, つつ, としても): the topic-clause-close lexicon. */
5
5
  readonly closers: readonly string[];
6
+ /** Nouns that は makes an adverb of (最後は, in the end): the topic-adverb lexicon. Such a は is no topic. */
7
+ readonly adverbs?: readonly string[];
6
8
  };
7
9
  /**
8
10
  * The index of the word that ends the topic's own clause, between the topic and the sentence's last word, or undefined when the
@@ -1 +1 @@
1
- {"version":3,"file":"topic-clause.d.ts","sourceRoot":"","sources":["../src/topic-clause.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AA8HzC,qIAAqI;AACrI,MAAM,MAAM,gBAAgB,GAAG;IAC7B,0GAA0G;IAC1G,QAAQ,CAAC,OAAO,EAAE,SAAS,MAAM,EAAE,CAAC;CACrC,CAAC;AA4GF;;;GAGG;AACH,eAAO,MAAM,cAAc,GAAI,QAAQ,SAAS,KAAK,EAAE,EAAE,OAAO,MAAM,EAAE,MAAM,MAAM,EAAE,QAAO,gBAA2B,KAAG,MAAM,GAAG,SAYnI,CAAC"}
1
+ {"version":3,"file":"topic-clause.d.ts","sourceRoot":"","sources":["../src/topic-clause.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AA8HzC,qIAAqI;AACrI,MAAM,MAAM,gBAAgB,GAAG;IAC7B,0GAA0G;IAC1G,QAAQ,CAAC,OAAO,EAAE,SAAS,MAAM,EAAE,CAAC;IACpC,yGAAyG;IACzG,QAAQ,CAAC,OAAO,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;CACtC,CAAC;AAwHF;;;GAGG;AACH,eAAO,MAAM,cAAc,GAAI,QAAQ,SAAS,KAAK,EAAE,EAAE,OAAO,MAAM,EAAE,MAAM,MAAM,EAAE,QAAO,gBAA2B,KAAG,MAAM,GAAG,SAYnI,CAAC"}
@@ -111,12 +111,15 @@ const wordsStart = (tokens, at, text, spelled = "") => {
111
111
  /** Whether another subject (が or は on a noun, or on a clause made a noun: 行うことは) stands between from and to. */
112
112
  const subjectBetween = (tokens, from, to) => tokens.some((token, at) => at > from && at < to && (isParticle(token, "は") || isParticle(token, "が")) && (NOMINAL.has(tokens[at - 1]?.pos ?? "") || headsSubject(tokens, at)));
113
113
  const isPoliteMasu = (token) => token?.pos === "AUX" && token.lemma === "ます";
114
- /** 〜ておりますが / 〜しましたが: a polite predicate and the contrastive が. */
114
+ /** The auxiliaries a polite predicate may end on after ます: past (ました), negative (ません), negative past (ませんでした). */
115
+ const POLITE_TAILS = [[], ["た"], ["ん"], ["ん", "でし", "た"]];
116
+ const endsPolite = (tokens, at, tail) => isPoliteMasu(tokens[at - tail.length - 1]) &&
117
+ tail.every((surface, index) => tokens[at - tail.length + index]?.pos === "AUX" && tokens[at - tail.length + index]?.surface === surface);
118
+ /** 〜ておりますが / 〜しましたが / 〜できませんでしたが: a polite predicate and the contrastive が. */
115
119
  const isPoliteGa = (tokens, at) => {
116
120
  if (tokens[at]?.surface !== "が" || tokens[at]?.pos !== "SCONJ")
117
121
  return false;
118
- const before = tokens[at - 1];
119
- return isPoliteMasu(before) || (before?.pos === "AUX" && before.surface === "た" && isPoliteMasu(tokens[at - 2]));
122
+ return POLITE_TAILS.some((tail) => endsPolite(tokens, at, tail));
120
123
  };
121
124
  const ownGaSubjectBetween = (tokens, from, to) => tokens.some((token, at) => at > from && at < to && isParticle(token, "が") && headsSubject(tokens, at));
122
125
  /** A word of a name (赤澤, 大臣), not a noun that sets the time or the case (今後, 当日). */
@@ -130,16 +133,20 @@ const newNameTopicRunsToEnd = (tokens, comma, last) => {
130
133
  const wa = tokens[topic];
131
134
  return topic > comma + 1 && wa !== undefined && isParticle(wa, "は") && lastOwnSubject(tokens, last) <= topic;
132
135
  };
136
+ /** A topic on the nominaliser こと after a predicate (公表することは): an act made a noun. */
137
+ const isActTopic = (tokens, topic) => tokens[topic - 1]?.surface === "こと" && tokens[topic - 1]?.pos === "NOUN" && PREDICATE.has(tokens[topic - 2]?.pos ?? "");
133
138
  /**
134
139
  * 当社は…を営んでおりますが、…の重要性が乏しいため、…の記載は行っておりません: after 〜ますが、 the words up to the next comma
135
140
  * say something of a subject of their own (が) and a new topic takes what comes after, so the predicate before が was the
136
141
  * topic's, when no other subject stands between the topic and it (需要の停滞がありましたが is not). A clause with no subject of
137
- * its own there is read to the end, unless a name stands as a new topic straight after the comma (〜ましたが、B大臣は…).
142
+ * its own there is read to the end, unless a name stands as a new topic straight after the comma (〜ましたが、B大臣は…), or the
143
+ * topic is an act made a noun (つまびらかにすることは差し控えますが、…): what is said of an act ends there, and the rest is the
144
+ * speaker's.
138
145
  */
139
146
  const closesWithPoliteGa = (tokens, topic, at, last) => {
140
147
  if (!isPoliteGa(tokens, at) || !isComma(tokens[at + 1]) || subjectBetween(tokens, topic, at))
141
148
  return false;
142
- if (newNameTopicRunsToEnd(tokens, at + 1, last))
149
+ if (isActTopic(tokens, topic) || newNameTopicRunsToEnd(tokens, at + 1, last))
143
150
  return true;
144
151
  const comma = tokens.findIndex((token, index) => index > at + 1 && index < last && isComma(token));
145
152
  const clauseEnd = comma === -1 ? last : comma;
@@ -1 +1 @@
1
- {"version":3,"file":"topic-clause.js","sourceRoot":"","sources":["../src/topic-clause.ts"],"names":[],"mappings":"AAIA,MAAM,KAAK,GAAG,IAAI,GAAG,CAAC,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC;AAClC,MAAM,OAAO,GAAG,IAAI,GAAG,CAAC,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;AACnD,MAAM,SAAS,GAAG,IAAI,GAAG,CAAC,CAAC,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,CAAC,CAAC,CAAC;AAC3D,gEAAgE;AAChE,MAAM,gBAAgB,GAAG,IAAI,GAAG,CAAC,CAAC,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC;AACxD,qGAAqG;AACrG,MAAM,SAAS,GAAG,IAAI,GAAG,CAAC,CAAC,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC;AAE5D;;;GAGG;AACH,MAAM,QAAQ,GAAG,CAAC,KAAwB,EAAW,EAAE,CACrD,KAAK,EAAE,OAAO,KAAK,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,KAAK,KAAK,IAAI,KAAK,CAAC,GAAG,KAAK,KAAK,CAAC,CAAC,CAAC,KAAK,EAAE,GAAG,KAAK,KAAK,IAAI,KAAK,CAAC,KAAK,KAAK,IAAI,CAAC;AAErH,wGAAwG;AACxG,MAAM,WAAW,GAAG,IAAI,GAAG,CAAC,CAAC,IAAI,EAAE,KAA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EAAE,EAAE,IAAI,CAAC;QAC3C,oBAAoB,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE,KAAK,CAAC;QAC9C,kBAAkB,CAAC,MAAM,EAAE,EAAE,CAAC;QAC9B,uBAAuB,CAAC,MAAM,EAAE,KAAK,EAAE,EAAE,EAAE,IAAI,CAAC,CAAC;IACnD,MAAM,GAAG,GAAG,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,GAAG,KAAK,IAAI,EAAE,GAAG,IAAI,IAAI,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC;IAC/E,OAAO,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,GAAG,CAAC;AACtC,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chaffjs",
3
- "version": "0.47.0",
3
+ "version": "0.49.0",
4
4
  "description": "Prose validation harness. Finds what is hard to read, and never rewrites it for you.",
5
5
  "keywords": [
6
6
  "chaff",
@@ -89,8 +89,8 @@
89
89
  },
90
90
  "dependencies": {
91
91
  "@anthropic-ai/sdk": "^0.125.0",
92
- "@chaffjs/lang-en": "0.44.0",
93
- "@chaffjs/lang-ja": "0.46.0",
92
+ "@chaffjs/lang-en": "0.46.0",
93
+ "@chaffjs/lang-ja": "0.48.0",
94
94
  "character-entities": "^2.0.2",
95
95
  "mdast-util-from-markdown": "^2.0.3",
96
96
  "mdast-util-frontmatter": "^2.0.1",
@@ -46,8 +46,8 @@ example:
46
46
  She hurried to the room and eased the door open. He needed the report and demanded it.
47
47
 
48
48
  not_flagged:
49
- ja: 短い文書(200 語より短いもの)は測りません。文の途中の頭だけ大文字の -ly の語(July、Kelly)は名前か題の語なので数えません。書き手の確かさを言う副詞(probably、apparently、honestly)も、畳む先の動詞が無いので数えません(語の一覧は語彙表 stance-adverb)。
50
- en: Documents under 200 words are not measured. A capitalised -ly word in mid-sentence (July, Kelly) is a name or a word of a title, and is not counted. Nor is an adverb that says how sure or frank the writer is (probably, apparently, honestly), since there is no verb to fold it into (the words are in the stance-adverb lexicon).
49
+ ja: 短い文書(200 語より短いもの)は測りません。文の途中の頭だけ大文字の -ly の語(July、Kelly)は名前か題の語なので数えません。題の書き方の行の頭の語(Frequently Asked Questions)も、題の語なので数えません。書き手の確かさを言う副詞(probably、apparently、honestly)も、畳む先の動詞が無いので数えません(語の一覧は語彙表 stance-adverb)。
50
+ en: Documents under 200 words are not measured. A capitalised -ly word in mid-sentence (July, Kelly) is a name or a word of a title, and is not counted; so is one that opens a line written in title case (Frequently Asked Questions). Nor is an adverb that says how sure or frank the writer is (probably, apparently, honestly), since there is no verb to fold it into (the words are in the stance-adverb lexicon).
51
51
  level_meaning:
52
52
  ja: 1000 語あたり -ly 副詞 {limit} 個まで
53
53
  en: up to {limit} -ly adverbs per 1000 words
@@ -46,8 +46,8 @@ example:
46
46
  The fee is waived on request for members, including student members under 25.
47
47
 
48
48
  not_flagged:
49
- ja: 二重までの括弧(文学では三重まで。台詞の中で人の言葉を引くと、話の形として三重になる)、開きの無い閉じ括弧(「1)」)、コードと数式($…$)の中の括弧、波括弧は数えません。そのとおりに打ち込む文字列の引用(件名に「応募(総務課)」と記載、「【様式】(氏名)」とファイル名を変更)は、中の括弧が文字列の一部で外せないので、一つの括弧として数えます。語の一部として書いた括弧(読みの「拓(ひら)く」、名前の後ろの添え書きの「栄養教諭(仮称)」、英字や数字にすぐ続けた条文の項の印の「§ 1813(h)」、引用で大文字小文字を改めた一字の「[A]」)は数えません。
50
- en: Two levels of brackets (three in literature, where a speech quoting someone else's words nests three deep by the story's form), a closing bracket with no opener ("1)"), brackets in code or in a formula ($…$), and curly braces are not counted. A quotation of a string to type as it stands (an e-mail subject, a file name, as in with the subject line “Entry (Training)”) counts as one bracket, since its own brackets cannot be taken out. A bracket written as part of a word (a reading such as 拓(ひら)く, a note right after a name such as 栄養教諭(仮称), a subsection mark right after a number such as § 1813(h), a letter altered in a quotation such as [A]) is not counted.
49
+ ja: 二重までの括弧(文学では三重まで。台詞の中で人の言葉を引くと、話の形として三重になる)、開きの無い閉じ括弧(「1)」)、コードと数式($…$)の中の括弧、波括弧は数えません。そのとおりに打ち込む文字列の引用(件名に「応募(総務課)」と記載、「【様式】(氏名)」とファイル名を変更)は、中の括弧が文字列の一部で外せないので、一つの括弧として数えます。語の一部として書いた括弧(読みの「拓(ひら)く」、名前の後ろの添え書きの「栄養教諭(仮称)」、英字や数字にすぐ続けた条文の項の印の「§ 1813(h)」、引用で大文字小文字を改めた一字の「[A]」)は数えません。詩の引用で行の頭ごとに開き直す引用符(“… / “… / “…”)は、同じ引用の続きとして深くしません。
50
+ en: Two levels of brackets (three in literature, where a speech quoting someone else's words nests three deep by the story's form), a closing bracket with no opener ("1)"), brackets in code or in a formula ($…$), and curly braces are not counted. A quotation of a string to type as it stands (an e-mail subject, a file name, as in with the subject line “Entry (Training)”) counts as one bracket, since its own brackets cannot be taken out. A bracket written as part of a word (a reading such as 拓(ひら)く, a note right after a name such as 栄養教諭(仮称), a subsection mark right after a number such as § 1813(h), a letter altered in a quotation such as [A]) is not counted. In quoted verse, the quotation mark reopened at the head of each line (“… / “… / “…”) goes on with the same quotation and does not nest deeper.
51
51
  level_meaning:
52
52
  ja: 括弧の重なり {limit} 重まで
53
53
  en: brackets nested up to {limit} deep
@@ -61,5 +61,5 @@ example:
61
61
  Gather the tools. See [Setup](#setup) for more.
62
62
 
63
63
  not_flagged:
64
- ja: 見出しの名前は字と数字だけで比べ、大文字小文字や記号の違いは問いません。「[1][2]」のような文献の番号、「A[i][j]」のような添字、使われていない定義、サイトが定義を足す名前を省いた画像の参照(「![完了][]」の印)も指しません。
65
- en: Heading anchors are compared on letters and digits only, ignoring case and punctuation. Citation numbers ("[1][2]"), subscripts ("A[i][j]"), definitions no link uses and an image reference with its label left out ("![Complete][]", a status icon the site defines) are not reported.
64
+ ja: 見出しの名前は字と数字だけで比べ、大文字小文字や記号の違いは問いません。「[1][2]」のような文献の番号、「A[i][j]」のような添字、「[Excel:28KB][PDF:47KB]」のようなファイルの種類と大きさの札、使われていない定義、サイトが定義を足す名前を省いた画像の参照(「![完了][]」の印)も指しません。
65
+ en: Heading anchors are compared on letters and digits only, ignoring case and punctuation. Citation numbers ("[1][2]"), subscripts ("A[i][j]"), file-type and size labels ("[Excel:28KB][PDF:47KB]"), definitions no link uses and an image reference with its label left out ("![Complete][]", a status icon the site defines) are not reported.
@@ -69,8 +69,8 @@ example:
69
69
  Replies to help desk tickets now take 1 day on average, down from 3. Customer satisfaction rose from 72% to 85%. Overtime fell by 10 hours a month.
70
70
 
71
71
  not_flagged:
72
- ja: 3 文より短い節、索引のように項目を並べた節、条件を並べた節(応募資格・業務内容)、文の半分以上が問い・指示(〜してください)・見込みや方針(〜が期待される、〜すべきである)の節は見ません。ウェブページの変換で残った案内の行(ページの先頭です。)は文に数えません。
73
- en: Sections shorter than three sentences, index-like sections of entries, sections that list conditions (Requirements, Responsibilities), and sections where at least half the sentences are questions, instructions, or possibilities and plans (may, should, we will, we recommend) are not checked. Site navigation left by a web page's conversion (Skip to main content) is not counted as a sentence.
72
+ ja: 3 文より短い節、索引のように項目を並べた節、条件を並べた節(応募資格・業務内容)、文の半分以上が問い・指示(〜してください)・見込みや方針(〜が期待される、〜すべきである)の節は見ません。ウェブページの変換で残った案内の行(ページの先頭です。)は文に数えません。地の文のドメイン名(IdentityTheft.gov)と固有の名前(KubeCon、GitHub)も具体物に数えます。ただし文書の半分以上の節に出る名前(文書の主題)、大文字だけの略語、文頭の語は数えません。下に節を持つ親の節は、下の節と合わせて見ます。項目ごとに同じ見出しの欄を繰り返す文書(各項目に「状況」「解決策」)では、欄は項目全体と合わせて見ます。
73
+ en: Sections shorter than three sentences, index-like sections of entries, sections that list conditions (Requirements, Responsibilities), and sections where at least half the sentences are questions, instructions, or possibilities and plans (may, should, we will, we recommend) are not checked. Site navigation left by a web page's conversion (Skip to main content) is not counted as a sentence. A domain name in the text (IdentityTheft.gov) and a proper name (KubeCon, GitHub) count as concrete, except a name found in half the sections or more (the document's subject), an all-capitals acronym, and a sentence's first word. A parent section is judged together with its subsections. Where each entry repeats the same headings (Situation, Solution under every entry), such a section is judged with its whole entry.
74
74
  level_meaning:
75
75
  ja: 具体物のない節が {limit} 個あれば指摘
76
76
  en: reported once {limit} sections have nothing concrete
@@ -9,8 +9,8 @@ name:
9
9
  en: Doubled punctuation
10
10
 
11
11
  why:
12
- ja: 「。。」「、、」「、。」のように句読点が二つ並ぶのは、打ち直しや貼り付けで残った印です。読み手はそこで止まり、急いで書いた文書に見えます。同じ印を三つ以上並べたもの(「...」「。。。」)はわざと伸ばした書き方なので数えません。「e.g.,」「etc.;」のような略語の点の後ろの読点、英字の会社の名前の形の点と「,」(INC.、 CO.,LTD.)、「、.NET」のように次の語の頭の点、「1..10」「../」のような範囲や道のり、目次の行のページ番号の前の点線(「Command.. 7」)、コードと URL も数えません。「!!」「??」は文体の選び方なので見ません。
13
- en: Two punctuation marks side by side ("..", ",,", "i.e.,,") are left over from an edit or a paste. The reader stops there, and the document looks rushed. Three or more of the same mark ("...") are drawn out on purpose and are not counted, nor is the comma or semicolon after an abbreviation's period ("e.g.,", "etc.;"), the points and comma of a company form in a Japanese sentence ("INC.、", "CO.,LTD."), a period that starts the next word (".NET"), a range or path ("1..10", "../"), the dot leader before a page number in a contents line ("Command.. 7"), code or a URL. "!!" and "??" are a matter of style and are not checked.
12
+ ja: 「。。」「、、」「、。」のように句読点が二つ並ぶのは、打ち直しや貼り付けで残った印です。読み手はそこで止まり、急いで書いた文書に見えます。同じ印を三つ以上並べたもの(「...」「。。。」)はわざと伸ばした書き方なので数えません。「e.g.,」「etc.;」のような略語の点の後ろの読点、英字の会社の名前の形の点と「,」(INC.、 CO.,LTD.)、「、.NET」のように次の語の頭の点、「1..10」「../」のような範囲や道のり、目次の行のページ番号の前の点線(「Command.. 7」)、配役表のように点線で欄を揃えた表の点線(「NORA.. Emma Vernon」)、コードと URL も数えません。「!!」「??」は文体の選び方なので見ません。
13
+ en: Two punctuation marks side by side ("..", ",,", "i.e.,,") are left over from an edit or a paste. The reader stops there, and the document looks rushed. Three or more of the same mark ("...") are drawn out on purpose and are not counted, nor is the comma or semicolon after an abbreviation's period ("e.g.,", "etc.;"), the points and comma of a company form in a Japanese sentence ("INC.、", "CO.,LTD."), a period that starts the next word (".NET"), a range or path ("1..10", "../"), the dot leader before a page number in a contents line ("Command.. 7") or in a table whose columns are lined up with dot leaders, such as a play's cast list ("NORA.. Emma Vernon"), code or a URL. "!!" and "??" are a matter of style and are not checked.
14
14
 
15
15
  message:
16
16
  ja: 「{marks}」と句読点が重なっています
@@ -45,8 +45,8 @@ example:
45
45
  The team meets on Friday to review the budget. The finance team will lead it.
46
46
 
47
47
  not_flagged:
48
- ja: 「it is raining」のように that 節を伴わない It is は数えません。
49
- en: '"It is" without a that-clause ("it is raining") is not counted.'
48
+ ja: "「it is raining」のように that 節を伴わない It is は数えません。誰が何を言ったかを記した議事録で、話し手の名前で始まる段落(Mara: There's some history ...)の文も数えません。話した人の言い方を書き手がそのまま残したもので、書き手が直す文ではないためです。名前と読むのは、3 人以上がそれぞれ 3 回以上、段落の頭で話しているときだけです(Status: と Comments: だけの項目は名前と読みません)。"
49
+ en: '"It is" without a that-clause ("it is raining") is not counted. Nor is a sentence in a paragraph of minutes that opens with a speaker''s name ("Mara: There''s some history ..."): it is that person''s phrasing, recorded as said, not the writer''s to recast. Names are read only when three or more of them each open three or more paragraphs (two field labels such as Status: and Comments: are not names).'
50
50
  level_meaning:
51
51
  ja: この形の文 {limit} 回まで
52
52
  en: up to {limit} such sentences
@@ -5,6 +5,7 @@ how_to_find: kanji-run
5
5
  # 品詞があれば、住所(地名と数だけでできた連なり)と 1 つの名前(辞書の固有名詞 1 語、人の姓と名)を数えない。無くても文字だけで動く。
6
6
  uses: [pos]
7
7
  # chaff.yaml の names に並べた名前は連なりを切る。鉤括弧の中身がまるごと 1 つの連なりなら数えない(書き手が 1 つの名前と示している)。
8
+ # 語のすぐ後ろの丸括弧の中身がまるごと 1 つの連なり(EBITDA+(減価償却他調整前営業利益))も、前の語の言い換えか展開なので数えない。
8
9
  # 住所の先頭にしか来ない単位(都道府県)。地名の後ろに付けば、割られた町名ではなく地名の並び。
9
10
  # 組織の名前(organisation-form で始まるか地名・固有名詞で始まり organisation-unit で閉じる、organisation-unit で閉じる区切りが続く、
10
11
  # または固有名詞か地名を含み、名前の後ろに立つ法人格で閉じる)は数えない。
@@ -13,7 +14,8 @@ uses: [pos]
13
14
  # 〜交付金、〜基金、〜区域)は、置き方を問わず数えない。
14
15
  # 日付の単位(4月の「月」)は、数に付いた助数詞として連なりの頭から外す。漢数字の日付(令和七年六月二十三日)も頭から外す。
15
16
  # 中黒の後ろへ続いて organisation-unit で閉じる名前(〜審議会企業年金・個人年金部会)の前半は数えない。
16
- # 文書のどこかで括弧の中身がまるごとその連なりである名前は、文の中で使っても数えない。法令の題(〜に関する法律)を囲む括弧の中の連なりも数えない。
17
+ # 文書のどこかで括弧の中身がまるごとその連なりである名前は、文の中で使っても数えない。番号や内容の行の上に一行で置いた名前
18
+ # (児童相談所虐待対応ダイヤル / 189)も同じに読み、文の中ではその名前の後ろで割る。法令の題(〜に関する法律)を囲む括弧の中の連なりも数えない。
17
19
  # 文書が単独で使う法令・制度の名前(政治資金規正法)と、法令が名に取った語(愛玩動物看護師法の「愛玩動物看護師」)は、連なりの中でも割る。
18
20
  # 職名(kanji-known-word)のすぐ前か後ろの人の姓と名も割る。元号の付いた年(令和元年)と、仮名へ続く接続の語の漢字(及び の「及」)は外す。
19
21
  # 連なりの中ほどの list-suffix(高齢運転者等専用駐車区間の「等」)は語の終わりを見せるので、そこでも割る。range-suffix(以外、以上)も同じに読む。
@@ -90,8 +92,8 @@ example:
90
92
  after: 来週、新しい顧客を増やす施策を話し合う会議を開きます。
91
93
 
92
94
  not_flagged:
93
- ja: 組織の正式名称(国立研究開発法人産業技術総合研究所、経済産業省製造産業局自動車課、東日本青葉自動車販売株式会社)、題の名前(要綱・試験・事業・法令などで終わり、一行だけで書くか括弧でくくるか見出しにあるか、文書の中で繰り返すもの。大阪市鶴見区役所公募型比較見積実施要綱など)、法令・制度・給付・基金・指定区域の名前(住民基本台帳法施行令、勤労者財産形成貯蓄制度、社会資本整備総合交付金、地域医療介護総合確保基金、特定復興再生拠点区域。文のどこにあっても)、chaff.yaml の names に書いた組織名や製品名、法令の条番号(第二十二条第二項、学校教育法第三十条第二項の「第三十条第二項」)は数えません。空白を挟んで法人格か組織の区切りの後ろに立つ組織の名前(一般社団法人 全国〜センター、〜局 〜課 〜係)と、鉤括弧の中身が漢字の連なりとカタカナや英数字の語だけの名前(「登録業者情報検索入力ページ」)も数えません。頭の、前を指す語(上記、当該)と代の序数(第百二代、初代)と漢数字の日付(令和七年六月二十三日、令和元年)、尻の「等」と範囲を示す語(自動車保険契約以外の「以外」、基準以上の「以上」)と、仮名へ続く接続の語の漢字(方針及び基本構想の「及」)は数えません。連なりの中ほどの「等」と範囲を示す語(高齢運転者等専用駐車区間、関係者以外立入禁止)は語の終わりを見せるので、その前と後ろを別に数えます。文書のどこかで括弧でまるごとくくった名前(「署名用電子証明書確認画面」、[当事者系審判請求人])は文の中で使っても数えず、法令の題を囲む括弧((〜に関する法律))の中の連なりも数えません。文書が単独で使う法令の名前(政治資金規正法)と法令が名に取った語(愛玩動物看護師法の「愛玩動物看護師」)、職名のすぐ前か後ろの人の姓と名(小泉純一郎内閣総理大臣、内閣総理大臣石破茂)は、連なりを割ります。序数で始まる組織の単位(方式審査室第三担当、東京電力福島第一原子力発電所)と、中黒の後ろで組織の語で閉じる名前の前半(社会保障審議会企業年金・個人年金部会の「社会保障審議会企業年金」)も数えません。文書がほかで単独で使う組織の名前(安全保障理事会常任理事国の「安全保障理事会」)、連なりを閉じる決まった語(日本国内閣総理大臣の「内閣総理大臣」、〜許可事業者)は、その前後を別の連なりとして数えます。用語集(headword_genres)の、一行が漢字の連なりだけの見出し語は数えません。出席者の並び(区長、副区長、〜委員会事務局長)のように文で終わらない名前の並びの項目は、宛名と同じく、組織の名前の後ろの役職を数えません。注の中の文献の記述(著者. 題. 出版者, 2025, p. 369.)は、引いた文献の題と名前なので数えません。
94
- en: Official organisation names (a legal form or a place name followed by a name that ends in a unit such as 研究所 or 協会, or a chain of units such as 省・局・課, or a name with a proper noun closed by a legal form such as 株式会社), titles of named things (a run ending in 要綱, 試験, 事業, 法 and the like that stands on a line of its own, closes a bracket, is followed by a bracketed note, appears in a heading, or recurs in the document), names of statutes, schemes, grants, funds and designated zones wherever they stand (住民基本台帳法施行令, 勤労者財産形成貯蓄制度, 社会資本整備総合交付金, 地域医療介護総合確保基金, 特定復興再生拠点区域), names listed under names in chaff.yaml, and provision numbers in statutes (第二十二条第二項, and 第三十条第二項 after the statute name in 学校教育法第三十条第二項) are not counted. Nor is an organisation name that follows a legal form or an organisation unit across a space (一般社団法人 全国〜センター, 〜局 〜課 〜係), or a name in 「」 made of the kanji run and words with no kanji or hiragana (「登録業者情報検索入力ページ」). A leading word that points back or ahead (上記, 当該), a leading ordinal (第百二代, 初代), a leading date in kanji numerals (令和七年六月二十三日, 令和元年), a trailing 等 or a word that marks a range (以外 in 自動車保険契約以外, 以上 in 基準以上), and the kanji of a conjunction that continues in kana (及 in 方針及び基本構想) are not counted. A 等 or a range word in the middle of a run (高齢運転者等専用駐車区間, 関係者以外立入禁止) shows where a word ends, so what is before and after it is counted apart. A name the document puts whole in brackets somewhere (「署名用電子証明書確認画面」, [当事者系審判請求人]) is not counted where it is used in a sentence either, nor is a run inside the brackets around a statute's title ((〜に関する法律)). A statute name the document uses on its own (政治資金規正法), the term a statute is named after (愛玩動物看護師 in 愛玩動物看護師法), and a person's full name right before or after an official title (小泉純一郎内閣総理大臣, 内閣総理大臣石破茂) split the run. Nor is an organisation unit that starts with an ordinal (方式審査室第三担当, 東京電力福島第一原子力発電所), or the first half of an organisation name that continues after a ・ and closes in an organisation unit (社会保障審議会企業年金 in 社会保障審議会企業年金・個人年金部会). An organisation name the document uses on its own elsewhere (安全保障理事会 in 安全保障理事会常任理事国), and a fixed word that closes the run (内閣総理大臣 in 日本国内閣総理大臣, 〜許可事業者) split the run, and what is before and after them is counted apart. In a glossary (headword_genres), a line that holds only a run of kanji is the headword and is not counted. In a list of names with no sentence end (an attendee list such as 区長、副区長、〜委員会事務局長), the title after an organisation name in an item is not counted, as in an addressee line. A bibliographic entry in a note (著者. 題. 出版者, 2025, p. 369.) holds the cited work's titles and names, and is not counted.
95
+ ja: 組織の正式名称(国立研究開発法人産業技術総合研究所、経済産業省製造産業局自動車課、東日本青葉自動車販売株式会社)、題の名前(要綱・試験・事業・法令などで終わり、一行だけで書くか括弧でくくるか見出しにあるか、文書の中で繰り返すもの。大阪市鶴見区役所公募型比較見積実施要綱など)、法令・制度・給付・基金・指定区域の名前(住民基本台帳法施行令、勤労者財産形成貯蓄制度、社会資本整備総合交付金、地域医療介護総合確保基金、特定復興再生拠点区域。文のどこにあっても)、chaff.yaml の names に書いた組織名や製品名、法令の条番号(第二十二条第二項、学校教育法第三十条第二項の「第三十条第二項」)は数えません。空白を挟んで法人格か組織の区切りの後ろに立つ組織の名前(一般社団法人 全国〜センター、〜局 〜課 〜係)と、鉤括弧の中身が漢字の連なりとカタカナや英数字の語だけの名前(「登録業者情報検索入力ページ」)と、語のすぐ後ろの丸括弧を埋める言い換えや展開(EBITDA+(減価償却他調整前営業利益)、修士の学位(大学院修士課程修了程度))も数えません。頭の、前を指す語(上記、当該)と代の序数(第百二代、初代)と漢数字の日付(令和七年六月二十三日、令和元年)、尻の「等」と範囲を示す語(自動車保険契約以外の「以外」、基準以上の「以上」)と、仮名へ続く接続の語の漢字(方針及び基本構想の「及」)は数えません。連なりの中ほどの「等」と範囲を示す語(高齢運転者等専用駐車区間、関係者以外立入禁止)は語の終わりを見せるので、その前と後ろを別に数えます。文書のどこかで括弧でまるごとくくった名前(「署名用電子証明書確認画面」、[当事者系審判請求人])と、番号や内容の行の上に一行で置いた名前(児童相談所虐待対応ダイヤルの下に 189)は文の中で使っても数えず、法令の題を囲む括弧((〜に関する法律))の中の連なりも数えません。文書が単独で使う法令の名前(政治資金規正法)と法令が名に取った語(愛玩動物看護師法の「愛玩動物看護師」)、職名のすぐ前か後ろの人の姓と名(小泉純一郎内閣総理大臣、内閣総理大臣石破茂)は、連なりを割ります。序数で始まる組織の単位(方式審査室第三担当、東京電力福島第一原子力発電所)と、中黒の後ろで組織の語で閉じる名前の前半(社会保障審議会企業年金・個人年金部会の「社会保障審議会企業年金」)も数えません。文書がほかで単独で使う組織の名前(安全保障理事会常任理事国の「安全保障理事会」)、連なりを閉じる決まった語(日本国内閣総理大臣の「内閣総理大臣」、〜許可事業者)は、その前後を別の連なりとして数えます。用語集(headword_genres)の、一行が漢字の連なりだけの見出し語は数えません。出席者の並び(区長、副区長、〜委員会事務局長)のように文で終わらない名前の並びの項目は、宛名と同じく、組織の名前の後ろの役職を数えません。注の中の文献の記述(著者. 題. 出版者, 2025, p. 369.)は、引いた文献の題と名前なので数えません。
96
+ en: Official organisation names (a legal form or a place name followed by a name that ends in a unit such as 研究所 or 協会, or a chain of units such as 省・局・課, or a name with a proper noun closed by a legal form such as 株式会社), titles of named things (a run ending in 要綱, 試験, 事業, 法 and the like that stands on a line of its own, closes a bracket, is followed by a bracketed note, appears in a heading, or recurs in the document), names of statutes, schemes, grants, funds and designated zones wherever they stand (住民基本台帳法施行令, 勤労者財産形成貯蓄制度, 社会資本整備総合交付金, 地域医療介護総合確保基金, 特定復興再生拠点区域), names listed under names in chaff.yaml, and provision numbers in statutes (第二十二条第二項, and 第三十条第二項 after the statute name in 学校教育法第三十条第二項) are not counted. Nor is an organisation name that follows a legal form or an organisation unit across a space (一般社団法人 全国〜センター, 〜局 〜課 〜係), or a name in 「」 made of the kanji run and words with no kanji or hiragana (「登録業者情報検索入力ページ」), or a run that fills the round brackets right after a word, restating or expanding it (EBITDA+(減価償却他調整前営業利益), 修士の学位(大学院修士課程修了程度)). A leading word that points back or ahead (上記, 当該), a leading ordinal (第百二代, 初代), a leading date in kanji numerals (令和七年六月二十三日, 令和元年), a trailing 等 or a word that marks a range (以外 in 自動車保険契約以外, 以上 in 基準以上), and the kanji of a conjunction that continues in kana (及 in 方針及び基本構想) are not counted. A 等 or a range word in the middle of a run (高齢運転者等専用駐車区間, 関係者以外立入禁止) shows where a word ends, so what is before and after it is counted apart. A name the document puts whole in brackets somewhere (「署名用電子証明書確認画面」, [当事者系審判請求人]), or writes as a line of its own above a number or other lines (児童相談所虐待対応ダイヤル above 189), is not counted where it is used in a sentence either, nor is a run inside the brackets around a statute's title ((〜に関する法律)). A statute name the document uses on its own (政治資金規正法), the term a statute is named after (愛玩動物看護師 in 愛玩動物看護師法), and a person's full name right before or after an official title (小泉純一郎内閣総理大臣, 内閣総理大臣石破茂) split the run. Nor is an organisation unit that starts with an ordinal (方式審査室第三担当, 東京電力福島第一原子力発電所), or the first half of an organisation name that continues after a ・ and closes in an organisation unit (社会保障審議会企業年金 in 社会保障審議会企業年金・個人年金部会). An organisation name the document uses on its own elsewhere (安全保障理事会 in 安全保障理事会常任理事国), and a fixed word that closes the run (内閣総理大臣 in 日本国内閣総理大臣, 〜許可事業者) split the run, and what is before and after them is counted apart. In a glossary (headword_genres), a line that holds only a run of kanji is the headword and is not counted. In a list of names with no sentence end (an attendee list such as 区長、副区長、〜委員会事務局長), the title after an organisation name in an item is not counted, as in an addressee line. A bibliographic entry in a note (著者. 題. 出版者, 2025, p. 369.) holds the cited work's titles and names, and is not counted.
95
97
  level_meaning:
96
98
  ja: 漢字の連続 {limit} 字まで
97
99
  en: up to {limit} kanji in a row
@@ -104,9 +104,9 @@ example:
104
104
 
105
105
  not_flagged:
106
106
  ja: >-
107
- 見出し、表のセル、コードは数えません。句点の無い、名前や肩書きを「、」で並べただけの行(出席者の一覧)も数えません。印刷版を文字にした文書が文の途中に残すページの印(「( printed page 52044)」「- 12 -」)も数えません。脚注の文献の記載(著者 (2025), "題," 出版者)は、その前に書き手が置いた言葉(For example, see …)だけを数えます。句点で閉じた文を二つ以上引いた「」(「…転落。…入院。」)は、引いた文を一つずつ、括弧の外を別に測ります。句点の無い「項目:値」の行が続くもの(日時:…/場所:…)は一行ずつ、変換で区切りが消えて一続きになった表(桁区切りの崩れた数字の列、行頭の年月が前のセルに続く年表)はセルごとに測ります。コロンの後に引いた「"…"」は括弧の外と別に測ります。仕様書の文法(name = a / b)、引用記号で始まる法令や文書の列挙(See, e.g., 12 C.F.R. § …; …)は数えません。英文の題名の後の括弧書きは括弧の中だけを、文書の参照(番号、"題名"、(日付))は題名を除いて数えます。引用記号で始まる脚注(See …)は、引いた法令や文書の名前・"題名"・略称や番号の括弧を除いた言葉だけを数えます。他の文書をそのまま写した文(文書がほかで名前を挙げて引いている法律を見出しにした節の条、「reads as follows:」のような前置きの次の段落)は数えません。法令や論文のように長い一文が普通の種類では、ジャンルが上限を長くします。
107
+ 見出し、表のセル、コードは数えません。句点の無い、名前や肩書きを「、」で並べただけの行(出席者の一覧)も数えません。印刷版を文字にした文書が文の途中に残すページの印(「( printed page 52044)」「- 12 -」)も数えません。脚注の文献の記載(著者 (2025), "題," 出版者)は、その前に書き手が置いた言葉(For example, see …)だけを数え、前の文献の終わり((Washington: …); and)から始まる文は、そこまでを数えません。姓と頭文字で並べた文献の著者(Kreimer AR, Porras C, …)は一語として数えます。括弧の中で閉じた文(「….)」)は、後ろの文と別に測ります。句点で閉じた文を二つ以上引いた「」(「…転落。…入院。」)は、引いた文を一つずつ、括弧の外を別に測ります。句点の無い「項目:値」の行が続くもの(日時:…/場所:…)は一行ずつ、変換で区切りが消えて一続きになった表(桁区切りの崩れた数字の列、行頭の年月が前のセルに続く年表)はセルごとに測ります。コロンの後に引いた「"…"」は括弧の外と別に測ります。仕様書の文法(name = a / b)、引用記号で始まる法令や文書の列挙(See, e.g., 12 C.F.R. § …; …)は数えません。英文の題名の後の括弧書きは括弧の中だけを、文書の参照(番号、"題名"、(日付))は題名を除いて数えます。引用記号で始まる脚注(See …)は、引いた法令や文書の名前・"題名"・略称や番号の括弧を除いた言葉だけを数えます。他の文書をそのまま写した文(文書がほかで名前を挙げて引いている法律を見出しにした節の条、「reads as follows:」のような前置きの次の段落)は数えません。法令や論文のように長い一文が普通の種類では、ジャンルが上限を長くします。
108
108
  en: >-
109
- Headings, table cells and code are not counted, nor is a line that only lists names or titles with 、 and has no full stop (an attendee list), nor are the page markers a converted print edition leaves inside a sentence ("( printed page 52044)", "[[Page 52044]]"). A footnote that is a bibliographic citation (authors (2025), "Title," publisher) counts only the words the writer puts before it ("For example, see …"). A 「」 quotation holding two or more sentences closed by 。 is measured sentence by sentence, apart from the words around it. Lines of a label and a value with no full stop (When: … / Where: …) are measured one line at a time, and a table a converter ran together (numbers whose digit groups broke, a chronology whose dates run into the cell before) cell by cell. A quotation opened after a colon (has observed: "…") is measured apart from the writer's words. A grammar in a specification (name = a / b), a citation string after a signal (See, e.g., 12 C.F.R. § …; …), the title before a remark in parentheses and the quoted title of a reference line (Letter 21-8, "Title" (April 9, 2021).) are not counted. A footnote that opens with a signal (See …) counts only its words outside the names, "titles" and parentheses of codes it cites. Text copied word for word from another document is not counted: the articles of a statute under a heading that names it, where the document cites that statute elsewhere, and the paragraph after a lead-in such as "reads as follows:". Genres where long sentences are normal (statutes, papers) raise the limit.
109
+ Headings, table cells and code are not counted, nor is a line that only lists names or titles with 、 and has no full stop (an attendee list), nor are the page markers a converted print edition leaves inside a sentence ("( printed page 52044)", "[[Page 52044]]"). A footnote that is a bibliographic citation (authors (2025), "Title," publisher) counts only the words the writer puts before it ("For example, see …"), and not the end of an earlier reference it begins inside ("(Washington: …); and"). The authors of a reference written as surname and initials (Kreimer AR, Porras C, …) count as one word. A sentence closed inside parentheses ("….)") is measured apart from the sentence after it. A 「」 quotation holding two or more sentences closed by 。 is measured sentence by sentence, apart from the words around it. Lines of a label and a value with no full stop (When: … / Where: …) are measured one line at a time, and a table a converter ran together (numbers whose digit groups broke, a chronology whose dates run into the cell before) cell by cell. A quotation opened after a colon (has observed: "…") is measured apart from the writer's words. A grammar in a specification (name = a / b), a citation string after a signal (See, e.g., 12 C.F.R. § …; …), the title before a remark in parentheses and the quoted title of a reference line (Letter 21-8, "Title" (April 9, 2021).) are not counted. A footnote that opens with a signal (See …) counts only its words outside the names, "titles" and parentheses of codes it cites. Text copied word for word from another document is not counted: the articles of a statute under a heading that names it, where the document cites that statute elsewhere, and the paragraph after a lead-in such as "reads as follows:". Genres where long sentences are normal (statutes, papers) raise the limit.
110
110
  level_meaning:
111
111
  ja: 一文 {limit} 字まで
112
112
  en: up to {limit} words in a sentence
@@ -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)は指しません。語彙表 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). 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` の節、定義の並び)、句点の無い名詞で終わる一行(表の欄)に出たぶんは数えません。項目ごとの決まった結び(〜ものとすること。原案のとおり決定する。が表示されます。を記載してください。)も、文の終わりにあれば数えません。文書が引いた題の後ろで決まって使う短い結び(詳しくは「…」を確認してください。)、文書の部分を指す名前(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 (〜ものとすること。, 原案のとおり決定する。, が表示されます。, を記載してください。). 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.
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: 読点で区切った並び、=・:・→ で区切った句、「」や『』の中の題名や引用、行の頭のリンクで引いた外のページの題名、文の中に書いた法律の題名(障害者等の移動等の円滑化の促進に関する法律)、短い呼び名を付けた長い名前(被害者のための相談センター(以下「センター」という。))、文書が一度鉤括弧で引いた名前を括弧なしで書き直したもの(「地域のための共通の指針」と引いた後の、地域のための共通の指針の改定)は数えません。括弧(】や ))は、解析器が次の語とつなげて読んでも連なりを切ります。人の集まりを敬って呼ぶ語の前の「の」も、その呼び方が「の」で次の語に係るとき(国民の皆様の期待、被災者の方々の暮らし)は一つの呼び方の中なので数えません。置き場所を前の語との関係で言う語(下、上、横、裏)の前の「の」も、その場所が「の」で次の語に係るとき(ラックの下の段)は一つの場所の名前の中なので数えません。決まった言い回しの中の「の」(絶滅のおそれのある種の「おそれのある」)も、一語のように読むので数えません。表を一続きの文に平らにしたもの(セルの数字がつながった 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 絶滅のおそれのある種). 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.
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