@chaffjs/lang-en 0.18.0 → 0.19.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.
@@ -0,0 +1,22 @@
1
+ # File name extensions of what people attach. A file name with one (quote.pdf) anywhere in the document shows the attachment.
2
+ id: attachment-file-extension
3
+ language: en
4
+ entries:
5
+ - pattern: pdf
6
+ - pattern: doc
7
+ - pattern: docx
8
+ - pattern: xls
9
+ - pattern: xlsx
10
+ - pattern: ppt
11
+ - pattern: pptx
12
+ - pattern: csv
13
+ - pattern: txt
14
+ - pattern: zip
15
+ - pattern: png
16
+ - pattern: jpg
17
+ - pattern: jpeg
18
+ - pattern: gif
19
+ - pattern: odt
20
+ - pattern: ods
21
+ - pattern: key
22
+ - pattern: pages
@@ -0,0 +1,14 @@
1
+ # The names of the field that lists what is attached. A line opening with one and a colon (Attachment: quote.pdf, Encl.:)
2
+ # shows the attachment.
3
+ id: attachment-line
4
+ language: en
5
+ entries:
6
+ - pattern: Attachment
7
+ - pattern: Attachments
8
+ - pattern: Attached
9
+ - pattern: Enclosure
10
+ - pattern: Enclosures
11
+ - pattern: Encl
12
+ - pattern: Encl.
13
+ - pattern: Enc
14
+ - pattern: Enc.
@@ -0,0 +1,8 @@
1
+ # Words the text mentions an attachment with. When one is used and the document shows no attachment (a field, a file
2
+ # name, the archive's note), the attachment may have been forgotten. A letter's "enclosed" is left out: a letter lists its
3
+ # enclosures in many ways, often in the text itself.
4
+ id: attachment-mention
5
+ language: en
6
+ entries:
7
+ - pattern: attached
8
+ - pattern: attachment
@@ -0,0 +1,12 @@
1
+ # Phrases that hold an attachment word without pointing at an attachment: something fixed to something else, or no
2
+ # attachment at all.
3
+ id: attachment-not-mention
4
+ language: en
5
+ entries:
6
+ - pattern: attached to
7
+ - pattern: attachment to
8
+ - pattern: emotional attachment
9
+ - pattern: no attachment
10
+ - pattern: no attachments
11
+ - pattern: without attachment
12
+ - pattern: strings attached
@@ -0,0 +1,12 @@
1
+ # Words written in capitals by convention, not to shout: the requirement keywords of RFC 2119 and BCP 14.
2
+ # all-caps-shouting counts them like acronyms, so "the client MUST NOT" is not a shouted run.
3
+ id: caps-convention
4
+ language: en
5
+ entries:
6
+ - pattern: MUST
7
+ - pattern: SHALL
8
+ - pattern: SHOULD
9
+ - pattern: MAY
10
+ - pattern: REQUIRED
11
+ - pattern: RECOMMENDED
12
+ - pattern: OPTIONAL
@@ -0,0 +1,13 @@
1
+ # The marks that say which half of the day a clock time is in, and on which side of the hour they are written
2
+ # (3 PM, 10:30 a.m.). With one, the hour runs from 1 to 12, so "13 PM" is not a time. Matched as written.
3
+ id: clock-meridiem
4
+ language: en
5
+ entries:
6
+ - { pattern: "AM", position: after }
7
+ - { pattern: "PM", position: after }
8
+ - { pattern: "am", position: after }
9
+ - { pattern: "pm", position: after }
10
+ - { pattern: "a.m.", position: after }
11
+ - { pattern: "p.m.", position: after }
12
+ - { pattern: "A.M.", position: after }
13
+ - { pattern: "P.M.", position: after }
@@ -0,0 +1,10 @@
1
+ # What a definition sentence says (cross-doc-duplicate-definition). A sentence that names a term without one of these
2
+ # quotes the term and does not define it.
3
+ id: definition-statement
4
+ language: en
5
+ entries:
6
+ - pattern: means
7
+ - pattern: mean
8
+ - pattern: refers to
9
+ - pattern: refer to
10
+ - pattern: has the meaning
@@ -0,0 +1,28 @@
1
+ # The closing a work email or letter ends with, before the writer's name. One of the last lines of the body (the name,
2
+ # title and contact lines included) opening with one of these is a closing; case does not matter.
3
+ id: email-closing
4
+ language: en
5
+ entries:
6
+ - pattern: Regards
7
+ - pattern: Best regards
8
+ - pattern: Kind regards
9
+ - pattern: Warm regards
10
+ - pattern: Warmest regards
11
+ - pattern: With regards
12
+ - pattern: Sincerely
13
+ - pattern: Yours sincerely
14
+ - pattern: Yours faithfully
15
+ - pattern: Yours truly
16
+ - pattern: Yours
17
+ - pattern: Very truly yours
18
+ - pattern: Respectfully
19
+ - pattern: Best
20
+ - pattern: All the best
21
+ - pattern: Best wishes
22
+ - pattern: Many thanks
23
+ - pattern: Thanks
24
+ - pattern: Thank you
25
+ - pattern: Cheers
26
+ - pattern: Take care
27
+ - pattern: Looking forward
28
+ - pattern: I look forward
@@ -0,0 +1,17 @@
1
+ # The greeting a work email or letter opens with. One of the first lines of the body opening with one of these is a
2
+ # greeting; case does not matter, and a word must not run on into another (Hi is not History).
3
+ id: email-greeting
4
+ language: en
5
+ entries:
6
+ - pattern: Dear
7
+ - pattern: Hi
8
+ - pattern: Hello
9
+ - pattern: Hey
10
+ - pattern: Good morning
11
+ - pattern: Good afternoon
12
+ - pattern: Good evening
13
+ - pattern: Greetings
14
+ - pattern: To whom it may concern
15
+ - pattern: Ladies and gentlemen
16
+ - pattern: Sir
17
+ - pattern: Madam
@@ -0,0 +1,8 @@
1
+ # The marks a mail program puts before a subject (Re:, Fwd:). They are not counted in the subject's length.
2
+ id: email-reply-mark
3
+ language: en
4
+ entries:
5
+ - pattern: Re
6
+ - pattern: Fwd
7
+ - pattern: Fw
8
+ - pattern: Aw
@@ -0,0 +1,5 @@
1
+ # The name of the subject field. The value of a "Subject: …" line is measured as the subject.
2
+ id: email-subject-field
3
+ language: en
4
+ entries:
5
+ - pattern: Subject
@@ -0,0 +1,16 @@
1
+ # The start of a name a camera, a phone or a screenshot tool gives a picture. An alt text that starts with one and holds a
2
+ # number is the file's name, not a description. Read by image-file-name-alt; case is ignored.
3
+ id: image-file-name
4
+ language: en
5
+ entries:
6
+ - pattern: IMG_
7
+ - pattern: IMG-
8
+ - pattern: DSC_
9
+ - pattern: DSC0
10
+ - pattern: DSCN
11
+ - pattern: PXL_
12
+ - pattern: MVIMG_
13
+ - pattern: Screenshot
14
+ - pattern: Screen Shot
15
+ - pattern: Screen Recording
16
+ - pattern: Untitled
@@ -0,0 +1,10 @@
1
+ # Latin abbreviations written with periods (pattern), and the house style that drops them all (instead_of, as GOV.UK
2
+ # writes "eg"). latin-abbreviation-form reports a form with some of the periods dropped but not all ("e.g" and "eg.");
3
+ # both full ways are fine.
4
+ id: latin-abbreviation
5
+ language: en
6
+ entries:
7
+ - pattern: e.g.
8
+ instead_of: eg
9
+ - pattern: i.e.
10
+ instead_of: ie
@@ -0,0 +1,17 @@
1
+ # Curly quotation marks and apostrophes (pattern) and their straight forms (instead_of), by kind (group).
2
+ # quote-style-consistency reports the less common way within each kind; neither way is called right.
3
+ id: quote-style
4
+ language: en
5
+ entries:
6
+ - pattern: “
7
+ instead_of: '"'
8
+ group: double
9
+ - pattern: ”
10
+ instead_of: '"'
11
+ group: double
12
+ - pattern: ’
13
+ instead_of: "'"
14
+ group: single
15
+ - pattern: ‘
16
+ instead_of: "'"
17
+ group: single
@@ -0,0 +1,32 @@
1
+ # Actions whose completion can be checked later (send, submit, confirm). Courtesy requests (note that, be aware) are left out.
2
+ id: request-action
3
+ language: en
4
+ entries:
5
+ - pattern: send
6
+ - pattern: review
7
+ - pattern: confirm
8
+ - pattern: reply
9
+ - pattern: respond
10
+ - pattern: submit
11
+ - pattern: share
12
+ - pattern: update
13
+ - pattern: prepare
14
+ - pattern: provide
15
+ - pattern: complete
16
+ - pattern: fill
17
+ - pattern: sign
18
+ - pattern: approve
19
+ - pattern: check
20
+ - pattern: let me know
21
+ - pattern: let us know
22
+ - pattern: get back
23
+ - pattern: return
24
+ - pattern: upload
25
+ - pattern: register
26
+ - pattern: forward
27
+ - pattern: fix
28
+ - pattern: finish
29
+ - pattern: book
30
+ - pattern: arrange
31
+ - pattern: decide
32
+ - pattern: write
@@ -0,0 +1,15 @@
1
+ # A conditional request is an offer, not a task with a deadline.
2
+ id: request-condition
3
+ language: en
4
+ entries:
5
+ - pattern: if you
6
+ - pattern: if there
7
+ - pattern: if any
8
+ - pattern: in case
9
+ - pattern: should you
10
+ - pattern: when you need
11
+ - pattern: feel free
12
+ - pattern: hesitate
13
+ - pattern: as needed
14
+ - pattern: where needed
15
+ - pattern: if needed
@@ -0,0 +1,67 @@
1
+ # Words that say when. Dates and clock times are read from the document's dates and times, not from this list.
2
+ id: request-deadline
3
+ language: en
4
+ entries:
5
+ - pattern: by monday
6
+ - pattern: by tuesday
7
+ - pattern: by wednesday
8
+ - pattern: by thursday
9
+ - pattern: by friday
10
+ - pattern: by saturday
11
+ - pattern: by sunday
12
+ - pattern: by tomorrow
13
+ - pattern: by today
14
+ - pattern: by tonight
15
+ - pattern: by noon
16
+ - pattern: by the end
17
+ - pattern: by end
18
+ - pattern: by next
19
+ - pattern: by eod
20
+ - pattern: before
21
+ - pattern: until
22
+ - pattern: due
23
+ - pattern: deadline
24
+ - pattern: today
25
+ - pattern: tomorrow
26
+ - pattern: tonight
27
+ - pattern: this week
28
+ - pattern: next week
29
+ - pattern: this month
30
+ - pattern: next month
31
+ - pattern: eod
32
+ - pattern: end of day
33
+ - pattern: asap
34
+ - pattern: as soon as
35
+ - pattern: at your earliest
36
+ - pattern: monday
37
+ - pattern: tuesday
38
+ - pattern: wednesday
39
+ - pattern: thursday
40
+ - pattern: friday
41
+ - pattern: saturday
42
+ - pattern: sunday
43
+ - pattern: january
44
+ - pattern: february
45
+ - pattern: march
46
+ - pattern: april
47
+ - pattern: june
48
+ - pattern: july
49
+ - pattern: august
50
+ - pattern: september
51
+ - pattern: october
52
+ - pattern: november
53
+ - pattern: december
54
+ - pattern: jan
55
+ - pattern: feb
56
+ - pattern: mar
57
+ - pattern: apr
58
+ - pattern: jun
59
+ - pattern: jul
60
+ - pattern: aug
61
+ - pattern: sep
62
+ - pattern: sept
63
+ - pattern: oct
64
+ - pattern: nov
65
+ - pattern: dec
66
+ - pattern: immediately
67
+ - pattern: urgently
@@ -0,0 +1,11 @@
1
+ # Words that turn a sentence into a request.
2
+ id: request-ending
3
+ language: en
4
+ entries:
5
+ - pattern: please
6
+ - pattern: kindly
7
+ - pattern: could you
8
+ - pattern: can you
9
+ - pattern: would you
10
+ - pattern: we need you to
11
+ - pattern: i need you to
@@ -0,0 +1,30 @@
1
+ # Words that say who: people's titles, roles and teams. Names themselves are read from the parts of speech (proper nouns).
2
+ id: request-owner
3
+ language: en
4
+ entries:
5
+ - pattern: team
6
+ - pattern: everyone
7
+ - pattern: everybody
8
+ - pattern: all of you
9
+ - pattern: each of you
10
+ - pattern: manager
11
+ - pattern: lead
12
+ - pattern: owner
13
+ - pattern: reviewer
14
+ - pattern: mr
15
+ - pattern: ms
16
+ - pattern: mrs
17
+ - pattern: dr
18
+ - pattern: committee
19
+ - pattern: department
20
+ - pattern: office
21
+ - pattern: desk
22
+ - pattern: coordinator
23
+ - pattern: assignee
24
+ - pattern: "@"
25
+ - pattern: applicants
26
+ - pattern: applicant
27
+ - pattern: customers
28
+ - pattern: participants
29
+ - pattern: students
30
+ - pattern: yourself
@@ -0,0 +1,13 @@
1
+ # Words of a request that points to where to read more ("For details, please check the page"), not a task with a deadline.
2
+ id: request-pointer
3
+ language: en
4
+ entries:
5
+ - pattern: for details
6
+ - pattern: for more
7
+ - pattern: more information
8
+ - pattern: see
9
+ - pattern: page
10
+ - pattern: website
11
+ - pattern: link
12
+ - pattern: manual
13
+ - pattern: below
@@ -0,0 +1,21 @@
1
+ # The languages of a code fence that holds shell commands (```bash, ```console). Their blocks are compared for a prompt
2
+ # ($ npm install) or none (npm install). Compared without case.
3
+ id: shell-fence-language
4
+ language: en
5
+ entries:
6
+ - pattern: sh
7
+ - pattern: bash
8
+ - pattern: shell
9
+ - pattern: zsh
10
+ - pattern: fish
11
+ - pattern: ksh
12
+ - pattern: console
13
+ - pattern: shell-session
14
+ - pattern: sh-session
15
+ - pattern: shellsession
16
+ - pattern: terminal
17
+ - pattern: powershell
18
+ - pattern: pwsh
19
+ - pattern: ps1
20
+ - pattern: cmd
21
+ - pattern: bat
@@ -0,0 +1,9 @@
1
+ # The prompt a shell command is written after, followed by a space ($ npm install, PS> Get-Item). "#" is left out: in a
2
+ # shell block it is far more often a comment than a root prompt.
3
+ id: shell-prompt
4
+ language: en
5
+ entries:
6
+ - pattern: $
7
+ - pattern: "%"
8
+ - pattern: PS>
9
+ - pattern: ❯
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chaffjs/lang-en",
3
- "version": "0.18.0",
3
+ "version": "0.19.0",
4
4
  "description": "English language adapter for chaff",
5
5
  "license": "MIT",
6
6
  "author": "isamu",