Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new fuzzy quote matching implementation #2814

Merged
merged 1 commit into from
Dec 11, 2020
Merged

Commits on Dec 11, 2020

  1. Add new fuzzy quote matching implementation

    Implement a `matchQuote` function which will be used to replace
    `dom-anchor-text-quote` for finding the best match for annotation quotes
    in the document text.
    
    The new implementation is based on the `approx-string-match` library and
    provides several improvements over the existing one:
    
     - Better performance when there are many differences between the quote
       and closest document text
    
     - It will be easier for us to tune the degree of mismatch allowed
       between the quote and document text and how candidate matches are
       ranked
    robertknight committed Dec 11, 2020
    Configuration menu
    Copy the full SHA
    500e9bc View commit details
    Browse the repository at this point in the history