With Granularity = WORD_LEVEL, compare frequently groups several adjacent words into a single delete/insert, instead of clear per-word revisions.
CHAR_LEVEL — not suitable for our use case and significantly slower on la…...words import Document, CompareOptions # Load documents doc1 =...= Document("original.docx") doc2 = Document("modified.docx")...