Skip to content

BleTib/text-diff-viewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Text Diff Viewer

A Streamlit app for comparing text side-by-side with word-level difference highlighting.

Screenshot

Features

  • Word-level diffing with color-coded highlights (green for additions, red for deletions) and length-balanced padding to visualize the size of changes
  • Free text mode for quick comparisons
  • CSV mode for browsing and comparing columns across rows, with arrow navigation

Getting Started

pip install -r requirements.txt
streamlit run app.py

CSV Format

Place CSV files in the data/ directory. The app auto-detects them in the data source dropdown. Configure the CSV separator in the sidebar (default: ;).

Use Case: Reviewing Anonymized Data

This tool is handy for visually inspecting text before and after anonymization. Pair it with an anonymization tool like Presidio or text-anonymizer to spot-check results.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages