Effects of Transposition of Lines on DTW.
- Created two files from Ham F1 Sc1 differning by lines 30,32 moved to lines 61,61:
- Confirmed with diff:
~/DMU/msa_sandpit_2017.3.13> diff Ham_F1_100.html.txt Ham_F1_100t.html.txt 30,32d29 < To Norway, Vncle of young Fortinbras, < Who Impotent and Bedrid, scarsely heares < Of this his Nephewes purpose, to suppre s s e 63a61,63 > To Norway, Vncle of young Fortinbras, > Who Impotent and Bedrid, scarsely heares > Of this his Nephewes purpose, to suppre s s e
- and diff -e
~/DMU/msa_sandpit_2017.3.13> diff -e Ham_F1_100.html.txt Ham_F1_100t.html.txt 63a To Norway, Vncle of young Fortinbras, Who Impotent and Bedrid, scarsely heares Of this his Nephewes purpose, to suppre s s e . 30,32d
- Run dtw.py on thses two files:
Fri, Mar 17, 2017 11:58:54 AM hist:12121 jobs:0 ~/DMU/msa_sandpit_2017.3.13> py dtw.py 0 3000 Ham_F1_100.html.txt Ham_F1_100t.html.txt "_"
- Leading to this alignment: DTW on Transposed Text: Output