處理長文字的小提示
- 確認
- 拆分
You pasted a long text and "Too many lines (up to 3000)." was shown. Here is how to handle many lines in Compare Two Texts (Diff).
The limit
- Up to 3000 lines can be compared.
- It applies to both Text A and Text B.
步驟
- Paste text into "Text A (before)" and "Text B (after)".
- 點選「比較」。
- If there are too many lines, a message is shown.
Ways to split and compare
- By chapter: paste and compare chapter by chapter or section by section.
- By page: compare in chunks of a few pages.
- Only likely-changed parts: narrow down the rough range first.
- Reduce lines: delete empty lines and unneeded headers.
Tips for where to split
Split both texts at the same positions. If the split positions drift, parts that are really the same are shown as different.
- Split at headings (chapter titles)
- Split at clauses with the same number
Reducing empty lines
Many empty lines increase the line count. A tool that removes empty lines can reduce it. But note that paragraph breaks become unclear.
How to check the line count
The character-count tool can count lines. Checking before pasting is handy.
適合
- Comparing long contracts and manuals
- Comparing long programs
- Comparing log files
A guide
3000 lines corresponds to dozens of pages of ordinary text. For long documents, comparing in parts also makes checking easier.
示例
Wanted to compare two versions of a 200-page manual. Split by chapter and compared 20 times. Only the chapters with changes could be checked in detail.
Common stumbling blocks
- The split drifts: split at common positions such as headings.
- Pasting many times is tiring: narrow to chapters likely to have changed.
Frequently asked questions
Can the limit be raised?
Not with this tool. Compare in parts.
小結
Up to 3000 lines. When splitting, split at the same positions.
使用「對比兩段文字的差異」(免費)搭配使用的工具
- 比較兩個 PDF(找出差異):用顏色區分,顯示兩個 PDF 之間的文字差異。
- 刪除重複行並排序:刪除重複的行並排序。
- 文字數統計(用於求職申請表和報告):統計文字的字數、行數和稿紙張數。