@chaffjs/lang-en 0.17.0 → 0.18.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 (77) hide show
  1. package/dist/dictionary.d.ts +2 -0
  2. package/dist/dictionary.d.ts.map +1 -0
  3. package/dist/dictionary.js +20 -0
  4. package/dist/dictionary.js.map +1 -0
  5. package/dist/index.d.ts.map +1 -1
  6. package/dist/index.js +2 -0
  7. package/dist/index.js.map +1 -1
  8. package/lexicons/absolute-word.yaml +14 -0
  9. package/lexicons/abstract-heading.yaml +7 -0
  10. package/lexicons/age-marker.yaml +10 -0
  11. package/lexicons/approximate-marker.yaml +34 -0
  12. package/lexicons/article-sound.yaml +83 -0
  13. package/lexicons/birth-origin.yaml +5 -0
  14. package/lexicons/bookend-heading.yaml +30 -0
  15. package/lexicons/chat-citation-marker.yaml +11 -0
  16. package/lexicons/citation-author-joiner.yaml +11 -0
  17. package/lexicons/citation-not-author.yaml +40 -0
  18. package/lexicons/dictionary.txt +87150 -0
  19. package/lexicons/duration-day.yaml +6 -0
  20. package/lexicons/duration-month.yaml +6 -0
  21. package/lexicons/duration-week.yaml +6 -0
  22. package/lexicons/duration-year.yaml +6 -0
  23. package/lexicons/elapsed-link.yaml +11 -0
  24. package/lexicons/elapsed-origin.yaml +8 -0
  25. package/lexicons/elapsed-unit.yaml +6 -0
  26. package/lexicons/exception-marker.yaml +10 -0
  27. package/lexicons/extra-word.yaml +185 -0
  28. package/lexicons/fact-attribute.yaml +6 -0
  29. package/lexicons/fact-label-drop.yaml +13 -0
  30. package/lexicons/fact-label-vague.yaml +16 -0
  31. package/lexicons/fact-separator.yaml +11 -0
  32. package/lexicons/fact-value-end.yaml +8 -0
  33. package/lexicons/figure-in-text.yaml +9 -0
  34. package/lexicons/figure-noun.yaml +31 -0
  35. package/lexicons/heading-form.yaml +63 -0
  36. package/lexicons/heading-number-label.yaml +29 -0
  37. package/lexicons/homophone-slip.yaml +37 -0
  38. package/lexicons/known-misspelling.yaml +177 -0
  39. package/lexicons/label-affix.yaml +7 -0
  40. package/lexicons/light-verb.yaml +9 -0
  41. package/lexicons/month-name.yaml +29 -0
  42. package/lexicons/orthographic-variant-distinct.yaml +24 -0
  43. package/lexicons/paper-section-heading.yaml +18 -0
  44. package/lexicons/person-form.yaml +9 -0
  45. package/lexicons/person-not-after.yaml +54 -0
  46. package/lexicons/person-word.yaml +38 -0
  47. package/lexicons/placeholder-word.yaml +10 -0
  48. package/lexicons/pro-con-heading.yaml +15 -0
  49. package/lexicons/redundant-expression.yaml +83 -0
  50. package/lexicons/reference-aside.yaml +21 -0
  51. package/lexicons/reference-list-heading.yaml +11 -0
  52. package/lexicons/reference-topic-link.yaml +5 -0
  53. package/lexicons/reference-topic-vague.yaml +32 -0
  54. package/lexicons/relative-after.yaml +5 -0
  55. package/lexicons/relative-before.yaml +5 -0
  56. package/lexicons/relative-link.yaml +7 -0
  57. package/lexicons/restating-opener.yaml +22 -0
  58. package/lexicons/so-opener.yaml +6 -0
  59. package/lexicons/summary-heading.yaml +13 -0
  60. package/lexicons/unit-data.yaml +28 -0
  61. package/lexicons/unit-length.yaml +44 -0
  62. package/lexicons/unit-mass.yaml +30 -0
  63. package/lexicons/unit-time.yaml +32 -0
  64. package/lexicons/unit-volume.yaml +26 -0
  65. package/lexicons/unnumbered-heading.yaml +27 -0
  66. package/lexicons/vague-link-text.yaml +20 -0
  67. package/lexicons/vague-word.yaml +31 -0
  68. package/lexicons/value-unit.yaml +58 -0
  69. package/lexicons/very-exception.yaml +17 -0
  70. package/lexicons/very-intensifier.yaml +6 -0
  71. package/lexicons/weasel-word.yaml +30 -0
  72. package/lexicons/word-prefix.yaml +31 -0
  73. package/lexicons/word-suffix.yaml +81 -0
  74. package/lexicons/wordy-phrase.yaml +50 -0
  75. package/package.json +1 -1
  76. package/src/dictionary.ts +22 -0
  77. package/src/index.ts +2 -0
@@ -0,0 +1,29 @@
1
+ # Month names and their abbreviations, for date-format-consistency to read "Oct 2, 2026" and "2 October 2026".
2
+ # Matched as written (title case), so the modal "may" is never a month; the period after an abbreviation is optional.
3
+ id: month-name
4
+ language: en
5
+ entries:
6
+ - pattern: January
7
+ - pattern: February
8
+ - pattern: March
9
+ - pattern: April
10
+ - pattern: May
11
+ - pattern: June
12
+ - pattern: July
13
+ - pattern: August
14
+ - pattern: September
15
+ - pattern: October
16
+ - pattern: November
17
+ - pattern: December
18
+ - pattern: Jan
19
+ - pattern: Feb
20
+ - pattern: Mar
21
+ - pattern: Apr
22
+ - pattern: Jun
23
+ - pattern: Jul
24
+ - pattern: Aug
25
+ - pattern: Sept
26
+ - pattern: Sep
27
+ - pattern: Oct
28
+ - pattern: Nov
29
+ - pattern: Dec
@@ -0,0 +1,24 @@
1
+ # Hyphenated words that are a different word from the same letters closed up: re-sign (sign again) is not resign (quit).
2
+ # orthographic-variant does not compare a word written as one of these.
3
+ id: orthographic-variant-distinct
4
+ language: en
5
+ entries:
6
+ - pattern: re-sign
7
+ - pattern: re-cover
8
+ - pattern: re-form
9
+ - pattern: re-creation
10
+ - pattern: re-press
11
+ - pattern: re-collect
12
+ - pattern: re-count
13
+ - pattern: re-mark
14
+ - pattern: re-serve
15
+ - pattern: re-sort
16
+ - pattern: re-treat
17
+ - pattern: re-act
18
+ - pattern: re-fuse
19
+ - pattern: re-lay
20
+ - pattern: re-place
21
+ - pattern: re-sent
22
+ - pattern: re-solve
23
+ - pattern: co-op
24
+ - pattern: un-ionized
@@ -0,0 +1,18 @@
1
+ # Headings that name a section of a research paper. A paper with two or more of them is expected to open with an abstract.
2
+ # Compared without case, numbers or colons.
3
+ id: paper-section-heading
4
+ language: en
5
+ entries:
6
+ - pattern: Introduction
7
+ - pattern: Background
8
+ - pattern: Related work
9
+ - pattern: Method
10
+ - pattern: Methods
11
+ - pattern: Methodology
12
+ - pattern: Materials and methods
13
+ - pattern: Experiments
14
+ - pattern: Results
15
+ - pattern: Discussion
16
+ - pattern: Conclusion
17
+ - pattern: Conclusions
18
+ - pattern: Limitations
@@ -0,0 +1,9 @@
1
+ # A form (person-word's instead_of) and the party it names. Forms with the same instead_of should agree in one document.
2
+ # reader: the reader addressed as you or as one
3
+ id: person-form
4
+ language: en
5
+ entries:
6
+ - pattern: you
7
+ instead_of: reader
8
+ - pattern: one
9
+ instead_of: reader
@@ -0,0 +1,54 @@
1
+ # A word right before a person-word that makes it something else: a determiner before "one" (no one can, the one we
2
+ # chose), or a preposition that makes "one" the object of a phrase (devices connected to one can cause a shock).
3
+ # instead_of is the form the word guards; "to you" is still the reader.
4
+ id: person-not-after
5
+ language: en
6
+ entries:
7
+ - pattern: no
8
+ instead_of: one
9
+ - pattern: any
10
+ instead_of: one
11
+ - pattern: every
12
+ instead_of: one
13
+ - pattern: each
14
+ instead_of: one
15
+ - pattern: the
16
+ instead_of: one
17
+ - pattern: this
18
+ instead_of: one
19
+ - pattern: that
20
+ instead_of: one
21
+ - pattern: which
22
+ instead_of: one
23
+ - pattern: another
24
+ instead_of: one
25
+ - pattern: only
26
+ instead_of: one
27
+ - pattern: such
28
+ instead_of: one
29
+ - pattern: than
30
+ instead_of: one
31
+ - pattern: to
32
+ instead_of: one
33
+ - pattern: of
34
+ instead_of: one
35
+ - pattern: with
36
+ instead_of: one
37
+ - pattern: for
38
+ instead_of: one
39
+ - pattern: from
40
+ instead_of: one
41
+ - pattern: on
42
+ instead_of: one
43
+ - pattern: in
44
+ instead_of: one
45
+ - pattern: by
46
+ instead_of: one
47
+ - pattern: at
48
+ instead_of: one
49
+ - pattern: into
50
+ instead_of: one
51
+ - pattern: about
52
+ instead_of: one
53
+ - pattern: per
54
+ instead_of: one
@@ -0,0 +1,38 @@
1
+ # Words a document uses for its reader. instead_of is the form a word counts as (the word itself when absent).
2
+ #
3
+ # No form is right. person-consistency only asks whether one document names the same party two ways. A word written in
4
+ # capitals (YOU in a heading) is not counted. "one" counts only as the generic subject of a modal verb ("one can").
5
+ #
6
+ # "I" and "we" are not here. In English writing they usually name two parties, not one written two ways: the speaker and
7
+ # the institution in a speech ("I think we should"), the writer and the team in a report, several speakers in minutes.
8
+ # On the corpus a "we / I" pair fired on speeches, minutes, letters and papers, and none of it was a slip.
9
+ id: person-word
10
+ language: en
11
+ entries:
12
+ - pattern: you
13
+ - pattern: your
14
+ instead_of: you
15
+ - pattern: yours
16
+ instead_of: you
17
+ - pattern: yourself
18
+ instead_of: you
19
+ - pattern: one can
20
+ instead_of: one
21
+ - pattern: one cannot
22
+ instead_of: one
23
+ - pattern: one must
24
+ instead_of: one
25
+ - pattern: one should
26
+ instead_of: one
27
+ - pattern: one may
28
+ instead_of: one
29
+ - pattern: one might
30
+ instead_of: one
31
+ - pattern: one could
32
+ instead_of: one
33
+ - pattern: one would
34
+ instead_of: one
35
+ - pattern: one needs
36
+ instead_of: one
37
+ - pattern: one's
38
+ instead_of: one
@@ -15,3 +15,13 @@ entries:
15
15
  - pattern: describe
16
16
  - pattern: specific
17
17
  - pattern: add
18
+ # group: marker — a value left as a note to fill it in later. It counts when it is the whole value ("TBD") or opens it
19
+ # before a colon ("TODO: add expected output pattern"), in any case. Only the start of a value counts: "a todo app" is not one.
20
+ - pattern: TODO
21
+ group: marker
22
+ - pattern: TBD
23
+ group: marker
24
+ - pattern: TBC
25
+ group: marker
26
+ - pattern: FIXME
27
+ group: marker
@@ -0,0 +1,15 @@
1
+ # Pairs of headings that set the good side against the bad: pattern is the good side, instead_of its counterpart.
2
+ # With one heading of each in a document, the pros and cons are laid out symmetrically. Case is ignored.
3
+ id: pro-con-heading
4
+ language: en
5
+ entries:
6
+ - pattern: pros
7
+ instead_of: cons
8
+ - pattern: advantages
9
+ instead_of: disadvantages
10
+ - pattern: benefits
11
+ instead_of: drawbacks
12
+ - pattern: strengths
13
+ instead_of: weaknesses
14
+ - pattern: upsides
15
+ instead_of: downsides
@@ -0,0 +1,83 @@
1
+ # Redundant pairs: two words that say the same thing. Read by redundant-expression; rewrite is the form without the
2
+ # repeat. Only pairs with a plain shorter form and no common reason to repeat: "past experience", "period of time",
3
+ # "whether or not" and "plan ahead" are idiomatic or sometimes needed, and are left out. A verb in its dictionary form
4
+ # matches its inflections only when the tagger reads it as a verb, so the past forms are listed too ("reverted back").
5
+ id: redundant-expression
6
+ language: en
7
+ entries:
8
+ - pattern: each and every
9
+ rewrite: each, or every
10
+ - pattern: end result
11
+ rewrite: result
12
+ - pattern: future plans
13
+ rewrite: plans
14
+ - pattern: past history
15
+ rewrite: history
16
+ - pattern: advance planning
17
+ rewrite: planning
18
+ - pattern: added bonus
19
+ rewrite: bonus
20
+ - pattern: basic fundamentals
21
+ rewrite: fundamentals
22
+ - pattern: close proximity
23
+ rewrite: proximity, or near
24
+ - pattern: final outcome
25
+ rewrite: outcome
26
+ - pattern: free gift
27
+ rewrite: gift
28
+ - pattern: joint collaboration
29
+ rewrite: collaboration
30
+ - pattern: new innovation
31
+ rewrite: innovation
32
+ - pattern: unexpected surprise
33
+ rewrite: surprise
34
+ - pattern: true fact
35
+ rewrite: fact
36
+ - pattern: revert back
37
+ rewrite: revert
38
+ - pattern: reverted back
39
+ rewrite: reverted
40
+ - pattern: return back
41
+ rewrite: return
42
+ - pattern: returned back
43
+ rewrite: returned
44
+ - pattern: repeat again
45
+ rewrite: repeat
46
+ - pattern: repeated again
47
+ rewrite: repeated
48
+ - pattern: merge together
49
+ rewrite: merge
50
+ - pattern: merged together
51
+ rewrite: merged
52
+ - pattern: combine together
53
+ rewrite: combine
54
+ - pattern: combined together
55
+ rewrite: combined
56
+ - pattern: collaborate together
57
+ rewrite: collaborate
58
+ - pattern: collaborated together
59
+ rewrite: collaborated
60
+ - pattern: refer back
61
+ rewrite: refer
62
+ - pattern: referred back
63
+ rewrite: referred
64
+ - pattern: ATM machine
65
+ rewrite: ATM
66
+ - pattern: PIN number
67
+ rewrite: PIN
68
+ - pattern: absolutely essential
69
+ rewrite: essential
70
+ - pattern: first began
71
+ rewrite: began
72
+ - pattern: consensus of opinion
73
+ rewrite: consensus
74
+ - pattern: general consensus
75
+ rewrite: consensus
76
+ - pattern: sum total
77
+ rewrite: total
78
+ - pattern: various different
79
+ rewrite: various
80
+ - pattern: mutual cooperation
81
+ rewrite: cooperation
82
+ - pattern: the reason is because
83
+ rewrite: the reason is that
@@ -0,0 +1,21 @@
1
+ # Words that are not the name of the target when written in brackets after a reference (reference-title-mismatch): "Section 3 (above)".
2
+ id: reference-aside
3
+ language: en
4
+ entries:
5
+ - pattern: "above"
6
+ - pattern: "below"
7
+ - pattern: "see"
8
+ - pattern: "as amended"
9
+ - pattern: "emphasis"
10
+ - pattern: "if any"
11
+ - pattern: "repealed"
12
+ - pattern: "reserved"
13
+ - pattern: "deleted"
14
+ - pattern: "omitted"
15
+ - pattern: "supra"
16
+ - pattern: "infra"
17
+ - pattern: "et seq"
18
+ - pattern: "as applicable"
19
+ - pattern: "as appropriate"
20
+ - pattern: "or"
21
+ - pattern: "and following"
@@ -0,0 +1,11 @@
1
+ # The headings of a reference list. The entries under one are compared with the citations in the text, and citations
2
+ # are not looked for inside it. Compared without case.
3
+ id: reference-list-heading
4
+ language: en
5
+ entries:
6
+ - pattern: References
7
+ - pattern: Reference
8
+ - pattern: Bibliography
9
+ - pattern: Works Cited
10
+ - pattern: Literature Cited
11
+ - pattern: Cited Literature
@@ -0,0 +1,5 @@
1
+ # Words between a reference and its topic (reference-topic-missing): "see Section 2 for pricing".
2
+ id: reference-topic-link
3
+ language: en
4
+ entries:
5
+ - pattern: "for"
@@ -0,0 +1,32 @@
1
+ # Words that are not a topic (reference-topic-missing): they fit any section.
2
+ id: reference-topic-vague
3
+ language: en
4
+ entries:
5
+ - pattern: "details"
6
+ - pattern: "detail"
7
+ - pattern: "more"
8
+ - pattern: "information"
9
+ - pattern: "info"
10
+ - pattern: "examples"
11
+ - pattern: "example"
12
+ - pattern: "further"
13
+ - pattern: "specifics"
14
+ - pattern: "list"
15
+ - pattern: "instructions"
16
+ - pattern: "definitions"
17
+ - pattern: "definition"
18
+ - pattern: "discussion"
19
+ - pattern: "reference"
20
+ - pattern: "background"
21
+ - pattern: "context"
22
+ - pattern: "overview"
23
+ - pattern: "summary"
24
+ - pattern: "explanation"
25
+ - pattern: "guidance"
26
+ - pattern: "exceptions"
27
+ - pattern: "requirements"
28
+ - pattern: "terms"
29
+ - pattern: "additional"
30
+ - pattern: "other"
31
+ - pattern: "caveats"
32
+ - pattern: "notes"
@@ -0,0 +1,5 @@
1
+ # Words after a length of time that point after the base date (relative-date-mismatch): "two weeks later, on May 15".
2
+ id: relative-after
3
+ language: en
4
+ entries:
5
+ - pattern: "later"
@@ -0,0 +1,5 @@
1
+ # Words after a length of time that point before the base date (relative-date-mismatch): "three days earlier, on May 2".
2
+ id: relative-before
3
+ language: en
4
+ entries:
5
+ - pattern: "earlier"
@@ -0,0 +1,7 @@
1
+ # Words allowed between a relative length and its date (relative-date-mismatch). Spaces and separators (, ( :) need no entry.
2
+ id: relative-link
3
+ language: en
4
+ entries:
5
+ - pattern: "on"
6
+ - pattern: "that is"
7
+ - pattern: "i.e."
@@ -0,0 +1,22 @@
1
+ # Words that open a paragraph by announcing that it says again what came before. A paragraph opening with one that
2
+ # repeats most of the previous paragraph's words is read as a restatement and nothing more. A word that also opens other
3
+ # sentences (That is why, Again the drums, Overall the focus) is listed with its comma.
4
+ id: restating-opener
5
+ language: en
6
+ entries:
7
+ - pattern: in other words
8
+ - pattern: in short
9
+ - pattern: put simply
10
+ - pattern: simply put
11
+ - pattern: to put it simply
12
+ - pattern: to sum up
13
+ - pattern: in summary
14
+ - pattern: to summarize
15
+ - pattern: to summarise
16
+ - pattern: "that is,"
17
+ - pattern: in essence
18
+ - pattern: essentially
19
+ - pattern: in a nutshell
20
+ - pattern: to reiterate
21
+ - pattern: "again,"
22
+ - pattern: "overall,"
@@ -0,0 +1,6 @@
1
+ # "So," opening a sentence: a spoken filler carried into writing. Only with the comma: "So far", "So the board
2
+ # decided" and "So that" open a sentence on their own terms and are not here. Read by sentence-initial-so.
3
+ id: so-opener
4
+ language: en
5
+ entries:
6
+ - pattern: So,
@@ -0,0 +1,13 @@
1
+ # Headings of a summary section (summary-fact-mismatch). Its values are compared with the body's values of the same
2
+ # name. The whole heading must match, after any leading number; case does not matter.
3
+ id: summary-heading
4
+ language: en
5
+ entries:
6
+ - pattern: summary
7
+ - pattern: executive summary
8
+ - pattern: abstract
9
+ - pattern: overview
10
+ - pattern: at a glance
11
+ - pattern: key facts
12
+ - pattern: highlights
13
+ - pattern: tl;dr
@@ -0,0 +1,28 @@
1
+ # Units of data (base: byte); KB to TB are both decimal and binary (unit-mismatch). weight is the factor to the base unit; a unit written twice has two factors, and either may match.
2
+ id: unit-data
3
+ language: en
4
+ entries:
5
+ - pattern: "KB"
6
+ weight: 1000
7
+ - pattern: "KB"
8
+ weight: 1024
9
+ - pattern: "MB"
10
+ weight: 1000000
11
+ - pattern: "MB"
12
+ weight: 1048576
13
+ - pattern: "GB"
14
+ weight: 1000000000
15
+ - pattern: "GB"
16
+ weight: 1073741824
17
+ - pattern: "TB"
18
+ weight: 1000000000000
19
+ - pattern: "TB"
20
+ weight: 1099511627776
21
+ - pattern: "KiB"
22
+ weight: 1024
23
+ - pattern: "MiB"
24
+ weight: 1048576
25
+ - pattern: "GiB"
26
+ weight: 1073741824
27
+ - pattern: "TiB"
28
+ weight: 1099511627776
@@ -0,0 +1,44 @@
1
+ # Units of length (base: metre) (unit-mismatch). weight is the factor to the base unit; a unit written twice has two factors, and either may match.
2
+ id: unit-length
3
+ language: en
4
+ entries:
5
+ - pattern: "km"
6
+ weight: 1000
7
+ - pattern: "m"
8
+ weight: 1
9
+ - pattern: "cm"
10
+ weight: 0.01
11
+ - pattern: "mm"
12
+ weight: 0.001
13
+ - pattern: "mi"
14
+ weight: 1609.344
15
+ - pattern: "mile"
16
+ weight: 1609.344
17
+ - pattern: "miles"
18
+ weight: 1609.344
19
+ - pattern: "ft"
20
+ weight: 0.3048
21
+ - pattern: "feet"
22
+ weight: 0.3048
23
+ - pattern: "inches"
24
+ weight: 0.0254
25
+ - pattern: "kilometers"
26
+ weight: 1000
27
+ - pattern: "kilometres"
28
+ weight: 1000
29
+ - pattern: "meters"
30
+ weight: 1
31
+ - pattern: "metres"
32
+ weight: 1
33
+ - pattern: "meter"
34
+ weight: 1
35
+ - pattern: "metre"
36
+ weight: 1
37
+ - pattern: "kilometer"
38
+ weight: 1000
39
+ - pattern: "kilometre"
40
+ weight: 1000
41
+ - pattern: "foot"
42
+ weight: 0.3048
43
+ - pattern: "inch"
44
+ weight: 0.0254
@@ -0,0 +1,30 @@
1
+ # Units of mass (base: gram) (unit-mismatch). weight is the factor to the base unit; a unit written twice has two factors, and either may match.
2
+ id: unit-mass
3
+ language: en
4
+ entries:
5
+ - pattern: "t"
6
+ weight: 1000000
7
+ - pattern: "kg"
8
+ weight: 1000
9
+ - pattern: "g"
10
+ weight: 1
11
+ - pattern: "mg"
12
+ weight: 0.001
13
+ - pattern: "lb"
14
+ weight: 453.59237
15
+ - pattern: "lbs"
16
+ weight: 453.59237
17
+ - pattern: "pounds"
18
+ weight: 453.59237
19
+ - pattern: "oz"
20
+ weight: 28.349523125
21
+ - pattern: "kilograms"
22
+ weight: 1000
23
+ - pattern: "grams"
24
+ weight: 1
25
+ - pattern: "pound"
26
+ weight: 453.59237
27
+ - pattern: "kilogram"
28
+ weight: 1000
29
+ - pattern: "gram"
30
+ weight: 1
@@ -0,0 +1,32 @@
1
+ # Units of time (base: second) (unit-mismatch). weight is the factor to the base unit; a unit written twice has two factors, and either may match.
2
+ id: unit-time
3
+ language: en
4
+ entries:
5
+ - pattern: "h"
6
+ weight: 3600
7
+ - pattern: "hr"
8
+ weight: 3600
9
+ - pattern: "hrs"
10
+ weight: 3600
11
+ - pattern: "hours"
12
+ weight: 3600
13
+ - pattern: "hour"
14
+ weight: 3600
15
+ - pattern: "min"
16
+ weight: 60
17
+ - pattern: "mins"
18
+ weight: 60
19
+ - pattern: "minutes"
20
+ weight: 60
21
+ - pattern: "minute"
22
+ weight: 60
23
+ - pattern: "s"
24
+ weight: 1
25
+ - pattern: "sec"
26
+ weight: 1
27
+ - pattern: "seconds"
28
+ weight: 1
29
+ - pattern: "second"
30
+ weight: 1
31
+ - pattern: "ms"
32
+ weight: 0.001
@@ -0,0 +1,26 @@
1
+ # Units of volume (base: litre) (unit-mismatch). weight is the factor to the base unit; a unit written twice has two factors, and either may match.
2
+ id: unit-volume
3
+ language: en
4
+ entries:
5
+ - pattern: "L"
6
+ weight: 1
7
+ - pattern: "l"
8
+ weight: 1
9
+ - pattern: "mL"
10
+ weight: 0.001
11
+ - pattern: "ml"
12
+ weight: 0.001
13
+ - pattern: "liters"
14
+ weight: 1
15
+ - pattern: "litres"
16
+ weight: 1
17
+ - pattern: "gal"
18
+ weight: 3.785411784
19
+ - pattern: "gallons"
20
+ weight: 3.785411784
21
+ - pattern: "liter"
22
+ weight: 1
23
+ - pattern: "litre"
24
+ weight: 1
25
+ - pattern: "gallon"
26
+ weight: 3.785411784
@@ -0,0 +1,27 @@
1
+ # Headings for the front and back matter, which are not numbered even when the body is (Contents, References).
2
+ # heading-numbering-mix leaves them out of the siblings it compares. Matched against the whole heading, or its head
3
+ # followed by a separator ("Appendix A", "Appendix: Terms"), ignoring case.
4
+ # Headings that can be part of the numbered body (Introduction, Summary, Conclusion) are not listed.
5
+ id: unnumbered-heading
6
+ language: en
7
+ entries:
8
+ - pattern: Contents
9
+ - pattern: Table of Contents
10
+ - pattern: Abstract
11
+ - pattern: References
12
+ - pattern: Bibliography
13
+ - pattern: Works Cited
14
+ - pattern: Acknowledgments
15
+ - pattern: Acknowledgements
16
+ - pattern: Appendix
17
+ - pattern: Appendices
18
+ - pattern: Index
19
+ - pattern: Notes
20
+ - pattern: Footnotes
21
+ - pattern: Glossary
22
+ - pattern: About the Author
23
+ - pattern: About the Authors
24
+ - pattern: Preface
25
+ - pattern: Foreword
26
+ - pattern: Changelog
27
+ - pattern: Revision History
@@ -0,0 +1,20 @@
1
+ # Link text that says nothing about where the link goes when it is the whole text. Read by vague-link-text.
2
+ # Matched only against the whole link text ("the pricing page" names its target and is fine); emphasis marks, quotes
3
+ # and closing punctuation are stripped first, and case is ignored.
4
+ id: vague-link-text
5
+ language: en
6
+ entries:
7
+ - pattern: here
8
+ - pattern: click here
9
+ - pattern: click
10
+ - pattern: this
11
+ - pattern: this link
12
+ - pattern: link
13
+ - pattern: this page
14
+ - pattern: this article
15
+ - pattern: more
16
+ - pattern: read more
17
+ - pattern: learn more
18
+ - pattern: more info
19
+ - pattern: go
20
+ - pattern: see here
@@ -0,0 +1,31 @@
1
+ # Vague words: they leave the reader to decide how far, how soon or what counts as done. vague-word-density counts them
2
+ # against the document's length. One or two are ordinary; many leave much of what the document says to the reader.
3
+ id: vague-word
4
+ language: en
5
+ entries:
6
+ - pattern: as appropriate
7
+ - pattern: appropriate
8
+ - pattern: appropriately
9
+ - pattern: as needed
10
+ - pattern: as necessary
11
+ - pattern: as required
12
+ - pattern: where possible
13
+ - pattern: if possible
14
+ - pattern: where applicable
15
+ - pattern: if applicable
16
+ - pattern: to the extent possible
17
+ - pattern: as soon as possible
18
+ - pattern: in a timely manner
19
+ - pattern: timely
20
+ - pattern: reasonable
21
+ - pattern: reasonably
22
+ - pattern: adequate
23
+ - pattern: adequately
24
+ - pattern: sufficient
25
+ - pattern: sufficiently
26
+ - pattern: promptly
27
+ - pattern: periodically
28
+ - pattern: best effort
29
+ - pattern: best efforts
30
+ - pattern: to some extent
31
+ - pattern: from time to time