Spaces:
Sleeping
Sleeping
January 2025 updates
Browse files
README.md
CHANGED
@@ -4,7 +4,7 @@ emoji: 🐨
|
|
4 |
colorFrom: green
|
5 |
colorTo: green
|
6 |
sdk: gradio
|
7 |
-
sdk_version: 5.
|
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**
|
21 |
-
-
|
22 |
-
-
|
23 |
-
-
|
24 |
|
25 |
-
This tool provides **
|
26 |
|
27 |
### Scope
|
28 |
-
|
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 |
-
|
42 |
-
|
43 |
-
11/26/2024
|
44 |
|
45 |
---
|
46 |
|
47 |
## 3. Checker Categories Overview
|
48 |
|
49 |
-
###
|
50 |
-
1.
|
51 |
-
2.
|
52 |
-
3.
|
53 |
-
4.
|
54 |
-
5.
|
55 |
-
6.
|
56 |
-
7.
|
57 |
-
8.
|
58 |
-
9.
|
59 |
-
10.
|
60 |
-
11.
|
61 |
-
12.
|
62 |
-
13.
|
63 |
-
14.
|
64 |
-
15.
|
65 |
-
16.
|
66 |
-
17.
|
|
|
|
|
|
|
|
|
67 |
|
68 |
---
|
69 |
|
70 |
## 4. Details of Each Checker
|
71 |
|
72 |
-
###
|
73 |
-
|
74 |
-
#### 1. Required Heading Title Check
|
75 |
-
Verifies required headings are present and properly formatted based on document type.
|
76 |
|
77 |
-
|
78 |
|
79 |
-
|
80 |
-
- Purpose
|
81 |
-
- Applicability
|
82 |
-
- Cancellation
|
83 |
-
- Related Material
|
84 |
-
- Definition of Key Terms
|
85 |
|
86 |
-
|
87 |
-
|
88 |
-
- Audience
|
89 |
-
- Where Can I Find This Notice
|
90 |
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
|
96 |
-
####
|
97 |
-
|
98 |
|
99 |
**Examples:**
|
100 |
-
- **
|
101 |
-
- **No
|
102 |
|
103 |
---
|
104 |
|
105 |
### Terminology Checks
|
106 |
|
107 |
-
####
|
108 |
-
Flags
|
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 |
-
####
|
119 |
-
|
120 |
-
|
|
|
121 |
|
122 |
-
####
|
123 |
-
Identifies acronyms defined but not used.
|
124 |
|
125 |
---
|
126 |
|
127 |
### Section Symbol (§) Checks
|
128 |
|
129 |
-
####
|
130 |
-
Ensures
|
131 |
|
132 |
**Examples:**
|
133 |
-
-
|
134 |
-
-
|
135 |
|
136 |
---
|
137 |
|
138 |
-
###
|
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.
|
147 |
-
|
|
|
|
|
148 |
|
149 |
---
|
150 |
|
151 |
-
###
|
152 |
|
153 |
-
#### 9.
|
154 |
-
|
155 |
|
156 |
-
|
157 |
-
-
|
158 |
|
159 |
---
|
160 |
|
161 |
-
###
|
162 |
|
163 |
-
####
|
164 |
-
|
165 |
|
166 |
**Examples:**
|
167 |
-
-
|
168 |
-
- Table X and Figure X for all other document types.
|
169 |
|
170 |
-
#### 12.
|
171 |
-
|
172 |
|
173 |
---
|
174 |
|
175 |
-
###
|
176 |
|
177 |
-
#### 13.
|
178 |
-
|
179 |
|
180 |
**Examples:**
|
181 |
-
-
|
|
|
182 |
|
183 |
---
|
184 |
|
185 |
-
###
|
186 |
-
|
187 |
-
#### 14. Double Period Check
|
188 |
-
Flags unintended multiple periods.
|
189 |
|
190 |
-
|
191 |
-
|
192 |
|
193 |
-
#### 15.
|
194 |
-
|
195 |
|
196 |
-
|
197 |
-
|
198 |
-
- Remove double spaces between words or after periods.
|
199 |
|
200 |
---
|
201 |
|
202 |
-
###
|
203 |
|
204 |
-
####
|
205 |
-
|
206 |
|
207 |
-
|
208 |
-
Flags sentences exceeding 35 words.
|
209 |
|
210 |
-
|
|
|
|
|
|
|
211 |
|
212 |
-
|
|
|
213 |
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
|
218 |
---
|
219 |
|
220 |
-
|
|
|
|
|
|
|
221 |
|
222 |
-
|
223 |
-
|
224 |
-
- Tailored for FAA documentation needs.
|
225 |
-
- Saves time while improving document quality.
|
226 |
|
227 |
-
|
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.
|