Terms
Fetched list
Records the URL and title of each notice already downloaded. Each scan compares against the list, and only notices not on the list count as new.
File naming rule
The name is made of category code, source, notice date and a daily sequence number, in that order. Example: W_Unit-A_20261109_01.pdf, where W stands for water outage.
Manual check table
Lists the fields a language model extracted from the notice text. Notices with an empty or uncertain field are marked as needing a manual check, and the fields can be corrected directly.
Original problem
Before
- Staff opened each provider website one by one, at irregular intervals, to look for new notices.
- Each person downloaded and named attachments individually, so file names of the same kind of file followed different formats.
- The start time, end time and affected area of each notice were read from the full text and entered by hand.
After
- A scheduled job scans all sources at a fixed time each week, compares against the fetched list and takes only new notices.
- Attachments are named by the file naming rule and filed in the folder for their category.
- A language model extracts the fields and a check table is produced. Extraction does not succeed for every notice, and the parts that need a manual check are marked in the table.
Workflow
Interactive demo: run this week's scan and check the extracted fields
Outcome and technology
No missed or repeated notices
Each run compares against the fetched list and processes only new notices. The scan result of each source is logged line by line.
Consistent file names
Attachments are named by category code, source, date and sequence number, and filed in the matching category folder.
Extracted fields can be corrected
Content extraction is currently a prototype. Fields of some notices cannot be determined, are marked in the check table, and are filled in by hand before export.