Conversation
… (German) sentence tokenizer is used.
agnieszkaszuba
requested changes
Jun 14, 2022
Contributor
agnieszkaszuba
left a comment
There was a problem hiding this comment.
CR: I have one small comment, and I made a commit with minor fixes (such as spelling). But other than that, looks good! 👍
I have not acceptance tested yet (will leave it for another day/person).
Contributor
Author
|
Thank you for the feedback. I'm pretty annoyed with myself for those sloppy typos. I really should do better. |
Contributor
|
Acceptance test:
Let's merge! 👍 |
herregroen
pushed a commit
that referenced
this pull request
Jun 28, 2022
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Context
Summary
This PR can be summarized in the following changelog entry:
Relevant technical choices:
endsWithOrdinalDot) to the generic sentenceTokenizer to prevent an Error. In the generic Tokenizer this always returnsfalse.Test instructions
Test instructions for the acceptance test before the PR gets merged
This PR can be acceptance tested by following these steps:
For wordpress
Set the site language to German (
Settings->site language->save)Create a new post (
Beiträge-->Erstellen) and give it a title.Paste this text in the content.
Add
"12. Club"(including the double quotes) as the focus keyphrase.Go to

SEO-Analyseand toggle the text highlighting forKeyphrasendichte, Make sure that12. Clubis highlighted like in the screenshot.In the Readability Analysis (Lesbarkeits-Analyse) toggle the mark text button for passive sentences. Make sure that the following sentences are marked: In den

1. Club der Stadt wird nachts getanzt.,In den 12. Club der Stadt wird nachts getanzt.,In den 123. Club der Stadt wird nachts getanzt.. And make sure that the following sentence is only partly marked (which is undesirable but a caveat that we accept):In den 1234. Club der Stadt wird nachts getanzt.For shopify
Test instructions for QA when the code is in the RC
QA can test this PR by following these steps:
Impact check
This PR affects the following parts of the plugin, which may require extra testing:
UI changes
Other environments
[shopify-seo], added test instructions for Shopify and attached theShopifylabel to this PR.Documentation
Quality assurance
Fixes https://yoast.atlassian.net/browse/LR-10
Fixes Yoast/YoastSEO.js#745