23626 Text Compare auto-alignment still baffingly poor

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • chrisjj
    Carpal Tunnel
    • Apr 2008
    • 2537

    23626 Text Compare auto-alignment still baffingly poor

    E.g.

    Click image for larger version

Name:	2019-02-06 18-10-50.jpg
Views:	181
Size:	34.6 KB
ID:	79885
    The far closer match with 343 is missed. Alignment is Patience Diff.

    I've been reporting this on and off for years, and it never improves.

    Surely this can't be working as designed.
  • Aaron
    Team Scooter
    • Oct 2007
    • 16009

    #2
    Each alignment algorithm will parse the file differently. If you switch to the other algorithms in the Session menu -> Session Settings, Alignment tab, do they work better for this data?
    Aaron P Scooter Software

    Comment

    • chrisjj
      Carpal Tunnel
      • Apr 2008
      • 2537

      #3
      Originally posted by Aaron
      Each alignment algorithm will parse the file differently. If you switch to the other algorithms in the Session menu -> Session Settings, Alignment tab, do they work better for this data?
      No. Should they?

      Click image for larger version

Name:	image_2395.png
Views:	167
Size:	17.0 KB
ID:	79910


      Click image for larger version  Name:	2019-02-08 20-54-53.png Views:	2 Size:	16.9 KB ID:	79913


      Click image for larger version  Name:	2019-02-08 20-55-28.png Views:	1 Size:	16.5 KB ID:	79912


      Attached Files

      Comment

      • Aaron
        Team Scooter
        • Oct 2007
        • 16009

        #4
        Hello,

        Can you email sample files and include the BCSupport.zip from the Help menu -> Support; Export? I've tried creating a similar example file but the diff line is aligning to the other diff line. If emailing, please also include a link back to this forum thread.
        Aaron P Scooter Software

        Comment

        • chrisjj
          Carpal Tunnel
          • Apr 2008
          • 2537

          #5
          Originally posted by Aaron
          Can you email sample files and include the BCSupport.zip from the Help menu -> Support; Export?
          Done, for a redacted version:

          Click image for larger version  Name:	BC.png Views:	1 Size:	10.6 KB ID:	79920

          Originally posted by Aaron
          I've tried creating a similar example file but the diff line is aligning to the other diff line.
          Great. Then I look forward to hearing what I'm doing wrong. Thanks.

          Comment

          • chrisjj
            Carpal Tunnel
            • Apr 2008
            • 2537

            #6
            Aaron wrote in mail:
            Enable the Folder Compare's Session Setting -> Alignment tab -> Use closeness matching (on by default), and that updates the comparison and aligns these similar lines.
            Thanks. That works.

            Click image for larger version

Name:	SAaDKnq.png
Views:	194
Size:	10.1 KB
ID:	79947

            So what's the catch? I assume there must be one, else this would be on by default. Help doesn't say, or say how this works:
            Mark the Use closeness matching checkbox to attempt to align the remaining mismatched lines based on their similarity.

            Comment

            • Aaron
              Team Scooter
              • Oct 2007
              • 16009

              #7
              Use Closeness Matching is on by default, but could be disabled. The selectable methods are using specific algorithms, and Use Closeness matching is an extra bit of logic that we can add on top of that which we find usually helps but can be disabled by users who want a standard algorithm.
              Aaron P Scooter Software

              Comment

              • chrisjj
                Carpal Tunnel
                • Apr 2008
                • 2537

                #8
                Originally posted by Aaron
                Use Closeness Matching is on by default
                Thanks for the correction.

                Originally posted by Aaron
                The selectable methods are using specific algorithms, and Use Closeness matching is an extra bit of logic that we can add on top of that which we find usually helps but can be disabled by users who want a standard algorithm.
                So... what's the catch?

                Comment

                • Aaron
                  Team Scooter
                  • Oct 2007
                  • 16009

                  #9
                  It gives slightly different results, just like each of the algorithms handles different types of alignment. In most cases, it gives results closer to what a user expects, since it tries to find similar lines. Sometimes a user does not want to weight a similar section of line and, if so, they can disable it.
                  Aaron P Scooter Software

                  Comment

                  • chrisjj
                    Carpal Tunnel
                    • Apr 2008
                    • 2537

                    #10
                    Thanks.

                    Comment

                    Working...