kukas/word-alignment-visualization
Word Alignment Visualization is a Python package for visualizing word alignments between two sentences in a Jupyter notebook. The package provides an interactive widget that displays original and translated sentences with word alignment lines.
This tool helps language professionals visually inspect how words in an original sentence map to words in its translation. You provide the original sentence, the translated sentence, and a list of which words correspond, and it generates an interactive diagram showing these connections. It's designed for linguists, translators, or anyone analyzing machine translation quality.
No commits in the last 6 months.
Use this if you need to visually analyze and understand the relationships between individual words in a source text and their counterparts in a translated text.
Not ideal if you need to align entire documents or paragraphs, or if your primary goal is to perform word alignment rather than visualize existing alignments.
Stars
7
Forks
—
Language
Jupyter Notebook
License
GPL-3.0
Category
Last pushed
Dec 04, 2023
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/nlp/kukas/word-alignment-visualization"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
luheng/deep_srl
Code and pre-trained model for: Deep Semantic Role Labeling: What Works and What's Next
sileod/tasksource
Datasets collection and preprocessings framework for NLP extreme multitask learning
loomchild/maligna
Bilingual sengence aligner
CK-Explorer/DuoSubs
Semantic subtitle aligner and merger for bilingual subtitle syncing.
coastalcph/lex-glue
LexGLUE: A Benchmark Dataset for Legal Language Understanding in English