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의 텍스트 차이를 색으로 구분해 보여 줍니다.
- 중복된 줄 제거 및 목록 정렬: 중복된 줄을 제거하고 정렬합니다.
- 글자 수 세기 (지원서·리포트용): 텍스트의 글자 수, 줄 수, 원고지 매수를 셉니다.