مقارنة النص من ملفات 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)