Skip to content

Comparing Two Texts

See examples/comparing_two_texts.py for the full source.

This example demonstrates:

  1. Building co-occurrence graphs for two different texts
  2. Computing Jaccard similarity of node sets
  3. Identifying vocabulary gaps between texts