Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Current events
Recent changes
Random page
Help
Categories
LemonWiki共筆
Search
Search
Appearance
Log in
Personal tools
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
PDF Table Parsing in Mandarin
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== 7. 中繼資料應儲存在每筆紀錄中 === 解析 PDF 表格時,除了擷取資料本身,也應保留來源脈絡。這些中繼資料對除錯、稽核、資料溯源,以及後續的扁平化輸出都很重要。 建議每筆紀錄至少包含: * <code>page</code>:頁碼 * <code>table_index</code>:表格索引 * <code>table_type</code>:表格類型 * <code>section</code>:章節 * <code>subsection</code>:子章節 * <code>source_file</code>:來源檔案 * <code>raw_row</code>:原始資料列 * <code>parse_warning</code>:解析警告 將中繼資料寫入每筆紀錄,有助於在 JSON 扁平化為 CSV、匯入資料庫,或以單筆紀錄傳遞時,避免遺失脈絡。 如果文件本身包含年度、季度、期別、版本、批次或分類資訊,也應明確保留,避免混用不同批次的資料。
Summary:
Please note that all contributions to LemonWiki共筆 are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
LemonWiki共筆:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)