Hoctar77 commited on
Commit
dc4e8af
·
verified ·
1 Parent(s): cef1eb9

January 2025 updates

Browse files
Files changed (1) hide show
  1. README.md +106 -118
README.md CHANGED
@@ -4,7 +4,7 @@ emoji: 🐨
4
  colorFrom: green
5
  colorTo: green
6
  sdk: gradio
7
- sdk_version: 5.8.0
8
  app_file: app.py
9
  pinned: false
10
  ---
@@ -17,17 +17,15 @@ pinned: false
17
  ## 1. Introduction
18
 
19
  ### Purpose
20
- The **Document Checker Tool** aims to:
21
- - Improve consistency and compliance with FAA and regulatory guidelines.
22
- - Automate tedious manual checks, providing faster and more accurate results.
23
- - Enhance clarity and professionalism in FAA documentation.
24
 
25
- This tool provides **suggestions**, but the final editorial decisions rest with the document author.
26
 
27
  ### Scope
28
- The tool supports all FAA document types AIR-646 supports and includes multiple categories of checks.
29
-
30
- The tool adheres to style and guidelines derived from:
31
  - GPO Style Manual
32
  - FAA Orders
33
  - Document Drafting Handbook
@@ -38,74 +36,69 @@ The tool adheres to style and guidelines derived from:
38
 
39
  ## 2. Revision History
40
 
41
- 12/8/2024: Added checks for paragraph length and sentence length. Reordered existing checks for improved workflow. Updated the date format check to exclude certain AC numbers.
42
-
43
- 11/26/2024: Initial release with 15 checks.
44
 
45
  ---
46
 
47
  ## 3. Checker Categories Overview
48
 
49
- ### 17 Key Checker Categories
50
- 1. **Heading Title Checks**
51
- 2. **Heading Period Format Check**
52
- 3. **Terminology Checks**
53
- 4. **Acronym Check**
54
- 5. **Acronym Usage Check**
55
- 6. **Section Symbol (§) Checks**
56
- 7. **Date Format Check**
57
- 8. **Placeholder Content Check**
58
- 9. **Referenced Document Title Format Check**
59
- 10. **Table Caption Check**
60
- 11. **Figure Caption Check**
61
- 12. **Table/Figure Reference Check**
62
- 13. **Parenthesis Balance Check**
63
- 14. **Double Period Check**
64
- 15. **Spacing Check**
65
- 16. **Paragraph Length Check**
66
- 17. **Sentence Length Check**
 
 
 
 
67
 
68
  ---
69
 
70
  ## 4. Details of Each Checker
71
 
72
- ### Heading Checks
73
-
74
- #### 1. Required Heading Title Check
75
- Verifies required headings are present and properly formatted based on document type.
76
 
77
- **Examples:**
78
 
79
- - **Advisory Circulars:**
80
- - Purpose
81
- - Applicability
82
- - Cancellation
83
- - Related Material
84
- - Definition of Key Terms
85
 
86
- - **Federal Register Notice:**
87
- - Purpose of This Notice
88
- - Audience
89
- - Where Can I Find This Notice
90
 
91
- - **Order:**
92
- - Purpose of This Order
93
- - Audience
94
- - Where to Find This Order
95
 
96
- #### 2. Heading Period Format Check
97
- Ensures headings have or do not have periods based on document type.
98
 
99
  **Examples:**
100
- - **Required Period:** Advisory Circular, Order, Technical Standard Order
101
- - **No Period:** All other document types
102
 
103
  ---
104
 
105
  ### Terminology Checks
106
 
107
- #### 3. Terminology Usage Check
108
- Flags outdated or vague terms and enforces FAA terminology standards.
109
 
110
  **Examples:**
111
  - Replace "shall" with "must" per GPO Style Manual.
@@ -115,117 +108,112 @@ Flags outdated or vague terms and enforces FAA terminology standards.
115
 
116
  ### Acronym and Abbreviation Checks
117
 
118
- #### 4. Acronym Check
119
- Ensures acronyms are defined at first use.
120
- - **Example:** Federal Aviation Administration (FAA)
 
121
 
122
- #### 5. Acronym Usage Check
123
- Identifies acronyms defined but not used.
124
 
125
  ---
126
 
127
  ### Section Symbol (§) Checks
128
 
129
- #### 6. Section Symbol Usage Check
130
- Ensures proper formatting for section symbols.
131
 
132
  **Examples:**
133
- - Replace "14 CFR § 21.21" with "14 CFR 21.21".
134
- - Replace "§ 25.25 and 25.26" with "§§ 25.25 and 25.26".
135
 
136
  ---
137
 
138
- ### Date Format and Placeholder Checks
139
-
140
- #### 7. Date Format Consistency Check
141
- Ensures dates follow the "Month Day, Year" format in the document body.
142
-
143
- **Examples:**
144
- - Replace "1/15/24" with "January 15, 2024".
145
 
146
- #### 8. Placeholder Content Check
147
- Flags placeholders like "TBD" or "To be added."
 
 
148
 
149
  ---
150
 
151
- ### Document Title Checks
152
 
153
- #### 9. Referenced Document Title Format Check
154
- Verifies correct formatting of referenced document titles.
155
 
156
- - **Italicize:** Advisory Circulars
157
- - **Quotation Marks:** All other document types
158
 
159
  ---
160
 
161
- ### Table and Figure Checks
162
 
163
- #### 10 & 11. Table/Figure Caption Checks
164
- Verifies captions follow correct numbering conventions based on document type.
165
 
166
  **Examples:**
167
- - Table X-Y and Figure X-Y for Advisory Circulars and Orders.
168
- - Table X and Figure X for all other document types.
169
 
170
- #### 12. Table/Figure Reference Check
171
- Ensures references are lowercase mid-sentence and capitalized at the start of a sentence.
172
 
173
  ---
174
 
175
- ### Parenthesis Balance Check
176
 
177
- #### 13. Parenthesis Balance Check
178
- Verifies that all parentheses are properly opened and closed.
179
 
180
  **Examples:**
181
- - Add a missing closing parenthesis to "The system (as defined in AC 25-11B performs...".
 
182
 
183
  ---
184
 
185
- ### Punctuation and Spacing Checks
186
-
187
- #### 14. Double Period Check
188
- Flags unintended multiple periods.
189
 
190
- **Example:**
191
- - Corrects: "This sentence ends with two periods..".
192
 
193
- #### 15. Spacing Check
194
- Ensures proper spacing around references.
195
 
196
- **Examples:**
197
- - Replace "AC25.1" with "AC 25.1".
198
- - Remove double spaces between words or after periods.
199
 
200
  ---
201
 
202
- ### Length Checks
203
 
204
- #### 16. Paragraph Length Check
205
- Flags paragraphs exceeding 6 sentences or 8 lines.
206
 
207
- #### 17. Sentence Length Check
208
- Flags sentences exceeding 35 words.
209
 
210
- ---
 
 
 
211
 
212
- ## 5. Practical Applications
 
213
 
214
- 1. **Efficient Document Review:** Automated checks save time and reduce errors.
215
- 2. **Consistency Across Documents:** Ensures adherence to FAA standards.
216
- 3. **Enhanced Collaboration:** Simplifies document updates for teams.
217
 
218
  ---
219
 
220
- ## 6. Conclusion and Future Updates
 
 
 
221
 
222
- ### Key Takeaways
223
- - Automated checkers enhance accuracy and compliance.
224
- - Tailored for FAA documentation needs.
225
- - Saves time while improving document quality.
226
 
227
- ### What's Next?
228
- - Continue refining the tool to improve accuracy and functionality.
229
- - Explore adding new checks based on user feedback and evolving guidelines.
230
 
231
  **Note:** This tool is a work in progress. Expect more features and updates in the future to meet evolving document requirements.
 
4
  colorFrom: green
5
  colorTo: green
6
  sdk: gradio
7
+ sdk_version: 5.9.1
8
  app_file: app.py
9
  pinned: false
10
  ---
 
17
  ## 1. Introduction
18
 
19
  ### Purpose
20
+ The **Document Checker Tool** streamlines the review process by:
21
+ - Enhancing consistency and compliance with FAA and regulatory standards.
22
+ - Automating manual checks for improved speed and accuracy.
23
+ - Improving clarity and professionalism in FAA documents.
24
 
25
+ This tool provides **recommendations** to aid document authors, who retain final decision-making authority.
26
 
27
  ### Scope
28
+ Supports all FAA document types covered by AIR-646, with checks aligned to:
 
 
29
  - GPO Style Manual
30
  - FAA Orders
31
  - Document Drafting Handbook
 
36
 
37
  ## 2. Revision History
38
 
39
+ - **1/5/2025:** Added checks for 508 accessibility, heading levels, cross-references, and broken links. Updated the acronym checker for better accuracy.
40
+ - **12/8/2024:** Added paragraph and sentence length checks. Reorganized checks for workflow improvements. Updated the date format check to exclude certain AC numbers.
41
+ - **11/26/2024:** Initial release with 15 checks.
42
 
43
  ---
44
 
45
  ## 3. Checker Categories Overview
46
 
47
+ ### Key Checker Categories
48
+ 1. Readability Check
49
+ 2. Heading Title Checks
50
+ 3. Heading Period Format Check
51
+ 4. Terminology Checks
52
+ 5. Acronym Check
53
+ 6. Acronym Usage Check
54
+ 7. Section Symbol (§) Checks
55
+ 8. 508 Compliance Check (basic checks)
56
+ 9. Cross Reference Check
57
+ 10. Broken Link Check
58
+ 11. Date Format Consistency Check
59
+ 12. Placeholder Content Check
60
+ 13. Referenced Document Title Format Check
61
+ 14. Table Caption Check
62
+ 15. Figure Caption Check
63
+ 16. Table/Figure Reference Check
64
+ 17. Parenthesis Balance Check
65
+ 18. Double Period Check
66
+ 19. Spacing Check
67
+ 20. Paragraph Length Check
68
+ 21. Sentence Length Check
69
 
70
  ---
71
 
72
  ## 4. Details of Each Checker
73
 
74
+ ### 1. Readability Check
75
+ Analyzes document readability using multiple metrics including Flesch Reading Ease, Flesch-Kincaid Grade Level, and Gunning Fog Index. Also checks for passive voice usage and technical jargon.
 
 
76
 
77
+ ---
78
 
79
+ ### Heading Checks
 
 
 
 
 
80
 
81
+ #### 2. Heading Title Check
82
+ Verifies required headings are present and formatted according to document type. Note that for ACs, if the AC cancels another AC, you need the Cancellation paragraph. If it doesn't cancel another AC, then you don't need it.
 
 
83
 
84
+ **Examples:**
85
+ - **Advisory Circulars:** Purpose, Applicability, Cancellation, Related Material, Definition of Key Terms
86
+ - **Federal Register Notice:** Purpose of This Notice, Audience, Where to Find This Notice
87
+ - **Orders:** Purpose of This Order, Audience, Where to Find This Order
88
 
89
+ #### 3. Heading Period Format Check
90
+ Verifies if headings include or omit periods based on document type.
91
 
92
  **Examples:**
93
+ - **Requires Periods:** Advisory Circulars, Orders, Technical Standard Orders
94
+ - **No Periods:** Other document types
95
 
96
  ---
97
 
98
  ### Terminology Checks
99
 
100
+ #### 4. Terminology Usage Check
101
+ Flags non-compliant or outdated terms, ensuring adherence to FAA terminology standards.
102
 
103
  **Examples:**
104
  - Replace "shall" with "must" per GPO Style Manual.
 
108
 
109
  ### Acronym and Abbreviation Checks
110
 
111
+ #### 5. Acronym Check
112
+ Verifies acronyms are defined upon first use.
113
+
114
+ **Example:** Federal Aviation Administration (FAA)
115
 
116
+ #### 6. Acronym Usage Check
117
+ Identifies acronyms that are defined but not subsequently used.
118
 
119
  ---
120
 
121
  ### Section Symbol (§) Checks
122
 
123
+ #### 7. Section Symbol Usage Check
124
+ Ensures section symbols are formatted correctly.
125
 
126
  **Examples:**
127
+ - Use "14 CFR 21.21" instead of "14 CFR § 21.21".
128
+ - Use "§§ 25.25 and 25.26" for multiple references.
129
 
130
  ---
131
 
132
+ ### 508 Compliance Check
 
 
 
 
 
 
133
 
134
+ #### 8. 508 Compliance Checks
135
+ - Detects images missing alternative text
136
+ - Identifies skipped heading structures
137
+ - Flags hyperlinks that lack descriptive text indicating their destination.
138
 
139
  ---
140
 
141
+ ### Reference Checks
142
 
143
+ #### 9. Cross Reference Check
144
+ Validates that all references to paragraphs, appendices, tables, or figures exist in the document.
145
 
146
+ #### 10. Broken Link Check
147
+ Identifies non-functional or broken hyperlinks.
148
 
149
  ---
150
 
151
+ ### Date and Placeholder Checks
152
 
153
+ #### 11. Date Format Consistency Check
154
+ Ensures date formatting matches the "Month Day, Year" convention.
155
 
156
  **Examples:**
157
+ - Correct "1/15/24" to "January 15, 2024".
 
158
 
159
+ #### 12. Placeholder Content Check
160
+ Flags placeholders like "TBD" or "To be added".
161
 
162
  ---
163
 
164
+ ### Document Title Checks
165
 
166
+ #### 13. Referenced Document Title Format Check
167
+ Checks formatting of referenced document titles.
168
 
169
  **Examples:**
170
+ - **Italicized:** Advisory Circulars
171
+ - **Quotation Marks:** Other document types
172
 
173
  ---
174
 
175
+ ### Table and Figure Checks
 
 
 
176
 
177
+ #### 14. Table Caption Check
178
+ Ensures table captions follow numbering conventions by document type.
179
 
180
+ #### 15. Figure Caption Check
181
+ Verifies figure captions adhere to proper numbering.
182
 
183
+ #### 16. Table/Figure Reference Check
184
+ Checks capitalization of references depending on placement in a sentence.
 
185
 
186
  ---
187
 
188
+ ### Syntax and Punctuation Checks
189
 
190
+ #### 17. Parenthesis Balance Check
191
+ Ensures parentheses are properly paired.
192
 
193
+ **Example:** Corrects "(as defined in AC 25-11B performs..." to include a closing parenthesis.
 
194
 
195
+ #### 18. Double Period Check
196
+ Identifies unintended multiple periods.
197
+
198
+ **Example:** Corrects "ends with two periods..".
199
 
200
+ #### 19. Spacing Check
201
+ Verifies consistent spacing around references and sentences.
202
 
203
+ **Examples:**
204
+ - Correct "AC25.1" to "AC 25.1".
205
+ - Remove extra spaces after periods.
206
 
207
  ---
208
 
209
+ ### Length Checks
210
+
211
+ #### 20. Paragraph Length Check
212
+ Flags paragraphs exceeding six sentences or eight lines.
213
 
214
+ #### 21. Sentence Length Check
215
+ Highlights sentences longer than 35 words.
 
 
216
 
217
+ ---
 
 
218
 
219
  **Note:** This tool is a work in progress. Expect more features and updates in the future to meet evolving document requirements.