https://github.com/ramtinms/nlp_visualization
Python based visualization tools for Natural Language Processing and Machine Translation
https://github.com/ramtinms/nlp_visualization
Last synced: 4 months ago
JSON representation
Python based visualization tools for Natural Language Processing and Machine Translation
- Host: GitHub
- URL: https://github.com/ramtinms/nlp_visualization
- Owner: ramtinms
- Created: 2015-06-16T18:05:46.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-06-16T18:12:02.000Z (about 10 years ago)
- Last Synced: 2025-01-09T11:12:13.730Z (6 months ago)
- Language: Python
- Size: 129 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# NLP_visualization
A python based visualization tool for Natural Language Processing and Machine Translation## Word Alignment Viewer
usage:import alignment_view from AlignmentView
Call alignment_view with following args:
1. list of words in the source sentence (e0 ... en)
2. list of words in the target sentence (f0 ... fm)
3. dictionary of rules with this format : "e0 ||| f0" = p(f | e)
You can also run the AlignmentView to run a unit test