Closed chaddy314 closed 3 years ago
looks great but i don't think that we need a prediction AND a diff view, do we? i think the standard view should be only pred or only GT (if available), as it is now. then, when activating "show prediction" (which should probably be placed somewhere else in the menu), the diff view should be shown by default, maybe with the option to deactivate it.
Are you suggesting something like this? "Show Prediction" now shows view 2(see below), "Show Raw" then switches to prediction without diff.
diff view off and prediction off(default)
With diff view on and prediction off
With diff view off and prediction on
adds diff view between prediction and ground truth![image](https://user-images.githubusercontent.com/51399945/122132598-66526400-ce3b-11eb-8020-d2a0a8af158f.png)
uses diff-match-patch library which implements a slightly modified Myer's diff algorithm for fast calculation of diffs
adds toggle to only display textlines where a difference has been found
closes #221