การเปรียบเทียบข้อความจาก PDF
ประเด็นสำคัญ
- ใช้
When you want to compare the text of two PDFs, one method is to paste text copied from the PDFs into Compare Two Texts (Diff) and compare. It's an alternative when the dedicated PDF comparison tool can't be used.
ขั้นตอน
- Extract text from the PDFs (copy in a PDF viewer, or use the tool that extracts text from PDFs).
- Paste the first PDF's text into "Text A (before)".
- Paste the second PDF's text into "Text B (after)".
- Press "Compare" and check "See the differences".
In a scanned PDF the text is an image and can't be extracted as it is. Turn it into text with OCR first.
Choosing between the dedicated comparison tool and this one
- The PDF comparison tool: just choose two PDFs to compare. Easy.
- This tool: handy when you want to tidy the extracted text yourself before comparing.
Benefits of comparing with this tool
- You can tidy the text before comparing (such as removing unneeded headers and page numbers)
- You can use the options to ignore case and surrounding spaces
- You can extract and compare only certain chapters
Tips for tidying extracted text
- Delete page numbers and headers/footers
- When there are too many line breaks, use the line-break tidying tool
- Extract only the chapters you want to compare
Cautions
- Text extracted from a PDF may have line-break positions different from the original.
- Content of tables and figures may not be extractable as text.
- Up to 3000 lines. Compare long PDFs in parts.
เหมาะกับ
- Comparing a contract before and after revision
- Checking version differences in terms or manuals
- Comparing a paper before and after revision
ตัวอย่าง
Wanted to compare two versions of a terms PDF. Extracted the body text from both and pasted it after deleting page numbers. Only the changed clauses were shown.
Common stumbling blocks
- Everything shows as different: line-break positions differ. Tidy line breaks before comparing.
- Text is garbled: a PDF font problem. Extract another way.
Frequently asked questions
Can scanned PDFs be compared?
Turn them into text with OCR and then paste.
สรุป
Extract the PDF text, tidy it, paste and compare. Use alongside the dedicated tool.
ใช้ “เปรียบเทียบข้อความสองชุด (Diff)” (ฟรี)เครื่องมือที่ใช้คู่กันได้ดี
- เปรียบเทียบ PDF สองไฟล์ (ค้นหาความแตกต่าง): แสดงความแตกต่างของข้อความระหว่าง PDF สองไฟล์ โดยแยกสี
- ลบบรรทัดซ้ำและเรียงลำดับรายการ: ลบบรรทัดซ้ำและเรียงลำดับ
- นับตัวอักษร (สำหรับใบสมัครและรายงาน): นับตัวอักษร บรรทัด และแผ่นกระดาษต้นฉบับของข้อความ
หากคู่มือนี้เป็นประโยชน์ ทิปเล็ก ๆ น้อย ๆ จะเป็นกำลังใจอย่างมาก
ส่งทิป (¥300)ส่งของขวัญ (Amazon wishlist)