forked from ampproject/amphtml
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve text-matching algorithm of amp-viewer-integration/findtext.js. (
ampproject#23853) This PR improves the algorithm to match sentences to highlight in featured snippets. With this change, we will highlight sentences from the smaller ranges than before. This change affects roughly around 5% of pages in featured snippets. The details of diffs by this change: https://docs.google.com/document/d/1M_QO1zdqa8IH9-fxF6b6eWseEXZe2mb-M1MYgQIB_Cg/edit?usp=sharing
- Loading branch information
1 parent
9b7531e
commit 155d6a6
Showing
2 changed files
with
282 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.