Assessments: Keyphrase distribution
The Keyphrase distribution assessment checks how evenly the words from the keyphrase (and its synonyms) are spread over the text.
A sentence contains the keyphrase (or a synonym) when it has all of its (content) words, for keyphrases of fewer than 4 words. For keyphrases of 4 words or more, at least half of the words are enough. In Japanese, the limit is 7 characters instead of 4 words. In languages without a function word list (Catalan, and languages without specific support), all (content) words are always needed, whatever the length of the keyphrase. List items are joined into one sentence.
| Keyphrase distribution | |
|---|---|
| Name in code | KeyphraseDistributionAssessment |
| Title URL | https://yoa.st/33q |
| Call to action URL | https://yoa.st/33u |
| When it applies | Always, when Yoast SEO Premium is active. |
| Product | Yoast SEO Premium. Also in Yoast SEO for Shopify and Yoast SEO for Google Docs. |
| Content types | WordPress: added by Yoast SEO Premium to the SEO analysis of all content types Shopify: products, collections, blog posts and pages Google Docs: documents |
| Related keyphrases | ❌ |
| Uses synonyms | ✅ |
| Languages | All languages |
| Cornerstone | ❌ Same scoring |
| Uses highlighting | ✅ Highlights the sentences that contain the keyphrase or its synonyms |
| Uses morphology (Premium) | ✅ |
Scoring
| Traffic light | Score | Criterion | Feedback |
|---|---|---|---|
| Red | 1 | No keyphrase set and/or keyphrase not found in the text | Keyphrase distribution: Please add both a keyphrase and some text containing the keyphrase or its synonyms. |
| Red | 1 | Texts of 15 sentences or longer: the distraction percentage1 is > 50% | Keyphrase distribution: Very uneven. Large parts of your text do not contain the keyphrase or its synonyms. Distribute them more evenly. |
| Orange | 6 | Texts of 15 sentences or longer: the distraction percentage is > 30% and ≤ 50% | Keyphrase distribution: Uneven. Some parts of your text do not contain the keyphrase or its synonyms. Distribute them more evenly. |
| Green | 9 | Texts of 15 sentences or longer: the distraction percentage is ≤ 30% | Keyphrase distribution: Good job! |
| Green | 9 | Texts shorter than 15 sentences: the keyphrase is found in the text at least once | Keyphrase distribution: Good job! |
1 The distraction percentage is calculated with this formula:
( maximum number of consecutive sentences that don't contain the keyphrase ) / ( total number of sentences ) * 100
Example: 6 / 15 * 100 = 40%
For the full implementation details, see YoastSEO.js#1558 and YoastSEO.js#1868.