"be consistent" | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
lima1, The presented algorithm is great but as I mentioned before it does not fit the proposed problem. I agree that for many situations insertions/deletions are very important, but for this specific application they are useless. The output syntax presented in the first post is not flexible. The two strings should be marked only based on unchanged/new/moved status of each word. I am afraid that the solution is beyond the simple use of LCS. Note: In my first version of my application I used LCS (subsequence) but it failed for some cases where some sequences appeared multiple times and were part of other subsequences as well. P.S. I appreciate very much your help and time and I try to keep you close to the proposed requirements so that your time and effort will not be useless for my problem. In reply to Re^4: diff of two strings
by flaviusm
|
|