Announcement

Collapse
No announcement yet.

23626 Text Compare auto-alignment still baffingly poor

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • 23626 Text Compare auto-alignment still baffingly poor

    E.g.

    2019-02-06 18-10-50.jpg
    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.

  • #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


    • #3
      Originally posted by Aaron View Post
      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?

      image_2395.png


      2019-02-08 20-54-53.png


      2019-02-08 20-55-28.png


      Attached Files

      Comment


      • #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


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

          BC.png

          Originally posted by Aaron View Post
          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


          • #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.

            SAaDKnq.png

            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


            • #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


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

                Originally posted by Aaron View Post
                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


                • #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


                  • #10
                    Thanks.

                    Comment

                    Working...
                    X