diff --git a/apps/content-analysis/src/analysis.worker.js b/apps/content-analysis/src/analysis.worker.js index 9e47240a739..89a5f51f8d7 100644 --- a/apps/content-analysis/src/analysis.worker.js +++ b/apps/content-analysis/src/analysis.worker.js @@ -24,6 +24,7 @@ import CollectionCornerstoneSEOAssessor from "yoastseo/src/scoring/collectionPag import CollectionRelatedKeywordAssessor from "yoastseo/src/scoring/collectionPages/relatedKeywordAssessor"; import CollectionCornerstoneRelatedKeywordAssessor from "yoastseo/src/scoring/collectionPages/cornerstone/relatedKeywordAssessor"; +import registerPremiumAssessments from "./utils/registerPremiumAssessments"; self.onmessage = ( event ) => { const language = event.data.language; @@ -36,6 +37,8 @@ self.onmessage = ( event ) => { const worker = new AnalysisWebWorker( self, new Researcher() ); + registerPremiumAssessments( worker, language ); + // Set custom assessors. // Store product pages. worker.setCustomSEOAssessorClass( productSEOAssessor, "productPage", { introductionKeyphraseUrlTitle: "https://yoa.st/shopify8", diff --git a/apps/content-analysis/src/utils/registerPremiumAssessments.js b/apps/content-analysis/src/utils/registerPremiumAssessments.js new file mode 100644 index 00000000000..a639f7ec014 --- /dev/null +++ b/apps/content-analysis/src/utils/registerPremiumAssessments.js @@ -0,0 +1,71 @@ +import { getLanguagesWithWordComplexity } from "yoastseo/src/helpers/getLanguagesWithWordComplexity"; + +// Configs for the supported languages. +import wordComplexityConfigEnglish from "yoastseo/src/languageProcessing/languages/en/config/wordComplexity"; +import wordComplexityConfigGerman from "yoastseo/src/languageProcessing/languages/de/config/wordComplexity"; +import wordComplexityConfigSpanish from "yoastseo/src/languageProcessing/languages/es/config/wordComplexity"; +import wordComplexityConfigFrench from "yoastseo/src/languageProcessing/languages/fr/config/wordComplexity"; + +// Helpers for the supported languages. +import wordComplexityHelperEnglish from "yoastseo/src/languageProcessing/languages/en/helpers/checkIfWordIsComplex"; +import wordComplexityHelperGerman from "yoastseo/src/languageProcessing/languages/de/helpers/checkIfWordIsComplex"; +import wordComplexityHelperSpanish from "yoastseo/src/languageProcessing/languages/es/helpers/checkIfWordIsComplex"; +import wordComplexityHelperFrench from "yoastseo/src/languageProcessing/languages/fr/helpers/checkIfWordIsComplex"; +// Research. +import wordComplexity from "yoastseo/src/languageProcessing/researches/wordComplexity"; +import keyPhraseDistribution from "yoastseo/src/languageProcessing/researches/keyphraseDistribution"; + +// Assessment. +import WordComplexityAssessment from "yoastseo/src/scoring/assessments/readability/WordComplexityAssessment"; +import KeyphraseDistributionAssessment from "yoastseo/src/scoring/assessments/seo/KeyphraseDistributionAssessment"; + +const helpers = { + de: wordComplexityHelperGerman, + en: wordComplexityHelperEnglish, + es: wordComplexityHelperSpanish, + fr: wordComplexityHelperFrench, +}; + +const configs = { + de: wordComplexityConfigGerman, + en: wordComplexityConfigEnglish, + es: wordComplexityConfigSpanish, + fr: wordComplexityConfigFrench, +}; + +const pluginName = "YoastSEOPremium"; + +export default function( worker, language ) { + if ( getLanguagesWithWordComplexity().includes( language ) ) { + // Get the word complexity config for the specific language. + const wordComplexityConfig = configs[ language ]; + // Get the word complexity helper for the specific language. + const wordComplexityHelper = helpers[ language ]; + // Initialize the assessment for regular content. + const wordComplexityAssessment = new WordComplexityAssessment(); + // Initialize the assessment for cornerstone content. + const wordComplexityAssessmentCornerstone = new WordComplexityAssessment( { + scores: { + acceptableAmount: 3, + }, + } ); + + // Register the word complexity config. + worker.registerResearcherConfig( "wordComplexity", wordComplexityConfig ); + + // Register the word complexity helper. + worker.registerHelper( "checkIfWordIsComplex", wordComplexityHelper ); + + // Register the word complexity research. + worker.registerResearch( "wordComplexity", wordComplexity ); + + // Register the word complexity assessment for regular content. + worker.registerAssessment( "wordComplexity", wordComplexityAssessment, pluginName, "readability" ); + + // Register the word complexity assessment for cornerstone content. + worker.registerAssessment( "wordComplexity", wordComplexityAssessmentCornerstone, pluginName, "cornerstoneReadability" ); + } + const keyphraseDistributionAssessment = new KeyphraseDistributionAssessment(); + worker.registerResearch( "keyphraseDistribution", keyPhraseDistribution ); + worker.registerAssessment( "keyphraseDistributionAssessment", keyphraseDistributionAssessment, pluginName, "seo" ); +} diff --git a/packages/yoastseo/spec/languageProcessing/languages/de/ResearcherSpec.js b/packages/yoastseo/spec/languageProcessing/languages/de/ResearcherSpec.js index 3e82f85084d..4ba479901bc 100644 --- a/packages/yoastseo/spec/languageProcessing/languages/de/ResearcherSpec.js +++ b/packages/yoastseo/spec/languageProcessing/languages/de/ResearcherSpec.js @@ -9,7 +9,7 @@ import stopWords from "../../../../src/languageProcessing/languages/de/config/st import syllables from "../../../../src/languageProcessing/languages/de/config/syllables.json"; import checkIfWordIsComplex from "../../../../src/languageProcessing/languages/de/helpers/checkIfWordIsComplex"; import wordComplexityConfig from "../../../../src/languageProcessing/languages/de/config/wordComplexity"; -const morphologyDataDE = getMorphologyData( "de" ); +const premiumData = getMorphologyData( "de" ); describe( "a test for the German Researcher", function() { const researcher = new Researcher( new Paper( "" ) ); @@ -55,7 +55,7 @@ describe( "a test for the German Researcher", function() { } ); it( "stems a word using the German stemmer", function() { - researcher.addResearchData( "morphology", morphologyDataDE ); + researcher.addResearchData( "morphology", premiumData ); expect( researcher.getHelper( "getStemmer" )( researcher )( "Katzen" ) ).toEqual( "Katz" ); } ); @@ -81,8 +81,8 @@ describe( "a test for the German Researcher", function() { it( "checks if a word is complex in German", function() { researcher.addHelper( "checkIfWordIsComplex", checkIfWordIsComplex ); - expect( researcher.getHelper( "checkIfWordIsComplex" )( wordComplexityConfig, "optimierungen" ) ).toEqual( true ); - expect( researcher.getHelper( "checkIfWordIsComplex" )( wordComplexityConfig, "boxen" ) ).toEqual( false ); + expect( researcher.getHelper( "checkIfWordIsComplex" )( wordComplexityConfig, "optimierungen", premiumData.de ) ).toEqual( true ); + expect( researcher.getHelper( "checkIfWordIsComplex" )( wordComplexityConfig, "boxen", premiumData.de ) ).toEqual( false ); } ); it( "checks if a word is a function word in German", function() { diff --git a/packages/yoastseo/spec/languageProcessing/languages/de/helpers/checkIfWordIsComplexSpec.js b/packages/yoastseo/spec/languageProcessing/languages/de/helpers/checkIfWordIsComplexSpec.js index 50434cc015c..90ec6b08ef4 100644 --- a/packages/yoastseo/spec/languageProcessing/languages/de/helpers/checkIfWordIsComplexSpec.js +++ b/packages/yoastseo/spec/languageProcessing/languages/de/helpers/checkIfWordIsComplexSpec.js @@ -1,35 +1,37 @@ import checkIfWordIsComplex from "../../../../../src/languageProcessing/languages/de/helpers/checkIfWordIsComplex"; import wordComplexityConfig from "../../../../../src/languageProcessing/languages/de/config/wordComplexity"; +import getMorphologyData from "../../../../specHelpers/getMorphologyData"; +const premiumData = getMorphologyData( "de" ).de; describe( "a test checking if the word is complex in German", function() { it( "returns singular word form as non-complex if it is found in the list", function() { - expect( checkIfWordIsComplex( wordComplexityConfig, "präsident" ) ).toEqual( false ); + expect( checkIfWordIsComplex( wordComplexityConfig, "präsident", premiumData ) ).toEqual( false ); } ); it( "returns plural word form as non-complex if its singular form is found in the list", function() { - expect( checkIfWordIsComplex( wordComplexityConfig, "Verstärkungen" ) ).toEqual( false ); + expect( checkIfWordIsComplex( wordComplexityConfig, "Verstärkungen", premiumData ) ).toEqual( false ); } ); it( "returns plural word form as non-complex if its singular form is found in the list", function() { - expect( checkIfWordIsComplex( wordComplexityConfig, "Gouverneure" ) ).toEqual( false ); + expect( checkIfWordIsComplex( wordComplexityConfig, "Gouverneure", premiumData ) ).toEqual( false ); } ); it( "returns word as non-complex if it is found in the function words list", function() { - expect( checkIfWordIsComplex( wordComplexityConfig, "verschiedenes" ) ).toEqual( false ); + expect( checkIfWordIsComplex( wordComplexityConfig, "verschiedenes", premiumData ) ).toEqual( false ); } ); it( "returns plural word as complex if it (and its singular form) are not in the list", function() { - expect( checkIfWordIsComplex( wordComplexityConfig, "optimierungen" ) ).toEqual( true ); + expect( checkIfWordIsComplex( wordComplexityConfig, "optimierungen", premiumData ) ).toEqual( true ); } ); it( "returns word longer than 10 characters as complex if it's not in the list", function() { - expect( checkIfWordIsComplex( wordComplexityConfig, "architektonisch" ) ).toEqual( true ); + expect( checkIfWordIsComplex( wordComplexityConfig, "architektonisch", premiumData ) ).toEqual( true ); } ); it( "returns plural word as non complex if the word is less than 10 characters", function() { - expect( checkIfWordIsComplex( wordComplexityConfig, "boxen" ) ).toEqual( false ); + expect( checkIfWordIsComplex( wordComplexityConfig, "boxen", premiumData ) ).toEqual( false ); } ); it( "recognized contractions when the contraction uses ’ (right single quotation mark) instead of ' (apostrophe)", function() { - expect( checkIfWordIsComplex( wordComplexityConfig, "l’histoire" ) ).toEqual( false ); + expect( checkIfWordIsComplex( wordComplexityConfig, "l’histoire", premiumData ) ).toEqual( false ); } ); } ); diff --git a/packages/yoastseo/spec/languageProcessing/languages/en/ResearcherSpec.js b/packages/yoastseo/spec/languageProcessing/languages/en/ResearcherSpec.js index f21deef2ed6..5174663cec4 100644 --- a/packages/yoastseo/spec/languageProcessing/languages/en/ResearcherSpec.js +++ b/packages/yoastseo/spec/languageProcessing/languages/en/ResearcherSpec.js @@ -9,7 +9,7 @@ import stopWords from "../../../../src/languageProcessing/languages/en/config/st import syllables from "../../../../src/languageProcessing/languages/en/config/syllables.json"; import checkIfWordIsComplex from "../../../../src/languageProcessing/languages/en/helpers/checkIfWordIsComplex"; import wordComplexityConfig from "../../../../src/languageProcessing/languages/en/config/wordComplexity"; -const morphologyDataEN = getMorphologyData( "en" ); +const premiumData = getMorphologyData( "en" ); describe( "a test for the English Researcher", function() { const researcher = new Researcher( new Paper( "This is another paper!" ) ); @@ -55,7 +55,7 @@ describe( "a test for the English Researcher", function() { } ); it( "stems a word using the English stemmer", function() { - researcher.addResearchData( "morphology", morphologyDataEN ); + researcher.addResearchData( "morphology", premiumData ); expect( researcher.getHelper( "getStemmer" )( researcher )( "cats" ) ).toEqual( "cat" ); } ); @@ -82,7 +82,7 @@ describe( "a test for the English Researcher", function() { it( "checks if a word is complex in English", function() { researcher.addHelper( "checkIfWordIsComplex", checkIfWordIsComplex ); - expect( researcher.getHelper( "checkIfWordIsComplex" )( wordComplexityConfig, "polygonal", morphologyDataEN.en ) ).toEqual( true ); - expect( researcher.getHelper( "checkIfWordIsComplex" )( wordComplexityConfig, "investigations", morphologyDataEN.en ) ).toEqual( false ); + expect( researcher.getHelper( "checkIfWordIsComplex" )( wordComplexityConfig, "polygonal", premiumData.en ) ).toEqual( true ); + expect( researcher.getHelper( "checkIfWordIsComplex" )( wordComplexityConfig, "investigations", premiumData.en ) ).toEqual( false ); } ); } ); diff --git a/packages/yoastseo/spec/languageProcessing/languages/en/helpers/checkIfWordIsComplexSpec.js b/packages/yoastseo/spec/languageProcessing/languages/en/helpers/checkIfWordIsComplexSpec.js index f9537b90690..257bbb5c468 100644 --- a/packages/yoastseo/spec/languageProcessing/languages/en/helpers/checkIfWordIsComplexSpec.js +++ b/packages/yoastseo/spec/languageProcessing/languages/en/helpers/checkIfWordIsComplexSpec.js @@ -2,54 +2,53 @@ import checkIfWordIsComplex from "../../../../../src/languageProcessing/language import wordComplexityConfig from "../../../../../src/languageProcessing/languages/en/config/wordComplexity"; import getMorphologyData from "../../../../specHelpers/getMorphologyData"; -const morphologyData = getMorphologyData( "en" ).en; +const premiumData = getMorphologyData( "en" ).en; describe( "a test checking if the word is complex in English", function() { it( "returns singular word as non-complex if it is found in the list", function() { - expect( checkIfWordIsComplex( wordComplexityConfig, "example", morphologyData ) ).toEqual( false ); + expect( checkIfWordIsComplex( wordComplexityConfig, "example", premiumData ) ).toEqual( false ); } ); it( "returns word as non-complex if its singular version is found in the list", function() { - expect( checkIfWordIsComplex( wordComplexityConfig, "examples", morphologyData ) ).toEqual( false ); + expect( checkIfWordIsComplex( wordComplexityConfig, "examples", premiumData ) ).toEqual( false ); } ); it( "returns singular word as non-complex if it is found in the list", function() { - expect( checkIfWordIsComplex( wordComplexityConfig, "release", morphologyData ) ).toEqual( false ); + expect( checkIfWordIsComplex( wordComplexityConfig, "release", premiumData ) ).toEqual( false ); } ); it( "returns plural word as non-complex if its singular version is found in the list", function() { - expect( checkIfWordIsComplex( wordComplexityConfig, "releases", morphologyData ) ).toEqual( false ); + expect( checkIfWordIsComplex( wordComplexityConfig, "releases", premiumData ) ).toEqual( false ); } ); it( "returns plural (with phonetical) change word as non-complex if its singular version is found in the list", function() { - expect( checkIfWordIsComplex( wordComplexityConfig, "opportunities" ) ).toEqual( true ); - expect( checkIfWordIsComplex( wordComplexityConfig, "opportunities", morphologyData ) ).toEqual( false ); + expect( checkIfWordIsComplex( wordComplexityConfig, "opportunities", premiumData ) ).toEqual( false ); } ); it( "returns long irregular plural word as complex if its singular version is not found in the list", function() { - expect( checkIfWordIsComplex( wordComplexityConfig, "metamorphoses", morphologyData ) ).toEqual( true ); + expect( checkIfWordIsComplex( wordComplexityConfig, "metamorphoses", premiumData ) ).toEqual( true ); } ); it( "returns long plural word as complex if its singular version is not found in the list", function() { - expect( checkIfWordIsComplex( wordComplexityConfig, "anesthesias", morphologyData ) ).toEqual( true ); + expect( checkIfWordIsComplex( wordComplexityConfig, "anesthesias", premiumData ) ).toEqual( true ); } ); it( "returns plural word as complex if it is not in the list", function() { - expect( checkIfWordIsComplex( wordComplexityConfig, "refrigerators", morphologyData ) ).toEqual( true ); + expect( checkIfWordIsComplex( wordComplexityConfig, "refrigerators", premiumData ) ).toEqual( true ); } ); it( "returns plural word as non complex if the word starts with capital letter", function() { - expect( checkIfWordIsComplex( wordComplexityConfig, "Tortoiseshell", morphologyData ) ).toEqual( false ); - expect( checkIfWordIsComplex( wordComplexityConfig, "Outsiders", morphologyData ) ).toEqual( false ); + expect( checkIfWordIsComplex( wordComplexityConfig, "Tortoiseshell", premiumData ) ).toEqual( false ); + expect( checkIfWordIsComplex( wordComplexityConfig, "Outsiders", premiumData ) ).toEqual( false ); } ); it( "returns words as non complex if the word is less than 7 characters", function() { - expect( checkIfWordIsComplex( wordComplexityConfig, "cat", morphologyData ) ).toEqual( false ); - expect( checkIfWordIsComplex( wordComplexityConfig, "rabbit", morphologyData ) ).toEqual( false ); + expect( checkIfWordIsComplex( wordComplexityConfig, "cat", premiumData ) ).toEqual( false ); + expect( checkIfWordIsComplex( wordComplexityConfig, "rabbit", premiumData ) ).toEqual( false ); } ); it( "returns words as non complex if the word is less than 7 characters", function() { - expect( checkIfWordIsComplex( wordComplexityConfig, "cat", morphologyData ) ).toEqual( false ); - expect( checkIfWordIsComplex( wordComplexityConfig, "rabbit", morphologyData ) ).toEqual( false ); + expect( checkIfWordIsComplex( wordComplexityConfig, "cat", premiumData ) ).toEqual( false ); + expect( checkIfWordIsComplex( wordComplexityConfig, "rabbit", premiumData ) ).toEqual( false ); } ); } ); diff --git a/packages/yoastseo/spec/languageProcessing/languages/es/ResearcherSpec.js b/packages/yoastseo/spec/languageProcessing/languages/es/ResearcherSpec.js index 21272fbb300..3d95977b5cb 100644 --- a/packages/yoastseo/spec/languageProcessing/languages/es/ResearcherSpec.js +++ b/packages/yoastseo/spec/languageProcessing/languages/es/ResearcherSpec.js @@ -11,7 +11,7 @@ import checkIfWordIsComplex from "../../../../src/languageProcessing/languages/e import wordComplexityConfig from "../../../../src/languageProcessing/languages/es/config/wordComplexity"; import sentenceLength from "../../../../src/languageProcessing/languages/es/config/sentenceLength"; -const morphologyDataES = getMorphologyData( "es" ); +const premiumData = getMorphologyData( "es" ); describe( "a test for the Spanish Researcher", function() { const researcher = new Researcher( new Paper( "Este es un documento nuevo!" ) ); @@ -27,8 +27,8 @@ describe( "a test for the Spanish Researcher", function() { it( "checks if a word is complex in Spanish", function() { researcher.addHelper( "checkIfWordIsComplex", checkIfWordIsComplex ); - expect( researcher.getHelper( "checkIfWordIsComplex" )( wordComplexityConfig, "situados" ) ).toEqual( true ); - expect( researcher.getHelper( "checkIfWordIsComplex" )( wordComplexityConfig, "sobre" ) ).toEqual( false ); + expect( researcher.getHelper( "checkIfWordIsComplex" )( wordComplexityConfig, "situados", premiumData.es ) ).toEqual( true ); + expect( researcher.getHelper( "checkIfWordIsComplex" )( wordComplexityConfig, "sobre", premiumData.es ) ).toEqual( false ); } ); it( "returns the Spanish function words", function() { @@ -68,7 +68,7 @@ describe( "a test for the Spanish Researcher", function() { } ); it( "stems a word using the Spanish stemmer", function() { - researcher.addResearchData( "morphology", morphologyDataES ); + researcher.addResearchData( "morphology", premiumData ); expect( researcher.getHelper( "getStemmer" )( researcher )( "gatos" ) ).toEqual( "gat" ); } ); diff --git a/packages/yoastseo/spec/languageProcessing/languages/es/helpers/checkIfWordIsComplexSpec.js b/packages/yoastseo/spec/languageProcessing/languages/es/helpers/checkIfWordIsComplexSpec.js index e17adefad8c..be5bb6db23a 100644 --- a/packages/yoastseo/spec/languageProcessing/languages/es/helpers/checkIfWordIsComplexSpec.js +++ b/packages/yoastseo/spec/languageProcessing/languages/es/helpers/checkIfWordIsComplexSpec.js @@ -1,35 +1,37 @@ import checkIfWordIsComplex from "../../../../../src/languageProcessing/languages/es/helpers/checkIfWordIsComplex"; import wordComplexityConfig from "../../../../../src/languageProcessing/languages/es/config/wordComplexity"; +import getMorphologyData from "../../../../specHelpers/getMorphologyData"; +const premiumData = getMorphologyData( "es" ).es; describe( "a test checking if the word is complex in Spanish", function() { it( "returns singular word form as non-complex if it is found in the list", function() { - expect( checkIfWordIsComplex( wordComplexityConfig, "original" ) ).toEqual( false ); + expect( checkIfWordIsComplex( wordComplexityConfig, "original", premiumData ) ).toEqual( false ); } ); // eslint-disable-next-line max-len it( "returns plural word form as non-complex if its singular form is found in the list when the singular word form ends with a consonant", function() { - expect( checkIfWordIsComplex( wordComplexityConfig, "originales" ) ).toEqual( false ); + expect( checkIfWordIsComplex( wordComplexityConfig, "originales", premiumData ) ).toEqual( false ); } ); // eslint-disable-next-line max-len it( "returns plural word form as non-complex if its singular form is found in the list when the singular word form ends with a vowel", function() { - expect( checkIfWordIsComplex( wordComplexityConfig, "parecidos" ) ).toEqual( false ); + expect( checkIfWordIsComplex( wordComplexityConfig, "parecidos", premiumData ) ).toEqual( false ); } ); it( "returns word as non-complex if it starts with a capital (even if non capitalized form is complex)", function() { - expect( checkIfWordIsComplex( wordComplexityConfig, "Alhambra" ) ).toEqual( false ); - expect( checkIfWordIsComplex( wordComplexityConfig, "alhambra" ) ).toEqual( true ); + expect( checkIfWordIsComplex( wordComplexityConfig, "Alhambra", premiumData ) ).toEqual( false ); + expect( checkIfWordIsComplex( wordComplexityConfig, "alhambra", premiumData ) ).toEqual( true ); } ); it( "returns plural word as complex if it (and its singular form) are not in the list", function() { - expect( checkIfWordIsComplex( wordComplexityConfig, "situados" ) ).toEqual( true ); + expect( checkIfWordIsComplex( wordComplexityConfig, "situados", premiumData ) ).toEqual( true ); } ); it( "returns word longer than 7 characters as complex if it's not in the list", function() { - expect( checkIfWordIsComplex( wordComplexityConfig, "contemplada" ) ).toEqual( true ); + expect( checkIfWordIsComplex( wordComplexityConfig, "contemplada", premiumData ) ).toEqual( true ); } ); it( "returns plural word as non complex if the word is less than 7 characters", function() { - expect( checkIfWordIsComplex( wordComplexityConfig, "cosas" ) ).toEqual( false ); + expect( checkIfWordIsComplex( wordComplexityConfig, "cosas", premiumData ) ).toEqual( false ); } ); } ); diff --git a/packages/yoastseo/spec/languageProcessing/languages/fr/ResearcherSpec.js b/packages/yoastseo/spec/languageProcessing/languages/fr/ResearcherSpec.js index 92e118ad3d3..281d17148e8 100644 --- a/packages/yoastseo/spec/languageProcessing/languages/fr/ResearcherSpec.js +++ b/packages/yoastseo/spec/languageProcessing/languages/fr/ResearcherSpec.js @@ -9,7 +9,7 @@ import stopWords from "../../../../src/languageProcessing/languages/fr/config/st import syllables from "../../../../src/languageProcessing/languages/fr/config/syllables.json"; import checkIfWordIsComplex from "../../../../src/languageProcessing/languages/fr/helpers/checkIfWordIsComplex"; import wordComplexityConfig from "../../../../src/languageProcessing/languages/fr/config/wordComplexity"; -const morphologyDataFR = getMorphologyData( "fr" ); +const premiumData = getMorphologyData( "fr" ); describe( "a test for the French Researcher", function() { const researcher = new Researcher( new Paper( "This is another paper!" ) ); @@ -55,7 +55,7 @@ describe( "a test for the French Researcher", function() { } ); it( "stems a word using the French stemmer", function() { - researcher.addResearchData( "morphology", morphologyDataFR ); + researcher.addResearchData( "morphology", premiumData ); expect( researcher.getHelper( "getStemmer" )( researcher )( "chats" ) ).toEqual( "chat" ); } ); @@ -79,6 +79,6 @@ describe( "a test for the French Researcher", function() { it( "checks if a word is complex in French", function() { researcher.addHelper( "checkIfWordIsComplex", checkIfWordIsComplex ); - expect( researcher.getHelper( "checkIfWordIsComplex" )( wordComplexityConfig, "dictionnaire" ) ).toEqual( true ); + expect( researcher.getHelper( "checkIfWordIsComplex" )( wordComplexityConfig, "dictionnaire", premiumData.fr ) ).toEqual( true ); } ); } ); diff --git a/packages/yoastseo/spec/languageProcessing/languages/fr/helpers/checkIfWordIsComplexSpec.js b/packages/yoastseo/spec/languageProcessing/languages/fr/helpers/checkIfWordIsComplexSpec.js index 460c1dbd452..104ee2f35d2 100644 --- a/packages/yoastseo/spec/languageProcessing/languages/fr/helpers/checkIfWordIsComplexSpec.js +++ b/packages/yoastseo/spec/languageProcessing/languages/fr/helpers/checkIfWordIsComplexSpec.js @@ -1,51 +1,53 @@ import checkIfWordIsComplex from "../../../../../src/languageProcessing/languages/fr/helpers/checkIfWordIsComplex"; import wordComplexityConfig from "../../../../../src/languageProcessing/languages/fr/config/wordComplexity"; +import getMorphologyData from "../../../../specHelpers/getMorphologyData"; +const premiumData = getMorphologyData( "fr" ).fr; describe( "a test checking if the word is complex in French", function() { it( "returns singular words as non-complex if it is found in the list", function() { - expect( checkIfWordIsComplex( wordComplexityConfig, "résidence" ) ).toEqual( false ); - expect( checkIfWordIsComplex( wordComplexityConfig, "signature" ) ).toEqual( false ); + expect( checkIfWordIsComplex( wordComplexityConfig, "résidence", premiumData ) ).toEqual( false ); + expect( checkIfWordIsComplex( wordComplexityConfig, "signature", premiumData ) ).toEqual( false ); } ); it( "returns a plural words as non-complex if its singular version is found in the list", function() { - expect( checkIfWordIsComplex( wordComplexityConfig, "résidences" ) ).toEqual( false ); - expect( checkIfWordIsComplex( wordComplexityConfig, "signatures" ) ).toEqual( false ); + expect( checkIfWordIsComplex( wordComplexityConfig, "résidences", premiumData ) ).toEqual( false ); + expect( checkIfWordIsComplex( wordComplexityConfig, "signatures", premiumData ) ).toEqual( false ); } ); it( "returns plural words longer than 9 characters as complex if it is not in the list", function() { - expect( checkIfWordIsComplex( wordComplexityConfig, "dictionnaires" ) ).toEqual( true ); + expect( checkIfWordIsComplex( wordComplexityConfig, "dictionnaires", premiumData ) ).toEqual( true ); } ); it( "returns singular words longer than 9 characters as complex if it is not in the list", function() { - expect( checkIfWordIsComplex( wordComplexityConfig, "dictionnaire" ) ).toEqual( true ); + expect( checkIfWordIsComplex( wordComplexityConfig, "dictionnaire", premiumData ) ).toEqual( true ); } ); it( "returns plural words longer than 9 characters as non complex if the words start with capital letter", function() { - expect( checkIfWordIsComplex( wordComplexityConfig, "Opérations" ) ).toEqual( false ); - expect( checkIfWordIsComplex( wordComplexityConfig, "Éclairage" ) ).toEqual( false ); + expect( checkIfWordIsComplex( wordComplexityConfig, "Opérations", premiumData ) ).toEqual( false ); + expect( checkIfWordIsComplex( wordComplexityConfig, "Éclairage", premiumData ) ).toEqual( false ); } ); it( "returns words as non complex if the words are less than 9 characters", function() { - expect( checkIfWordIsComplex( wordComplexityConfig, "chanson" ) ).toEqual( false ); - expect( checkIfWordIsComplex( wordComplexityConfig, "ouvrir" ) ).toEqual( false ); + expect( checkIfWordIsComplex( wordComplexityConfig, "chanson", premiumData ) ).toEqual( false ); + expect( checkIfWordIsComplex( wordComplexityConfig, "ouvrir", premiumData ) ).toEqual( false ); } ); it( "returns words longer than 9 characters preceded by article l' or preposition d' as non complex if the words are in the list", function() { - expect( checkIfWordIsComplex( wordComplexityConfig, "l'ambassadeur" ) ).toEqual( false ); - expect( checkIfWordIsComplex( wordComplexityConfig, "d'échantillon" ) ).toEqual( false ); - expect( checkIfWordIsComplex( wordComplexityConfig, "s'appartient" ) ).toEqual( false ); + expect( checkIfWordIsComplex( wordComplexityConfig, "l'ambassadeur", premiumData ) ).toEqual( false ); + expect( checkIfWordIsComplex( wordComplexityConfig, "d'échantillon", premiumData ) ).toEqual( false ); + expect( checkIfWordIsComplex( wordComplexityConfig, "s'appartient", premiumData ) ).toEqual( false ); } ); it( "returns word shorter than 9 characters as non complex even when it's preceded by an l' article or " + "a contracted preposition that increases its length", function() { - expect( checkIfWordIsComplex( wordComplexityConfig, "l'occident" ) ).toEqual( false ); - expect( checkIfWordIsComplex( wordComplexityConfig, "d'extension" ) ).toEqual( false ); - expect( checkIfWordIsComplex( wordComplexityConfig, "c'extension" ) ).toEqual( false ); + expect( checkIfWordIsComplex( wordComplexityConfig, "l'occident", premiumData ) ).toEqual( false ); + expect( checkIfWordIsComplex( wordComplexityConfig, "d'extension", premiumData ) ).toEqual( false ); + expect( checkIfWordIsComplex( wordComplexityConfig, "c'extension", premiumData ) ).toEqual( false ); } ); it( "returns word longer than 9 characters which starts with capital letter as non complex even when it's preceded by an l' article " + "or a contracted preposition", function() { - expect( checkIfWordIsComplex( wordComplexityConfig, "l'Orthodoxie" ) ).toEqual( false ); - expect( checkIfWordIsComplex( wordComplexityConfig, "c'Égalisation" ) ).toEqual( false ); + expect( checkIfWordIsComplex( wordComplexityConfig, "l'Orthodoxie", premiumData ) ).toEqual( false ); + expect( checkIfWordIsComplex( wordComplexityConfig, "c'Égalisation", premiumData ) ).toEqual( false ); } ); } ); diff --git a/packages/yoastseo/spec/languageProcessing/researches/wordComplexitySpec.js b/packages/yoastseo/spec/languageProcessing/researches/wordComplexitySpec.js index 6fa0a4f656f..d2a12244c87 100644 --- a/packages/yoastseo/spec/languageProcessing/researches/wordComplexitySpec.js +++ b/packages/yoastseo/spec/languageProcessing/researches/wordComplexitySpec.js @@ -1,3 +1,5 @@ +/* eslint-disable max-statements */ + import wordComplexity from "../../../src/languageProcessing/researches/wordComplexity.js"; import Paper from "../../../src/values/Paper"; import EnglishResearcher from "../../../src/languageProcessing/languages/en/Researcher"; @@ -14,7 +16,10 @@ import wordComplexityConfigSpanish from "../../../src/languageProcessing/languag import wordComplexityConfigFrench from "../../../src/languageProcessing/languages/fr/config/wordComplexity"; import getMorphologyData from "../../specHelpers/getMorphologyData"; -const morphologyData = getMorphologyData( "en" ); +const premiumDataEn = getMorphologyData( "en" ); +const premiumDataDe = getMorphologyData( "de" ); +const premiumDataEs = getMorphologyData( "es" ); +const premiumDataFr = getMorphologyData( "fr" ); describe( "a test for getting the complex words in the sentence and calculating their percentage", function() { let researcher; @@ -23,7 +28,7 @@ describe( "a test for getting the complex words in the sentence and calculating researcher = new EnglishResearcher(); researcher.addHelper( "checkIfWordIsComplex", wordComplexityHelperEnglish ); researcher.addConfig( "wordComplexity", wordComplexityConfigEnglish ); - researcher.addResearchData( "morphology", morphologyData ); + researcher.addResearchData( "morphology", premiumDataEn ); } ); it( "returns an array with the complex words from the text in English", function() { @@ -122,6 +127,8 @@ describe( "test with different language specific helper and config", () => { let researcher = new EnglishResearcher( paper ); researcher.addHelper( "checkIfWordIsComplex", wordComplexityHelperEnglish ); researcher.addConfig( "wordComplexity", wordComplexityConfigEnglish ); + researcher.addResearchData( "morphology", premiumDataEn ); + expect( wordComplexity( paper, researcher ).complexWords ).toEqual( [] ); expect( wordComplexity( paper, researcher ).percentage ).toEqual( 0 ); @@ -129,6 +136,7 @@ describe( "test with different language specific helper and config", () => { researcher = new GermanResearcher( paper ); researcher.addHelper( "checkIfWordIsComplex", wordComplexityHelperGerman ); researcher.addConfig( "wordComplexity", wordComplexityConfigGerman ); + researcher.addResearchData( "morphology", premiumDataDe ); expect( wordComplexity( paper, researcher ).complexWords ).toEqual( [] ); expect( wordComplexity( paper, researcher ).percentage ).toEqual( 0 ); @@ -137,6 +145,7 @@ describe( "test with different language specific helper and config", () => { researcher = new SpanishResearcher( paper ); researcher.addHelper( "checkIfWordIsComplex", wordComplexityHelperSpanish ); researcher.addConfig( "wordComplexity", wordComplexityConfigSpanish ); + researcher.addResearchData( "morphology", premiumDataEs ); expect( wordComplexity( paper, researcher ).complexWords ).toEqual( [] ); expect( wordComplexity( paper, researcher ).percentage ).toEqual( 0 ); @@ -145,6 +154,7 @@ describe( "test with different language specific helper and config", () => { researcher = new FrenchResearcher( paper ); researcher.addHelper( "checkIfWordIsComplex", wordComplexityHelperFrench ); researcher.addConfig( "wordComplexity", wordComplexityConfigFrench ); + researcher.addResearchData( "morphology", premiumDataFr ); expect( wordComplexity( paper, researcher ).complexWords ).toEqual( [] ); expect( wordComplexity( paper, researcher ).percentage ).toEqual( 0 ); @@ -153,6 +163,7 @@ describe( "test with different language specific helper and config", () => { researcher = new GermanResearcher( paper ); researcher.addHelper( "checkIfWordIsComplex", wordComplexityHelperGerman ); researcher.addConfig( "wordComplexity", wordComplexityConfigGerman ); + researcher.addResearchData( "morphology", premiumDataDe ); expect( wordComplexity( paper, researcher ).complexWords ).toEqual( [] ); expect( wordComplexity( paper, researcher ).percentage ).toEqual( 0 ); @@ -164,6 +175,7 @@ describe( "test with different language specific helper and config", () => { const researcher = new GermanResearcher( paper ); researcher.addHelper( "checkIfWordIsComplex", wordComplexityHelperGerman ); researcher.addConfig( "wordComplexity", wordComplexityConfigGerman ); + researcher.addResearchData( "morphology", premiumDataDe ); expect( wordComplexity( paper, researcher ).complexWords ).toEqual( [] ); expect( wordComplexity( paper, researcher ).percentage ).toEqual( 0 ); diff --git a/packages/yoastseo/src/languageProcessing/languages/de/config/internal/frequencyList.json b/packages/yoastseo/src/languageProcessing/languages/de/config/internal/frequencyList.json deleted file mode 100644 index 1553d2b5a8c..00000000000 --- a/packages/yoastseo/src/languageProcessing/languages/de/config/internal/frequencyList.json +++ /dev/null @@ -1,1495 +0,0 @@ -{ - "source": "This list is taken from the first 5000 words of this word list https://github.com/hermitdave/FrequencyWords/blob/master/content/2018/de/de_50k.txt. Out of the 5000 words, we exclude words that are less than 8 characters", - "list": [ - "selbstverständlich", - "krankenschwester", - "zusammenarbeiten", - "schwierigkeiten", - "wissenschaftler", - "missverständnis", - "geschwindigkeit", - "herausforderung", - "angelegenheiten", - "entschuldigung", - "wahrscheinlich", - "offensichtlich", - "verantwortlich", - "aufmerksamkeit", - "kennenzulernen", - "möglicherweise", - "herauszufinden", - "unterschreiben", - "herausgefunden", - "entscheidungen", - "öffentlichkeit", - "fingerabdrücke", - "identifizieren", - "amerikanischen", - "zurückgekommen", - "weihnachtsmann", - "unterschrieben", - "schauspielerin", - "eingeschlossen", - "ausgeschlossen", - "aufzeichnungen", - "krankenstation", - "entschuldigen", - "informationen", - "vergangenheit", - "einverstanden", - "verantwortung", - "funktionieren", - "normalerweise", - "bürgermeister", - "durcheinander", - "kontrollieren", - "konzentrieren", - "kennengelernt", - "unterstützung", - "gerechtigkeit", - "interessieren", - "abgeschlossen", - "ausgezeichnet", - "möglichkeiten", - "verabschieden", - "beeindruckend", - "angelegenheit", - "amerikanische", - "verschiedenen", - "wiederzusehen", - "kopfschmerzen", - "zurückbringen", - "eingeschlafen", - "schrecklichen", - "identifiziert", - "telefonnummer", - "nachbarschaft", - "hauptquartier", - "stimmengewirr", - "funktioniert", - "entschuldige", - "verschwinden", - "interessiert", - "entscheidung", - "verschwunden", - "überraschung", - "gesellschaft", - "herausfinden", - "irgendwelche", - "entschuldigt", - "hinterlassen", - "verschwindet", - "irgendjemand", - "erinnerungen", - "eifersüchtig", - "weitermachen", - "zurückkommen", - "untersuchung", - "freundschaft", - "schlafzimmer", - "schauspieler", - "verschiedene", - "gleichzeitig", - "unterstützen", - "unterhaltung", - "verdächtigen", - "kennenlernen", - "zurückkehren", - "krankenwagen", - "mademoiselle", - "schreckliche", - "durchgemacht", - "schreibtisch", - "verteidigung", - "wissenschaft", - "wirklichkeit", - "staatsanwalt", - "leidenschaft", - "verschwenden", - "ausgerechnet", - "telefonieren", - "menschlichen", - "interessante", - "aufgewachsen", - "organisation", - "hausaufgaben", - "ermittlungen", - "ungewöhnlich", - "hubschrauber", - "versicherung", - "angeschossen", - "hervorragend", - "vergewaltigt", - "handschellen", - "kontrolliert", - "entschlossen", - "wunderschöne", - "persönlichen", - "konsequenzen", - "führerschein", - "wiederkommen", - "vorbeikommen", - "verpflichtet", - "faszinierend", - "unterbrechen", - "verschlossen", - "unterschrift", - "persönliches", - "fortschritte", - "letztendlich", - "festgenommen", - "kontaktieren", - "zwischenzeit", - "nachzudenken", - "medizinische", - "verletzungen", - "nirgendwohin", - "respektieren", - "unschuldigen", - "beschreibung", - "verbindungen", - "thanksgiving", - "wiedersehen", - "krankenhaus", - "unglaublich", - "versprochen", - "tatsächlich", - "verheiratet", - "geschrieben", - "hoffentlich", - "irgendetwas", - "schrecklich", - "verschwinde", - "nachrichten", - "beschäftigt", - "weihnachten", - "wunderschön", - "interessant", - "entscheiden", - "miteinander", - "möglichkeit", - "glückwunsch", - "entschieden", - "schließlich", - "fantastisch", - "unternehmen", - "versprechen", - "unterhalten", - "nachgedacht", - "unterschied", - "neuigkeiten", - "gelegenheit", - "mitgebracht", - "geschlossen", - "anscheinend", - "angegriffen", - "geschichten", - "vorbereitet", - "geheimnisse", - "übersetzung", - "mitgenommen", - "untersuchen", - "präsidenten", - "vorstellung", - "kompliziert", - "akzeptieren", - "aufgenommen", - "beantworten", - "mittagessen", - "gegenseitig", - "verteidigen", - "deutschland", - "fähigkeiten", - "rechtzeitig", - "medikamente", - "menschliche", - "auseinander", - "vorgestellt", - "umzubringen", - "information", - "hergekommen", - "mitternacht", - "freundinnen", - "eingesperrt", - "erfolgreich", - "beziehungen", - "beschlossen", - "beeindruckt", - "stattdessen", - "aufgefallen", - "kalifornien", - "beigebracht", - "wiederholen", - "verstärkung", - "vorbereiten", - "meinetwegen", - "verzweifelt", - "anweisungen", - "erstaunlich", - "schwachsinn", - "aufgetaucht", - "französisch", - "mitarbeiter", - "jahrhundert", - "verabredung", - "kühlschrank", - "unglücklich", - "informieren", - "hierbleiben", - "eingestellt", - "weitergehen", - "bedingungen", - "aufzuhalten", - "persönliche", - "überraschen", - "terroristen", - "beschreiben", - "hintergrund", - "technologie", - "universität", - "katastrophe", - "vereinigten", - "einstellung", - "irgendeinem", - "unterstützt", - "dramatische", - "durchsuchen", - "botschafter", - "bewusstsein", - "präsentiert", - "zurückkommt", - "unschuldige", - "glücklicher", - "diskutieren", - "arschlöcher", - "enttäuschen", - "verdächtige", - "telefoniert", - "aufgehalten", - "schlimmsten", - "verständnis", - "christopher", - "irgendeinen", - "ausgegangen", - "zurückgeben", - "anwesenheit", - "absichtlich", - "entscheidet", - "unterwäsche", - "übertrieben", - "verschieben", - "erschrecken", - "verhandlung", - "ausschalten", - "koordinaten", - "herzinfarkt", - "veränderung", - "schlimmeres", - "vollständig", - "weggelaufen", - "kleinigkeit", - "intelligent", - "brieftasche", - "zurückgehen", - "erleichtert", - "spaziergang", - "durchführen", - "assistentin", - "geschnitten", - "deinetwegen", - "irgendwohin", - "entwicklung", - "vielleicht", - "eigentlich", - "verstanden", - "geschichte", - "willkommen", - "gesprochen", - "vorstellen", - "wenigstens", - "vorsichtig", - "sicherheit", - "verzeihung", - "umgebracht", - "gefährlich", - "augenblick", - "irgendwann", - "jedenfalls", - "verbindung", - "gearbeitet", - "vermutlich", - "beschützen", - "geburtstag", - "persönlich", - "geschlafen", - "verspreche", - "überrascht", - "untertitel", - "verstecken", - "allerdings", - "angefangen", - "lieutenant", - "übernehmen", - "abendessen", - "erschossen", - "verdammten", - "wochenende", - "verbrechen", - "prinzessin", - "schätzchen", - "eingeladen", - "lächerlich", - "geschlagen", - "besonderes", - "verbringen", - "überprüfen", - "nachmittag", - "nachdenken", - "restaurant", - "schlechter", - "vollkommen", - "verdammter", - "mindestens", - "erschießen", - "wahnsinnig", - "geschossen", - "besprechen", - "polizisten", - "amerikaner", - "langweilig", - "frankreich", - "erinnerung", - "großmutter", - "washington", - "unschuldig", - "geheiratet", - "verhindern", - "gebrauchen", - "enttäuscht", - "freundlich", - "herzlichen", - "beobachtet", - "überzeugen", - "angenommen", - "selbstmord", - "irgendeine", - "schlimmste", - "schwestern", - "merkwürdig", - "reinkommen", - "wundervoll", - "inzwischen", - "reparieren", - "beobachten", - "schlechten", - "wichtigste", - "angekommen", - "beerdigung", - "vernichten", - "champagner", - "entwickelt", - "überlassen", - "festhalten", - "menschheit", - "schlechtes", - "dunkelheit", - "gefangenen", - "entspannen", - "vernünftig", - "erschaffen", - "verursacht", - "bestätigen", - "erschreckt", - "heutzutage", - "begeistert", - "aufgegeben", - "verurteilt", - "gratuliere", - "unterricht", - "verarschen", - "gesundheit", - "freiwillig", - "sicherlich", - "verbrecher", - "verschwand", - "verdammtes", - "informiert", - "enterprise", - "behandlung", - "kommandant", - "verrückten", - "wiederhole", - "verwandelt", - "erscheinen", - "angestellt", - "rausfinden", - "rauskommen", - "gouverneur", - "gedächtnis", - "donnerstag", - "unheimlich", - "überfallen", - "verbrennen", - "untersucht", - "wunderbare", - "verrückter", - "reingelegt", - "aussteigen", - "schokolade", - "befreundet", - "beibringen", - "scheißkerl", - "zigaretten", - "geschnappt", - "verhandeln", - "gewöhnlich", - "großartige", - "unterlagen", - "auftauchen", - "betrachten", - "widerstand", - "bescheuert", - "revolution", - "besonderen", - "geschaffen", - "ausgesucht", - "ignorieren", - "scheißegal", - "vernichtet", - "ergebnisse", - "einstellen", - "verwandeln", - "bibliothek", - "badezimmer", - "milliarden", - "mitbringen", - "entwickeln", - "erwachsene", - "romantisch", - "verabredet", - "sekretärin", - "existieren", - "beschissen", - "ordentlich", - "aufgewacht", - "unangenehm", - "ausrüstung", - "garantiert", - "durchsucht", - "verfluchte", - "bestimmten", - "wohnzimmer", - "aufgepasst", - "raumschiff", - "ausbildung", - "hauptsache", - "glückliche", - "highschool", - "trainieren", - "verwickelt", - "mitglieder", - "diejenigen", - "experiment", - "versichere", - "überwachen", - "einsteigen", - "schüchtern", - "akzeptiert", - "königreich", - "kofferraum", - "geständnis", - "aufmerksam", - "entführung", - "ausgesetzt", - "generation", - "ausrichten", - "gefälligst", - "entscheide", - "bewusstlos", - "vermasselt", - "explodiert", - "verzichten", - "ohnmächtig", - "betrachtet", - "verhungern", - "versuchten", - "heilmittel", - "gestritten", - "übernommen", - "verspätung", - "übertragen", - "kompliment", - "mannschaft", - "dankeschön", - "eingesetzt", - "durchgehen", - "psychiater", - "entfernung", - "aufgehoben", - "besprochen", - "beunruhigt", - "öffentlich", - "verhältnis", - "ereignisse", - "verprügelt", - "geschworen", - "abgenommen", - "geschieden", - "wettbewerb", - "verfassung", - "quietschen", - "menschlich", - "eigenartig", - "beschädigt", - "grundstück", - "sauerstoff", - "angesichts", - "zerstörung", - "atmosphäre", - "schießerei", - "gemeinsame", - "verbessern", - "diskussion", - "natürlich", - "vergessen", - "schwester", - "verstehen", - "überhaupt", - "versuchen", - "verlassen", - "glücklich", - "irgendwie", - "irgendwas", - "verlieren", - "verstehst", - "vertrauen", - "geschafft", - "getroffen", - "nachricht", - "angerufen", - "schlüssel", - "passieren", - "gefängnis", - "schreiben", - "millionen", - "besonders", - "großartig", - "umbringen", - "gestorben", - "geschehen", - "schneller", - "unmöglich", - "verdammte", - "plötzlich", - "verkaufen", - "geschickt", - "unterwegs", - "niemanden", - "arschloch", - "schlimmer", - "erinnerst", - "wunderbar", - "unbedingt", - "kontrolle", - "zumindest", - "gestohlen", - "beziehung", - "versteckt", - "erreichen", - "verändert", - "professor", - "geheimnis", - "regierung", - "erledigen", - "gegenüber", - "richtigen", - "schlechte", - "antworten", - "präsident", - "detective", - "aufhalten", - "überleben", - "schicksal", - "vergnügen", - "situation", - "niemandem", - "zerstören", - "gemeinsam", - "furchtbar", - "verzeihen", - "mitnehmen", - "schwanger", - "verhaftet", - "zufrieden", - "schließen", - "fernsehen", - "schwierig", - "verdienen", - "betrunken", - "patienten", - "verhalten", - "interesse", - "frühstück", - "aufpassen", - "zeitpunkt", - "entkommen", - "gebrochen", - "mitkommen", - "ernsthaft", - "operation", - "schmerzen", - "erfahrung", - "großvater", - "getrunken", - "behandelt", - "überlegen", - "schwarzen", - "beruhigen", - "geschieht", - "versuchte", - "abgesehen", - "geschäfte", - "überzeugt", - "arbeitest", - "geblieben", - "wichtiger", - "verfolgen", - "entlassen", - "spannende", - "erklärung", - "verlangen", - "außerhalb", - "aufstehen", - "gebraucht", - "nirgendwo", - "einfacher", - "schweigen", - "krankheit", - "verflucht", - "behandeln", - "passierte", - "erwachsen", - "derjenige", - "gentlemen", - "schnappen", - "flughafen", - "deutschen", - "begleiten", - "weiterhin", - "übersetzt", - "verrückte", - "botschaft", - "aufgeregt", - "irgendein", - "gegenteil", - "schwimmen", - "innerhalb", - "verletzen", - "verändern", - "definitiv", - "ebenfalls", - "überprüft", - "jederzeit", - "probieren", - "aufmachen", - "erlaubnis", - "verhaften", - "schönheit", - "existiert", - "gezwungen", - "verbunden", - "aufgehört", - "herkommen", - "angesehen", - "vorschlag", - "vermissen", - "riskieren", - "arbeitete", - "hinterher", - "verpassen", - "praktisch", - "versuchst", - "bedeutung", - "fernseher", - "offiziell", - "geschmack", - "loswerden", - "bestätigt", - "übergeben", - "abteilung", - "inspektor", - "richtiger", - "aufnehmen", - "geschenkt", - "behauptet", - "kilometer", - "angeblich", - "spazieren", - "eindeutig", - "explosion", - "neugierig", - "wichtiges", - "einladung", - "verbracht", - "behaupten", - "aufregend", - "beschützt", - "entfernen", - "abgehauen", - "abgemacht", - "empfangen", - "scheidung", - "verwenden", - "aufwachen", - "verfügung", - "abenteuer", - "übernehme", - "bestellen", - "universum", - "geschenke", - "loslassen", - "berichten", - "verbrannt", - "klamotten", - "angreifen", - "schneiden", - "ausziehen", - "pünktlich", - "besondere", - "umständen", - "folgendes", - "erwischen", - "schlimmes", - "erscheint", - "angezogen", - "zigarette", - "hauptmann", - "identität", - "angelogen", - "verdienst", - "langsamer", - "bedrohung", - "einkaufen", - "nachsehen", - "verwendet", - "gekümmert", - "francisco", - "vermeiden", - "miststück", - "abgelehnt", - "abmachung", - "verbergen", - "reingehen", - "korrektur", - "rausholen", - "angeboten", - "belohnung", - "hurensohn", - "scheinbar", - "abschluss", - "bezweifle", - "versprich", - "gentleman", - "diamanten", - "anschauen", - "einfallen", - "kommissar", - "exzellenz", - "schuldest", - "womöglich", - "repariert", - "gestanden", - "maschinen", - "bekämpfen", - "verbinden", - "zeitungen", - "notwendig", - "höchstens", - "übersehen", - "spielchen", - "gesichter", - "anzeichen", - "keinerlei", - "ruinieren", - "unhöflich", - "anzurufen", - "derselben", - "mitmachen", - "reagieren", - "hinsetzen", - "erschöpft", - "vergleich", - "großzügig", - "einheiten", - "wichtigen", - "verärgert", - "unwichtig", - "franzosen", - "beleidigt", - "anstellen", - "beteiligt", - "gefangene", - "diejenige", - "lieferung", - "studieren", - "christian", - "bewaffnet", - "amüsieren", - "weglaufen", - "vergiftet", - "president", - "schwarzer", - "schmutzig", - "liebhaber", - "verfahren", - "inspector", - "spielzeug", - "schreibst", - "aktiviert", - "hilfreich", - "jahrelang", - "denselben", - "widerlich", - "parkplatz", - "sozusagen", - "aufnahmen", - "gegenwart", - "protokoll", - "studenten", - "schmecken", - "ansonsten", - "gewünscht", - "möglichen", - "apartment", - "dieselben", - "interview", - "einzelnen", - "getrieben", - "bestimmte", - "laufenden", - "auftaucht", - "sebastian", - "vertragen", - "tradition", - "fähigkeit", - "attraktiv", - "mitteilen", - "gemütlich", - "versprach", - "verlierst", - "einsetzen", - "übernimmt", - "ausmachen", - "gesichert", - "begreifen", - "bezüglich", - "aufregung", - "bestimmen", - "geliebten", - "irgendwer", - "gewachsen", - "verlaufen", - "wegnehmen", - "benötigen", - "bestrafen", - "patientin", - "anzusehen", - "brauchten", - "engländer", - "September", - "bestanden", - "schluchzt", - "friedlich", - "richtiges", - "zuschauer", - "geliefert", - "lediglich", - "charakter", - "geräusche", - "befürchte", - "entdecken", - "loyalität", - "vertreten", - "verlierer", - "gelächter", - "einspruch", - "rausgehen", - "geleistet", - "fröhliche", - "verderben", - "blutdruck", - "aufgebaut", - "trainiert", - "zwillinge", - "erwartest", - "gründlich", - "vertraust", - "testament", - "regisseur", - "zuständig", - "gespräche", - "vergebung", - "gefesselt", - "eventuell", - "entspannt", - "anständig", - "endgültig", - "zustimmen", - "vorfahren", - "aussuchen", - "fabelhaft", - "gestatten", - "ausgelöst", - "verarscht", - "werkstatt", - "überreden", - "bewundere", - "angeklagt", - "verlieben", - "tabletten", - "auftreten", - "dschungel", - "dokumente", - "schachtel", - "diebstahl", - "gegensatz", - "schultern", - "wirklich", - "passiert", - "menschen", - "zusammen", - "brauchen", - "sprechen", - "gefunden", - "verdammt", - "verstehe", - "bekommen", - "bisschen", - "arbeiten", - "verrückt", - "jemanden", - "ziemlich", - "solltest", - "verloren", - "versucht", - "gekommen", - "bedeutet", - "wahrheit", - "bestimmt", - "gefallen", - "manchmal", - "zwischen", - "freundin", - "erzählen", - "schlecht", - "schlafen", - "brauchst", - "nächsten", - "schaffen", - "trotzdem", - "geworden", - "wolltest", - "deswegen", - "erinnern", - "probleme", - "könntest", - "aufhören", - "richtige", - "versuche", - "heiraten", - "gebracht", - "erklären", - "gegangen", - "irgendwo", - "genommen", - "außerdem", - "verletzt", - "erfahren", - "möchtest", - "schicken", - "erwartet", - "geschäft", - "verdient", - "erinnere", - "arbeitet", - "liebling", - "behalten", - "anfangen", - "gewinnen", - "bezahlen", - "gerettet", - "bescheid", - "gedanken", - "bewegung", - "jemandem", - "wünschte", - "monsieur", - "hochzeit", - "benutzen", - "erledigt", - "gewonnen", - "sekunden", - "schießen", - "beispiel", - "dasselbe", - "schlagen", - "vorsicht", - "beweisen", - "vermisst", - "richtung", - "geschenk", - "nächstes", - "verliebt", - "erwischt", - "verkauft", - "erwarten", - "majestät", - "aussehen", - "verraten", - "computer", - "ermordet", - "entfernt", - "zerstört", - "übrigens", - "hoffnung", - "flugzeug", - "entweder", - "schuldig", - "schützen", - "besuchen", - "erhalten", - "soldaten", - "gelassen", - "gefahren", - "verstand", - "erkennen", - "gegessen", - "geholfen", - "aussieht", - "beginnen", - "ungefähr", - "falschen", - "sergeant", - "erinnert", - "schlampe", - "bedeuten", - "gespielt", - "planeten", - "versteht", - "besorgen", - "klingelt", - "position", - "gleichen", - "gefangen", - "gewartet", - "zufällig", - "freunden", - "verpasst", - "wusstest", - "freiheit", - "geändert", - "schätzen", - "gespräch", - "schreien", - "polizist", - "konntest", - "maschine", - "bekommst", - "offenbar", - "gestellt", - "wünschen", - "gelaufen", - "schwarze", - "wahnsinn", - "gehalten", - "vorwärts", - "besseres", - "fräulein", - "brauchte", - "schaffst", - "deutsche", - "dringend", - "gewissen", - "erreicht", - "sprichst", - "einzigen", - "schmeckt", - "entdeckt", - "verfolgt", - "weiteren", - "vertraut", - "aufgeben", - "entführt", - "mistkerl", - "erzählte", - "verlangt", - "beruhige", - "direktor", - "karriere", - "kollegen", - "scheinen", - "woanders", - "geglaubt", - "gefeuert", - "schreibt", - "schulden", - "peinlich", - "überlebt", - "blödsinn", - "schatten", - "tatsache", - "hingehen", - "verboten", - "getrennt", - "programm", - "nachbarn", - "verlässt", - "vergeben", - "ausgehen", - "toilette", - "annehmen", - "genießen", - "erlauben", - "zulassen", - "komplett", - "einander", - "streiten", - "verliert", - "betrifft", - "immerhin", - "englisch", - "vermisse", - "überlegt", - "rechnung", - "dieselbe", - "familien", - "lebendig", - "heiligen", - "geöffnet", - "begraben", - "wichtige", - "leichter", - "priester", - "schreibe", - "anhalten", - "anziehen", - "ertragen", - "vertraue", - "entspann", - "eindruck", - "herrgott", - "springen", - "befreien", - "perfekte", - "erzählst", - "gekriegt", - "schnauze", - "sprachen", - "verräter", - "bestellt", - "deutlich", - "verwirrt", - "ch00ffff", - "schritte", - "gemeldet", - "befindet", - "ruiniert", - "kleidung", - "besseren", - "dahinter", - "anführer", - "minister", - "personen", - "publikum", - "wechseln", - "begegnet", - "betrogen", - "geworfen", - "versteck", - "beruhigt", - "schlange", - "anfassen", - "beeilung", - "schließt", - "schläfst", - "schickte", - "mitglied", - "einziger", - "vermögen", - "befinden", - "internet", - "superman", - "kommando", - "erfunden", - "geträumt", - "caroline", - "musstest", - "liebsten", - "schlacht", - "offizier", - "verliere", - "tausende", - "begonnen", - "gelandet", - "vergisst", - "aufgrund", - "momentan", - "meistens", - "stimmung", - "geräusch", - "künstler", - "schweine", - "schulter", - "anbieten", - "dachtest", - "feigling", - "einladen", - "marshall", - "schenken", - "realität", - "schwerer", - "benehmen", - "verdacht", - "hübsches", - "einziges", - "schnappt", - "besitzer", - "michelle", - "besessen", - "bewahren", - "gekämpft", - "antworte", - "gesteckt", - "erfüllen", - "einfluss", - "weiteres", - "bereiten", - "besiegen", - "dienstag", - "fürchten", - "training", - "schönste", - "bestraft", - "bestehen", - "ewigkeit", - "hässlich", - "ausruhen", - "umstände", - "reaktion", - "reagiert", - "studiert", - "auftritt", - "begangen", - "geliebte", - "verlasse", - "umdrehen", - "lehrerin", - "zentrale", - "brachten", - "berühren", - "rückkehr", - "indianer", - "kindheit", - "aussagen", - "jungfrau", - "einfache", - "seltsame", - "heiratet", - "angenehm", - "nächster", - "betreten", - "aufnahme", - "hübscher", - "stellung", - "mögliche", - "sicherer", - "christus", - "dummkopf", - "gerüchte", - "gekostet", - "ergebnis", - "verdiene", - "weswegen", - "nützlich", - "vergesse", - "gemeinde", - "traurige", - "kürzlich", - "material", - "bereitet", - "fantasie", - "begrüßen", - "arbeiter", - "weggehen", - "original", - "hunderte", - "versetzt", - "heiliger", - "besitzen", - "darunter", - "derselbe", - "munition", - "geklappt", - "erwähnen", - "berichte", - "umziehen", - "zunächst", - "getragen", - "tauschen", - "gedauert", - "reporter", - "schalten", - "gewöhnen", - "schieben", - "zweitens", - "verlange", - "spanisch", - "herzlich", - "besucher", - "scheiden", - "köstlich", - "russland", - "gesamten", - "geflogen", - "überfall", - "wehgetan", - "schwäche", - "ausdruck", - "schlimme", - "heutigen", - "heimlich", - "eingehen", - "umgebung", - "vergesst", - "hinweise", - "ausreden", - "herrscht", - "flüstert", - "bedanken", - "scheisse", - "versehen", - "albtraum", - "margaret", - "personal", - "therapie", - "leutnant", - "zauberer", - "abnehmen", - "nirgends", - "ersetzen", - "jennifer", - "normaler", - "entgegen", - "schweren", - "behörden", - "mittwoch", - "abwarten", - "friedhof", - "klienten", - "reverend", - "durchaus", - "motorrad", - "hübschen", - "paradies", - "tagebuch", - "jenseits", - "normalen", - "aussicht", - "bedenken", - "sicheren", - "verkaufe", - "abgeholt", - "abhalten", - "gebissen", - "geheimen", - "komische", - "einzelne", - "sandwich", - "gewinner", - "scheinst", - "pflanzen", - "müsstest", - "betrüger", - "chinesen", - "verteilt", - "bewiesen", - "ausnahme", - "herrlich", - "ankommen", - "falsches", - "täuschen", - "befragen", - "abschied", - "gestehen", - "religion", - "zugehört", - "vorhaben", - "existenz", - "drehbuch", - "verzeiht", - "fahrzeug", - "genossen", - "probiert", - "teenager", - "weiterer", - "flaschen", - "einbruch", - "versagen", - "riesigen", - "erkennst", - "erledige", - "gesessen", - "gerissen", - "befohlen", - "überlege", - "hinlegen", - "geflohen", - "nebenbei", - "ausgeben", - "schwören", - "hühnchen", - "betrügen", - "schlägst", - "gestoßen", - "tragödie", - "verlegen", - "vielmals", - "losgehen", - "brillant", - "vorgehen", - "schnelle", - "normales", - "ekelhaft", - "gelangen", - "gespannt", - "vernunft", - "klingeln", - "gangster", - "aufgaben", - "blödmann", - "symptome", - "nochmals", - "sherlock", - "leistung", - "mitchell", - "eröffnen", - "unschuld", - "genügend", - "bräuchte", - "schließe", - "schläger", - "ausmacht", - "versager", - "charmant", - "aufbauen", - "begegnen", - "krawatte", - "gelöscht", - "niedlich", - "anwältin", - "fröhlich", - "eigentum", - "frühling", - "vergehen" - ] -} diff --git a/packages/yoastseo/src/languageProcessing/languages/de/config/wordComplexity.js b/packages/yoastseo/src/languageProcessing/languages/de/config/wordComplexity.js index 5f6d8045955..4254ece9c0f 100644 --- a/packages/yoastseo/src/languageProcessing/languages/de/config/wordComplexity.js +++ b/packages/yoastseo/src/languageProcessing/languages/de/config/wordComplexity.js @@ -1,7 +1,4 @@ -import frequencyList from "./internal/frequencyList.json"; - // This is a config for the Word Complexity assessment. As such, this helper is not bundled in Yoast SEO. export default { - frequencyList: frequencyList.list, wordLength: 10, }; diff --git a/packages/yoastseo/src/languageProcessing/languages/de/helpers/checkIfWordIsComplex.js b/packages/yoastseo/src/languageProcessing/languages/de/helpers/checkIfWordIsComplex.js index 40679ebf83b..387fe5fa6f5 100644 --- a/packages/yoastseo/src/languageProcessing/languages/de/helpers/checkIfWordIsComplex.js +++ b/packages/yoastseo/src/languageProcessing/languages/de/helpers/checkIfWordIsComplex.js @@ -5,18 +5,19 @@ const suffixesRegex = new RegExp( suffixes ); * Checks if a word is complex. * This is a helper for the Word Complexity assessment. As such, this helper is not bundled in Yoast SEO. * - * @param {object} config The configuration needed for assessing the word's complexity, e.g., the frequency list. - * @param {string} word The word to check. + * @param {object} config The configuration needed for assessing the word's complexity, e.g., the frequency list. + * @param {string} word The word to check. + * @param {object} premiumData The object that contains data for the assessment including the frequency list. * * @returns {boolean} Whether or not a word is complex. */ -export default function checkIfWordIsComplex( config, word ) { +export default function checkIfWordIsComplex( config, word, premiumData ) { const lengthLimit = config.wordLength; - const frequencyList = config.frequencyList; + const frequencyList = premiumData.frequencyList.list; // All words are converted to lower case before processing to avoid excluding complex words that start with a capital letter. word = word.toLowerCase(); - // The German word is not complex if its length is 10 characters or less. + // The German word is not complex if its length is 10 characters or fewer. if ( word.length <= lengthLimit ) { return false; } diff --git a/packages/yoastseo/src/languageProcessing/languages/en/config/internal/frequencyList.json b/packages/yoastseo/src/languageProcessing/languages/en/config/internal/frequencyList.json deleted file mode 100644 index a8d3d8b7449..00000000000 --- a/packages/yoastseo/src/languageProcessing/languages/en/config/internal/frequencyList.json +++ /dev/null @@ -1,2958 +0,0 @@ -{ - "source" : "This list uses two main sources: www.wordfrequency.info (based on the COCA corpus) and https://github.com/hermitdave/FrequencyWords/blob/master/content/2018/en/en_50k.txt.", - "clean-up": "Some adjustments were made, incl. adding UK spelling variants, removing 6-letter words which can't be conjugated, adding common food-related vocabulary.", - "list": [ - "school", - "happen", - "family", - "number", - "friend", - "mother", - "change", - "father", - "reason", - "social", - "policy", - "police", - "strong", - "church", - "couple", - "pretty", - "energy", - "doctor", - "source", - "single", - "likely", - "county", - "common", - "amount", - "agency", - "sister", - "finish", - "design", - "theory", - "option", - "memory", - "global", - "charge", - "assume", - "credit", - "indeed", - "reveal", - "access", - "debate", - "review", - "lawyer", - "relate", - "middle", - "victim", - "cancer", - "speech", - "weight", - "dinner", - "inside", - "unless", - "budget", - "income", - "threat", - "travel", - "sexual", - "suffer", - "spring", - "safety", - "finger", - "device", - "spirit", - "define", - "handle", - "senior", - "status", - "attend", - "screen", - "strike", - "battle", - "corner", - "target", - "crisis", - "engage", - "murder", - "object", - "sample", - "refuse", - "garden", - "reform", - "ignore", - "planet", - "search", - "remind", - "survey", - "master", - "commit", - "stupid", - "border", - "recall", - "flight", - "demand", - "living", - "settle", - "slowly", - "advice", - "potato", - "injury", - "ticket", - "damage", - "mental", - "spread", - "bright", - "annual", - "active", - "depend", - "affair", - "direct", - "intend", - "gather", - "extend", - "invite", - "belong", - "obtain", - "defend", - "supply", - "unique", - "excuse", - "emerge", - "desire", - "famous", - "insist", - "native", - "expand", - "launch", - "repeat", - "breath", - "prefer", - "danger", - "select", - "secret", - "circle", - "critic", - "united", - "useful", - "pocket", - "afford", - "bridge", - "flower", - "locate", - "profit", - "gender", - "manner", - "honest", - "beauty", - "bottle", - "stress", - "arrest", - "bother", - "scream", - "shadow", - "talent", - "accuse", - "sector", - "pursue", - "invest", - "notion", - "expose", - "estate", - "escape", - "motion", - "proper", - "muscle", - "yellow", - "e-mail", - "signal", - "golden", - "reject", - "inform", - "regime", - "rating", - "campus", - "assess", - "branch", - "prayer", - "employ", - "appeal", - "enable", - "oppose", - "mirror", - "relief", - "heaven", - "agenda", - "divide", - "regard", - "visual", - "deeply", - "column", - "button", - "unable", - "scared", - "double", - "fellow", - "pepper", - "square", - "recipe", - "silent", - "severe", - "saving", - "adjust", - "assist", - "permit", - "avenue", - "priest", - "narrow", - "ethnic", - "prince", - "switch", - "phrase", - "retire", - "secure", - "attach", - "racial", - "submit", - "stream", - "origin", - "impose", - "jacket", - "mm-hmm", - "formal", - "throat", - "salary", - "lovely", - "carbon", - "butter", - "desert", - "assign", - "bullet", - "bureau", - "broken", - "junior", - "string", - "deputy", - "hungry", - "symbol", - "detect", - "evolve", - "silver", - "resist", - "occupy", - "advise", - "burden", - "clinic", - "smooth", - "assure", - "terror", - "update", - "glance", - "ballot", - "marine", - "freeze", - "wisdom", - "retain", - "tomato", - "galaxy", - "scheme", - "tongue", - "fiscal", - "voting", - "comedy", - "mobile", - "domain", - "random", - "shower", - "borrow", - "custom", - "nearby", - "stable", - "script", - "remote", - "defeat", - "horror", - "slight", - "differ", - "entity", - "decent", - "poetry", - "thread", - "wooden", - "resort", - "legacy", - "cancel", - "derive", - "margin", - "tactic", - "steady", - "sudden", - "reward", - "garage", - "flavor", - "flavour", - "format", - "legend", - "treaty", - "makeup", - "genius", - "gently", - "exceed", - "render", - "mutual", - "invent", - "infant", - "server", - "prompt", - "assert", - "barrel", - "stroke", - "wander", - "remark", - "fabric", - "admire", - "closet", - "tunnel", - "behave", - "medium", - "virtue", - "summit", - "donate", - "retail", - "deadly", - "bubble", - "absorb", - "resign", - "sacred", - "dining", - "punish", - "depict", - "rescue", - "combat", - "praise", - "timing", - "motive", - "injure", - "pastor", - "tackle", - "patent", - "powder", - "govern", - "modest", - "shared", - "divine", - "cowboy", - "intent", - "gentle", - "rhythm", - "lonely", - "strain", - "devote", - "subtle", - "endure", - "basket", - "strict", - "boring", - "closed", - "tablet", - "ruling", - "equity", - "bitter", - "colony", - "bloody", - "harbor", - "harbour", - "trauma", - "convey", - "output", - "insane", - "modify", - "anchor", - "bounce", - "repair", - "ritual", - "outlet", - "immune", - "regret", - "enroll", - "outfit", - "candle", - "needle", - "hidden", - "sensor", - "deploy", - "parade", - "gifted", - "ending", - "backup", - "export", - "frozen", - "accent", - "hockey", - "casual", - "clever", - "resume", - "carpet", - "behalf", - "fossil", - "patrol", - "cattle", - "safely", - "insert", - "solely", - "pickup", - "unfair", - "tragic", - "mentor", - "stance", - "offend", - "compel", - "inmate", - "filter", - "pillow", - "vanish", - "clause", - "shield", - "vendor", - "poorly", - "firmly", - "preach", - "helmet", - "delete", - "hunger", - "comply", - "verbal", - "puzzle", - "worthy", - "pirate", - "excite", - "denial", - "tender", - "forbid", - "betray", - "bucket", - "hatred", - "loving", - "thrive", - "unfold", - "verify", - "strive", - "canvas", - "throne", - "brutal", - "drawer", - "induce", - "import", - "invade", - "freely", - "jungle", - "breeze", - "foster", - "streak", - "viable", - "sleeve", - "tattoo", - "shrink", - "burger", - "collar", - "hammer", - "another", - "student", - "problem", - "believe", - "country", - "company", - "program", - "programme", - "provide", - "service", - "include", - "history", - "morning", - "process", - "teacher", - "college", - "require", - "control", - "suggest", - "support", - "receive", - "federal", - "finally", - "project", - "article", - "science", - "develop", - "brother", - "society", - "picture", - "exactly", - "product", - "realize", - "realise", - "comment", - "patient", - "produce", - "general", - "husband", - "officer", - "thought", - "economy", - "culture", - "medical", - "private", - "tonight", - "involve", - "message", - "defense", - "defence", - "protect", - "century", - "example", - "natural", - "usually", - "ability", - "serious", - "compare", - "subject", - "quality", - "quickly", - "mention", - "section", - "benefit", - "meeting", - "feeling", - "imagine", - "present", - "foreign", - "disease", - "discuss", - "concern", - "prepare", - "network", - "success", - "outside", - "clearly", - "perfect", - "central", - "opinion", - "purpose", - "account", - "release", - "version", - "reality", - "justice", - "station", - "instead", - "respond", - "trouble", - "perform", - "improve", - "address", - "measure", - "publish", - "popular", - "partner", - "freedom", - "machine", - "senator", - "prevent", - "feature", - "evening", - "weekend", - "mission", - "pattern", - "reflect", - "surface", - "council", - "content", - "element", - "nuclear", - "journal", - "soldier", - "deliver", - "destroy", - "concept", - "willing", - "promise", - "capital", - "replace", - "kitchen", - "achieve", - "mistake", - "express", - "species", - "conduct", - "library", - "attempt", - "vehicle", - "examine", - "welcome", - "amazing", - "promote", - "healthy", - "context", - "writing", - "failure", - "western", - "collect", - "variety", - "observe", - "survive", - "reading", - "website", - "connect", - "climate", - "quarter", - "operate", - "outcome", - "captain", - "finding", - "respect", - "primary", - "strange", - "clothes", - "contact", - "victory", - "session", - "somehow", - "weather", - "explore", - "correct", - "married", - "village", - "meaning", - "combine", - "chicken", - "deserve", - "confirm", - "supreme", - "growing", - "revenue", - "complex", - "forever", - "capture", - "traffic", - "fucking", - "episode", - "predict", - "digital", - "balance", - "wedding", - "careful", - "declare", - "massive", - "propose", - "request", - "plastic", - "illegal", - "suppose", - "eastern", - "largely", - "chapter", - "hearing", - "payment", - "surgery", - "witness", - "holiday", - "liberal", - "speaker", - "overall", - "package", - "airport", - "channel", - "initial", - "ancient", - "fashion", - "adopted", - "engaged", - "funding", - "limited", - "approve", - "inspire", - "visitor", - "typical", - "analyst", - "suspect", - "athlete", - "opening", - "emotion", - "decline", - "attract", - "breathe", - "warning", - "calorie", - "display", - "succeed", - "silence", - "expense", - "journey", - "bedroom", - "veteran", - "protein", - "compete", - "recover", - "faculty", - "alcohol", - "therapy", - "offense", - "offence", - "violent", - "portion", - "acquire", - "suicide", - "stretch", - "deficit", - "symptom", - "capable", - "analyze", - "analyse", - "pretend", - "welfare", - "poverty", - "closely", - "housing", - "command", - "extreme", - "mystery", - "install", - "liberty", - "nervous", - "parking", - "unusual", - "advance", - "profile", - "academy", - "scholar", - "edition", - "abandon", - "musical", - "illness", - "embrace", - "leading", - "factory", - "monitor", - "resolve", - "license", - "licence", - "twitter", - "insight", - "equally", - "fiction", - "protest", - "assault", - "enhance", - "justify", - "gallery", - "tension", - "helpful", - "fishing", - "anxiety", - "formula", - "monster", - "excited", - "privacy", - "arrange", - "penalty", - "stomach", - "concert", - "classic", - "battery", - "forgive", - "visible", - "heavily", - "lawsuit", - "restore", - "besides", - "intense", - "testing", - "fantasy", - "absence", - "whereas", - "whisper", - "airline", - "founder", - "nowhere", - "crucial", - "missile", - "roughly", - "genetic", - "related", - "unknown", - "proceed", - "violate", - "finance", - "barrier", - "working", - "ongoing", - "routine", - "stadium", - "sheriff", - "dismiss", - "storage", - "utility", - "wealthy", - "possess", - "curious", - "consume", - "chamber", - "fighter", - "fortune", - "mixture", - "testify", - "qualify", - "contest", - "refugee", - "organic", - "diverse", - "convert", - "worried", - "impress", - "rapidly", - "ceiling", - "shelter", - "comfort", - "tourist", - "educate", - "charity", - "reserve", - "quietly", - "funeral", - "missing", - "shortly", - "sidebar", - "adviser", - "radical", - "tragedy", - "drawing", - "scandal", - "counter", - "segment", - "distant", - "killing", - "running", - "divorce", - "circuit", - "confuse", - "frankly", - "sustain", - "uniform", - "painful", - "miracle", - "hunting", - "satisfy", - "cabinet", - "dispute", - "appoint", - "warrior", - "physics", - "squeeze", - "diamond", - "playoff", - "actress", - "grocery", - "olympic", - "handful", - "entitle", - "carrier", - "explode", - "courage", - "vaccine", - "summary", - "leather", - "mandate", - "execute", - "gesture", - "horizon", - "greatly", - "inquiry", - "exclude", - "virtual", - "minimum", - "undergo", - "enforce", - "recruit", - "monthly", - "briefly", - "blanket", - "kingdom", - "nominee", - "arrival", - "exhibit", - "portray", - "tobacco", - "trigger", - "pleased", - "maximum", - "pension", - "cluster", - "costume", - "cooking", - "crystal", - "counsel", - "ethical", - "written", - "reverse", - "starter", - "chronic", - "colonel", - "essence", - "driving", - "dynamic", - "swallow", - "fitness", - "compose", - "servant", - "garbage", - "venture", - "t-shirt", - "lecture", - "genuine", - "trading", - "convict", - "endless", - "habitat", - "trailer", - "pitcher", - "goodbye", - "suspend", - "bombing", - "consult", - "creator", - "warming", - "utilize", - "utilise", - "surgeon", - "walking", - "gravity", - "endorse", - "alleged", - "statute", - "biology", - "evident", - "confess", - "consent", - "banking", - "asshole", - "bastard", - "apology", - "rebuild", - "romance", - "opposed", - "logical", - "custody", - "sponsor", - "hallway", - "condemn", - "vitamin", - "hostage", - "teenage", - "landing", - "slavery", - "curtain", - "specify", - "stumble", - "lightly", - "default", - "isolate", - "charter", - "someday", - "precise", - "legally", - "avocado", - "anchovy", - "lasagna", - "lobster", - "pumpkin", - "pudding", - "embassy", - "retired", - "grandma", - "archive", - "outdoor", - "burning", - "premise", - "loyalty", - "pursuit", - "chuckle", - "density", - "relieve", - "alright", - "oversee", - "awkward", - "subsidy", - "dignity", - "prophet", - "serving", - "android", - "contend", - "shuttle", - "exploit", - "sibling", - "painter", - "passing", - "neutral", - "cartoon", - "graphic", - "darling", - "descend", - "beloved", - "removal", - "anxious", - "clarify", - "minimal", - "ranking", - "scatter", - "readily", - "premium", - "outlook", - "hostile", - "useless", - "transit", - "rolling", - "secular", - "o'clock", - "hormone", - "majesty", - "grandpa", - "sweetie", - "thunder", - "robbery", - "whistle", - "comrade", - "torture", - "traitor", - "theatre", - "theater", - "rubbish", - "goddess", - "marshal", - "massage", - "retreat", - "shooter", - "autopsy", - "bargain", - "perfume", - "colored", - "coloured", - "pyramid", - "trumpet", - "despise", - "impulse", - "penguin", - "bathtub", - "scooter", - "brigade", - "glimpse", - "compass", - "dislike", - "deceive", - "advisor", - "tractor", - "plumber", - "stalker", - "footage", - "coastal", - "partial", - "vampire", - "dessert", - "shallow", - "laundry", - "jewelry", - "revenge", - "outline", - "unclear", - "workout", - "eternal", - "deposit", - "verdict", - "uncover", - "corrupt", - "scratch", - "inherit", - "magical", - "happily", - "trainer", - "anytime", - "instant", - "doorway", - "learner", - "elegant", - "goddamn", - "bicycle", - "destiny", - "halfway", - "jealous", - "extract", - "emperor", - "dancing", - "balloon", - "warrant", - "upgrade", - "browser", - "talking", - "quantum", - "eyebrow", - "ashamed", - "persist", - "bizarre", - "question", - "business", - "actually", - "national", - "together", - "disputed", - "marketed", - "focusing", - "credited", - "printing", - "removing", - "featured", - "targeted", - "remember", - "continue", - "probably", - "research", - "consider", - "although", - "interest", - "security", - "decision", - "position", - "economic", - "practice", - "personal", - "building", - "military", - "activity", - "evidence", - "describe", - "director", - "campaign", - "election", - "official", - "industry", - "daughter", - "computer", - "behavior", - "behaviour", - "increase", - "language", - "response", - "congress", - "analysis", - "hospital", - "material", - "recently", - "democrat", - "identify", - "movement", - "approach", - "resource", - "district", - "physical", - "standard", - "strategy", - "property", - "indicate", - "supposed", - "training", - "pressure", - "employee", - "argument", - "marriage", - "original", - "positive", - "politics", - "customer", - "discover", - "maintain", - "majority", - "mountain", - "attorney", - "solution", - "violence", - "audience", - "internet", - "consumer", - "announce", - "governor", - "shoulder", - "cultural", - "suddenly", - "adopting", - "engaging", - "reducing", - "smoother", - "trending", - "critical", - "powerful", - "magazine", - "religion", - "contract", - "involved", - "location", - "strength", - "resident", - "football", - "reporter", - "function", - "southern", - "conflict", - "learning", - "document", - "presence", - "attitude", - "doughnut", - "eggplant", - "lemonade", - "barbecue", - "barbeque", - "chestnut", - "cucumber", - "dumpling", - "lollipop", - "meatball", - "mushroom", - "omelette", - "tiramisu", - "umbrella", - "zucchini", - "steaming", - "sprinkle", - "stirring", - "negative", - "distance", - "relation", - "favorite", - "favourite", - "identity", - "facility", - "division", - "compared", - "guessing", - "dressing", - "attached", - "fabulous", - "tracking", - "recorded", - "creating", - "covering", - "occurred", - "catching", - "clicking", - "obsessed", - "freezing", - "numbered", - "coloring", - "centered", - "resulted", - "deciding", - "choosing", - "figuring", - "impacted", - "noticing", - "managing", - "rumbling", - "treating", - "entering", - "searched", - "bothered", - "sticking", - "suitcase", - "chirping", - "sunshine", - "contrary", - "gathered", - "crossing", - "intended", - "grandson", - "employed", - "parallel", - "detected", - "comedian", - "smashing", - "addicted", - "recorder", - "pentagon", - "contempt", - "speeding", - "bankrupt", - "slippery", - "souvenir", - "stitches", - "referred", - "medieval", - "slippers", - "repeated", - "rehearse", - "juvenile", - "breeding", - "settling", - "squadron", - "devotion", - "briefing", - "audition", - "chanting", - "superman", - "admitted", - "poisoned", - "inspired", - "crashing", - "assuming", - "immunity", - "deserved", - "belonged", - "splendid", - "borrowed", - "produced", - "directed", - "revealed", - "infected", - "relieved", - "adorable", - "floating", - "insisted", - "roommate", - "giggling", - "cemetery", - "corporal", - "realised", - "hopeless", - "defeated", - "assigned", - "climbing", - "replaced", - "arriving", - "kindness", - "boarding", - "affected", - "imperial", - "handling", - "glorious", - "executed", - "resolved", - "attended", - "reaction", - "painting", - "minister", - "neighbor", - "neighbour", - "software", - "threaten", - "category", - "possibly", - "academic", - "straight", - "medicine", - "thursday", - "exchange", - "progress", - "surprise", - "familiar", - "thinking", - "anywhere", - "baseball", - "accident", - "struggle", - "terrible", - "generate", - "exercise", - "entirely", - "teaching", - "chairman", - "universe", - "coverage", - "minority", - "domestic", - "organize", - "organise", - "surround", - "sentence", - "criminal", - "investor", - "abortion", - "internal", - "proposal", - "capacity", - "catholic", - "variable", - "incident", - "conclude", - "complain", - "pleasure", - "northern", - "creative", - "estimate", - "convince", - "purchase", - "birthday", - "regional", - "creation", - "spending", - "separate", - "contrast", - "judgment", - "producer", - "existing", - "platform", - "addition", - "employer", - "disaster", - "bathroom", - "exposure", - "priority", - "relevant", - "schedule", - "disagree", - "engineer", - "whenever", - "opponent", - "pregnant", - "evaluate", - "disorder", - "creature", - "numerous", - "shooting", - "graduate", - "recovery", - "constant", - "teaspoon", - "transfer", - "clinical", - "republic", - "perceive", - "designer", - "planning", - "occasion", - "festival", - "scenario", - "strongly", - "preserve", - "enormous", - "valuable", - "electric", - "innocent", - "accurate", - "criteria", - "dramatic", - "prospect", - "normally", - "moreover", - "ordinary", - "stranger", - "prisoner", - "sequence", - "provider", - "activist", - "vacation", - "properly", - "exciting", - "delivery", - "friendly", - "dominate", - "approval", - "teenager", - "ultimate", - "survival", - "darkness", - "historic", - "educator", - "confront", - "emphasis", - "champion", - "advanced", - "unlikely", - "advocate", - "horrible", - "lifetime", - "mortgage", - "apparent", - "honestly", - "alliance", - "overcome", - "relative", - "laughter", - "boundary", - "narrator", - "assembly", - "ministry", - "register", - "absolute", - "dialogue", - "external", - "shopping", - "taxpayer", - "publicly", - "selected", - "afforded", - "stressed", - "screamed", - "accusing", - "invested", - "clothing", - "musician", - "ceremony", - "observer", - "humanity", - "survivor", - "survivour", - "chemical", - "database", - "everyday", - "emission", - "literary", - "feedback", - "detailed", - "memorial", - "proposed", - "romantic", - "decrease", - "portrait", - "headline", - "entrance", - "aircraft", - "withdraw", - "grateful", - "regulate", - "standing", - "operator", - "tendency", - "sandwich", - "distinct", - "sanction", - "superior", - "currency", - "doctrine", - "commerce", - "particle", - "moderate", - "wildlife", - "downtown", - "homeless", - "receiver", - "fighting", - "collapse", - "workshop", - "earnings", - "motivate", - "weakness", - "athletic", - "midnight", - "heritage", - "adoption", - "reliable", - "reliably", - "princess", - "dedicate", - "changing", - "guidance", - "dominant", - "invasion", - "hardware", - "freshman", - "donation", - "overlook", - "resemble", - "ideology", - "starting", - "diabetes", - "frequent", - "concrete", - "drinking", - "equation", - "basement", - "interact", - "diagnose", - "precious", - "initiate", - "restrict", - "spectrum", - "bacteria", - "adequate", - "stimulus", - "elevator", - "hispanic", - "longtime", - "civilian", - "compound", - "province", - "upstairs", - "rhetoric", - "protocol", - "persuade", - "peaceful", - "provided", - "rational", - "artistic", - "download", - "accuracy", - "literacy", - "treasury", - "talented", - "sergeant", - "lawmaker", - "dynamics", - "distract", - "follower", - "eligible", - "prohibit", - "obstacle", - "handsome", - "bullshit", - "deadline", - "equality", - "generous", - "judicial", - "assemble", - "homeland", - "actively", - "retrieve", - "offering", - "goodness", - "blessing", - "reminder", - "quantity", - "olympics", - "pleasant", - "calendar", - "airplane", - "profound", - "treasure", - "upcoming", - "courtesy", - "patience", - "sidewalk", - "sexually", - "colonial", - "traveler", - "traveller", - "metaphor", - "instinct", - "disclose", - "teammate", - "corridor", - "extended", - "railroad", - "minimize", - "minimise", - "expected", - "nonsense", - "theology", - "terrific", - "suburban", - "momentum", - "ancestor", - "forehead", - "interior", - "mechanic", - "homework", - "elephant", - "syndrome", - "abstract", - "improved", - "comprise", - "hesitate", - "gorgeous", - "believer", - "likewise", - "mentally", - "combined", - "conceive", - "required", - "meantime", - "illusion", - "organism", - "diminish", - "sunlight", - "molecule", - "monetary", - "envelope", - "classify", - "discount", - "emerging", - "retailer", - "sometime", - "fraction", - "tolerate", - "validity", - "ambition", - "delicate", - "happened", - "children", - "laughing", - "speaking", - "watching", - "finished", - "sleeping", - "promised", - "grunting", - "applause", - "cheering", - "shouting", - "murdered", - "bringing", - "greatest", - "arrested", - "breaking", - "prepared", - "believed", - "realized", - "followed", - "received", - "returned", - "good-bye", - "knocking", - "groaning", - "attacked", - "carrying", - "confused", - "checking", - "bleeding", - "stronger", - "throwing", - "stealing", - "monsieur", - "released", - "cleaning", - "charming", - "highness", - "growling", - "studying", - "accepted", - "counting", - "pathetic", - "stopping", - "swimming", - "cheating", - "terribly", - "suffered", - "reported", - "designed", - "dreaming", - "enjoying", - "arranged", - "survived", - "betrayed", - "coughing", - "touching", - "mistress", - "divorced", - "doorbell", - "visiting", - "starving", - "freaking", - "dropping", - "paradise", - "annoying", - "answered", - "mistaken", - "worrying", - "captured", - "invented", - "listened", - "wondered", - "passport", - "homicide", - "farewell", - "informed", - "stubborn", - "gambling", - "marrying", - "whirring", - "reverend", - "punished", - "imagined", - "necklace", - "instruct", - "shortage", - "sympathy", - "flexible", - "interval", - "gasoline", - "intimate", - "defender", - "backyard", - "guardian", - "ignorant", - "headache", - "nominate", - "critique", - "tropical", - "annually", - "offender", - "parental", - "disabled", - "listener", - "socially", - "morality", - "pipeline", - "faithful", - "trillion", - "explicit", - "petition", - "monument", - "strictly", - "casualty", - "merchant", - "stunning", - "murderer", - "textbook", - "keyboard", - "predator", - "president", - "community", - "political", - "including", - "education", - "according", - "sometimes", - "situation", - "character", - "attention", - "condition", - "certainly", - "difficult", - "represent", - "statement", - "financial", - "treatment", - "candidate", - "determine", - "knowledge", - "recognize", - "recognise", - "authority", - "committee", - "displayed", - "measuring", - "performed", - "providing", - "scheduled", - "unlimited", - "prescribe", - "discharge", - "interview", - "professor", - "challenge", - "operation", - "religious", - "colouring", - "centering", - "resulting", - "accepting", - "finishing", - "designing", - "impacting", - "affecting", - "establish", - "executive", - "direction", - "therefore", - "structure", - "insurance", - "scientist", - "obviously", - "effective", - "agreement", - "potential", - "generally", - "beginning", - "encourage", - "concerned", - "wonderful", - "introduce", - "principle", - "otherwise", - "advantage", - "associate", - "afternoon", - "secretary", - "following", - "newspaper", - "currently", - "apartment", - "dangerous", - "institute", - "basically", - "influence", - "procedure", - "tradition", - "technique", - "presented", - "responded", - "recommend", - "disputing", - "published", - "bookstore", - "commented", - "crediting", - "dominated", - "repeating", - "featuring", - "targeting", - "classroom", - "reference", - "emergency", - "corporate", - "emotional", - "equipment", - "expensive", - "colleague", - "disappear", - "democracy", - "surprised", - "regarding", - "excellent", - "component", - "celebrate", - "amendment", - "long-term", - "carefully", - "meanwhile", - "eliminate", - "essential", - "implement", - "hamburger", - "tasteless", - "milkshake", - "artichoke", - "asparagus", - "aubergine", - "blueberry", - "coriander", - "marmalade", - "pineapple", - "spaghetti", - "tangerine", - "margarine", - "streaming", - "marketing", - "typically", - "increased", - "gentleman", - "household", - "existence", - "literally", - "technical", - "selection", - "perfectly", - "criticism", - "landscape", - "immigrant", - "complaint", - "supporter", - "childhood", - "spiritual", - "detective", - "exception", - "commander", - "passenger", - "physician", - "substance", - "emphasize", - "emphasise", - "vegetable", - "discovery", - "territory", - "immediate", - "anonymous", - "breakfast", - "reduction", - "primarily", - "transform", - "practical", - "infection", - "volunteer", - "elsewhere", - "mechanism", - "intention", - "boyfriend", - "cigarette", - "hurricane", - "provision", - "virtually", - "evolution", - "telephone", - "criticize", - "criticise", - "awareness", - "narrative", - "diversity", - "offensive", - "construct", - "defensive", - "apologize", - "apologise", - "permanent", - "objective", - "universal", - "chocolate", - "sensitive", - "adventure", - "dimension", - "guarantee", - "gentlemen", - "happening", - "screaming", - "continues", - "listening", - "wondering", - "forgotten", - "destroyed", - "expecting", - "mentioned", - "committed", - "chuckling", - "announcer", - "champagne", - "ambulance", - "searching", - "connected", - "witnesses", - "abandoned", - "subtitles", - "impressed", - "miserable", - "kidnapped", - "surrender", - "footsteps", - "goodnight", - "delivered", - "confirmed", - "greetings", - "answering", - "someplace", - "satisfied", - "developed", - "returning", - "bothering", - "policeman", - "underwear", - "traveling", - "travelling", - "protected", - "exhausted", - "separated", - "warehouse", - "honeymoon", - "whistling", - "paperwork", - "forbidden", - "suspected", - "delighted", - "valentine", - "terrified", - "preparing", - "cellphone", - "backwards", - "recovered", - "completed", - "organized", - "organised", - "dismissed", - "rehearsal", - "overnight", - "corrected", - "described", - "attracted", - "believing", - "attacking", - "dedicated", - "requested", - "worthless", - "suspended", - "blackmail", - "decorated", - "specially", - "producing", - "imaginary", - "artillery", - "shameless", - "cafeteria", - "monastery", - "impatient", - "predicted", - "civilized", - "civilised", - "personnel", - "terrorist", - "initially", - "violation", - "translate", - "coalition", - "naturally", - "hopefully", - "interpret", - "brilliant", - "framework", - "calculate", - "testimony", - "precisely", - "depending", - "developer", - "similarly", - "expansion", - "encounter", - "confident", - "strategic", - "publisher", - "highlight", - "variation", - "negotiate", - "assistant", - "regularly", - "accompany", - "terrorism", - "frequency", - "celebrity", - "guideline", - "pregnancy", - "incentive", - "satellite", - "efficient", - "economics", - "spokesman", - "extension", - "historian", - "lifestyle", - "fantastic", - "desperate", - "extensive", - "economist", - "privilege", - "formation", - "inflation", - "temporary", - "defendant", - "happiness", - "admission", - "counselor", - "counsellor", - "recording", - "explosion", - "cognitive", - "furniture", - "launching", - "preferred", - "selecting", - "stressing", - "investing", - "prominent", - "recession", - "copyright", - "dependent", - "signature", - "stability", - "principal", - "integrity", - "secondary", - "communist", - "radiation", - "operating", - "discourse", - "nightmare", - "diagnosis", - "reporting", - "touchdown", - "attribute", - "confusion", - "telescope", - "integrate", - "pollution", - "nonprofit", - "interrupt", - "consensus", - "seemingly", - "gradually", - "marijuana", - "reinforce", - "continued", - "exclusive", - "intensity", - "container", - "promotion", - "ownership", - "sacrifice", - "correctly", - "franchise", - "indicator", - "companion", - "recipient", - "undermine", - "expertise", - "suffering", - "invisible", - "residence", - "architect", - "inspector", - "classical", - "realistic", - "necessity", - "parameter", - "liability", - "conscious", - "sentiment", - "convinced", - "paragraph", - "identical", - "portfolio", - "delicious", - "northwest", - "southwest", - "chronicle", - "magnitude", - "suspicion", - "reception", - "automatic", - "promising", - "therapist", - "workplace", - "competing", - "voiceover", - "carpenter", - "upsetting", - "narcotics", - "foreigner", - "travelled", - "traveled", - "microwave", - "groceries", - "imitating", - "informant", - "fisherman", - "nightclub", - "overheard", - "broadcast", - "execution", - "instantly", - "objection", - "full-time", - "departure", - "screening", - "electoral", - "allegedly", - "mortality", - "continent", - "ecosystem", - "nutrition", - "cooperate", - "southeast", - "undertake", - "authorize", - "authorise", - "gathering", - "interfere", - "sculpture", - "performer", - "threshold", - "inventory", - "transport", - "addiction", - "protester", - "ignorance", - "chemistry", - "lightning", - "worldwide", - "curiosity", - "northeast", - "migration", - "invention", - "partially", - "scripture", - "collector", - "courtroom", - "interface", - "placement", - "ambitious", - "excessive", - "countless", - "depressed", - "columnist", - "isolation", - "commodity", - "breathing", - "reluctant", - "testament", - "processor", - "perceived", - "sensation", - "afterward", - "government", - "understand", - "university", - "experience", - "republican", - "especially", - "department", - "technology", - "population", - "individual", - "discussion", - "democratic", - "production", - "management", - "particular", - "conference", - "generation", - "photograph", - "television", - "eventually", - "investment", - "collection", - "successful", - "interested", - "researcher", - "restaurant", - "additional", - "definitely", - "commercial", - "connection", - "apparently", - "contribute", - "foundation", - "appreciate", - "protection", - "leadership", - "background", - "commission", - "expression", - "impossible", - "scientific", - "conclusion", - "assessment", - "historical", - "regulation", - "relatively", - "literature", - "presenting", - "performing", - "responding", - "importance", - "politician", - "ultimately", - "percentage", - "appearance", - "definition", - "commitment", - "convention", - "previously", - "experiment", - "confidence", - "difficulty", - "personally", - "instrument", - "perception", - "disability", - "comparison", - "opposition", - "frequently", - "basketball", - "revolution", - "consistent", - "journalist", - "resolution", - "depression", - "initiative", - "assistance", - "reasonable", - "transition", - "philosophy", - "prosecutor", - "industrial", - "regardless", - "atmosphere", - "accomplish", - "girlfriend", - "employment", - "suggestion", - "resistance", - "evaluation", - "assumption", - "incredible", - "retirement", - "integrated", - "maintained", - "curriculum", - "increasing", - "son-in-law", - "indistinct", - "discovered", - "downstairs", - "disgusting", - "considered", - "chattering", - "remembered", - "whispering", - "threatened", - "frightened", - "protecting", - "pretending", - "surrounded", - "confession", - "determined", - "screeching", - "introduced", - "suggesting", - "undercover", - "recognized", - "recognised", - "kidnapping", - "registered", - "struggling", - "forgetting", - "identified", - "excellency", - "whimpering", - "motorcycle", - "controlled", - "destroying", - "authorized", - "authorised", - "exclaiming", - "monitoring", - "stammering", - "celebrated", - "encouraged", - "babysitter", - "programmed", - "discharged", - "playground", - "peacefully", - "disrespect", - "underworld", - "invincible", - "unbearable", - "footprints", - "applauding", - "complained", - "settlement", - "reputation", - "enterprise", - "discipline", - "illustrate", - "originally", - "statistics", - "electronic", - "impression", - "tablespoon", - "phenomenon", - "ridiculous", - "aggressive", - "elementary", - "biological", - "developing", - "laboratory", - "innovation", - "ingredient", - "respondent", - "limitation", - "surprising", - "obligation", - "tournament", - "medication", - "psychology", - "friendship", - "motivation", - "specialist", - "distribute", - "reflection", - "watermelon", - "satisfying", - "overcooked", - "blackberry", - "grapefruit", - "mayonnaise", - "strawberry", - "permission", - "remarkable", - "sufficient", - "capability", - "impressive", - "consultant", - "lieutenant", - "attractive", - "children's", - "commenting", - "dominating", - "ambassador", - "vulnerable", - "prevention", - "constitute", - "legitimate", - "preference", - "profession", - "incredibly", - "engagement", - "assignment", - "efficiency", - "punishment", - "exhibition", - "physically", - "repeatedly", - "proportion", - "tremendous", - "allegation", - "conviction", - "strengthen", - "membership", - "possession", - "prediction", - "subsequent", - "mainstream", - "presidency", - "hypothesis", - "nomination", - "adjustment", - "acceptable", - "meaningful", - "collective", - "preferring", - "corruption", - "facilitate", - "concerning", - "anticipate", - "bankruptcy", - "widespread", - "competitor", - "instructor", - "conspiracy", - "helicopter", - "indication", - "associated", - "officially", - "unexpected", - "occupation", - "counseling", - "counselling", - "complexity", - "acceptance", - "revelation", - "inevitable", - "productive", - "contractor", - "behavioral", - "behavioural", - "affordable", - "regulatory", - "accessible", - "excitement", - "adolescent", - "functional", - "administer", - "occasional", - "journalism", - "parliament", - "separation", - "structural", - "compromise", - "earthquake", - "processing", - "continuous", - "supervisor", - "manipulate", - "mysterious", - "electrical", - "attraction", - "artificial", - "indigenous", - "underlying", - "altogether", - "mechanical", - "correction", - "enthusiasm", - "inspection", - "invitation", - "creativity", - "reportedly", - "diplomatic", - "continuing", - "supposedly", - "commentary", - "accusation", - "innovative", - "thoroughly", - "popularity", - "capitalism", - "capitalist", - "presumably", - "harassment", - "protective", - "conscience", - "supportive", - "conversion", - "suspicious", - "publishing", - "disclosure", - "optimistic", - "well-being", - "specialize", - "specialise", - "compliance", - "astronomer", - "equivalent", - "constraint", - "sweetheart", - "wilderness", - "compelling", - "passionate", - "explicitly", - "compassion", - "short-term", - "propaganda", - "projection", - "negatively", - "conception", - "accounting", - "adaptation", - "discourage", - "disturbing", - "attendance", - "similarity", - "graduation", - "accurately", - "beneficial", - "vocabulary", - "information", - "development", - "opportunity", - "performance", - "significant", - "interesting", - "environment", - "association", - "participant", - "institution", - "traditional", - "immediately", - "application", - "possibility", - "responsible", - "perspective", - "independent", - "demonstrate", - "temperature", - "competition", - "participate", - "appropriate", - "consequence", - "instruction", - "requirement", - "educational", - "comfortable", - "investigate", - "efficiently", - "eliminating", - "acknowledge", - "necessarily", - "expectation", - "corporation", - "interaction", - "explanation", - "improvement", - "interviewed", - "combination", - "description", - "legislation", - "immigration", - "observation", - "enforcement", - "essentially", - "achievement", - "personality", - "alternative", - "publication", - "engineering", - "fundamental", - "effectively", - "communicate", - "implication", - "potentially", - "competitive", - "negotiation", - "complicated", - "recognition", - "involvement", - "grandmother", - "destruction", - "advertising", - "arrangement", - "incorporate", - "substantial", - "quarterback", - "preparation", - "electricity", - "concentrate", - "partnership", - "appointment", - "congressman", - "differently", - "consumption", - "measurement", - "imagination", - "politically", - "health-care", - "cooperation", - "distinction", - "grandfather", - "legislature", - "furthermore", - "correlation", - "restriction", - "controversy", - "celebration", - "anniversary", - "scholarship", - "maintenance", - "intelligent", - "examination", - "composition", - "progressive", - "legislative", - "agriculture", - "transaction", - "frustration", - "replacement", - "distinguish", - "orientation", - "disappeared", - "coincidence", - "approaching", - "underground", - "threatening", - "transferred", - "magnificent", - "undercooked", - "cauliflower", - "forgiveness", - "questioning", - "complaining", - "celebrating", - "unconscious", - "housekeeper", - "exceptional", - "condolences", - "humiliation", - "masterpiece", - "compartment", - "merchandise", - "frustrating", - "reservation", - "inspiration", - "fascinating", - "uncertainty", - "documentary", - "nonetheless", - "statistical", - "prosecution", - "destination", - "practically", - "translation", - "cholesterol", - "importantly", - "integration", - "sustainable", - "probability", - "acquisition", - "mathematics", - "theoretical", - "considering", - "photography", - "affiliation", - "declaration", - "illustrated", - "outstanding", - "exploration", - "credibility", - "proposition", - "calculation", - "demographic", - "accommodate", - "contributor", - "residential", - "counterpart", - "certificate", - "programming", - "fortunately", - "influential", - "unfortunate", - "businessman", - "citizenship", - "coordinator", - "speculation", - "challenging", - "reliability", - "experienced", - "exclusively", - "willingness", - "encouraging", - "technically", - "ideological", - "sensitivity", - "emotionally", - "spectacular", - "proceedings", - "desperately", - "re-election", - "flexibility", - "embarrassed", - "consecutive", - "surrounding", - "relationship", - "organization", - "organisation", - "particularly", - "conversation", - "fingerprints", - "indistinctly", - "instrumental", - "accidentally", - "professional", - "neighborhood", - "supernatural", - "experiencing", - "unacceptable", - "high-pitched", - "neighbourhood", - "intelligence", - "presidential", - "embarrassing", - "construction", - "intervention", - "conservative", - "specifically", - "unidentified", - "circumstance", - "constitution", - "increasingly", - "contribution", - "distribution", - "championship", - "contemporary", - "investigator", - "independence", - "manufacturer", - "presentation", - "occasionally", - "unemployment", - "introduction", - "intellectual", - "conventional", - "nevertheless", - "photographer", - "characterize", - "characterise", - "successfully", - "significance", - "commissioner", - "satisfaction", - "headquarters", - "announcement", - "interviewing", - "respectively", - "considerable", - "civilization", - "experimental", - "prescription", - "consistently", - "disappointed", - "thanksgiving", - "illustration", - "agricultural", - "surprisingly", - "psychologist", - "overwhelming", - "transmission", - "architecture", - "conservation", - "dramatically", - "surveillance", - "compensation", - "historically", - "entrepreneur", - "jurisdiction", - "productivity", - "registration", - "carbohydrate", - "practitioner", - "additionally", - "interpreting", - "transforming", - "availability", - "installation", - "appreciation", - "unbelievable", - "consequently", - "deliberately", - "illustrating", - "international", - "investigation", - "investigating", - "distinguished", - "environmental", - "communication", - "understanding", - "unfortunately", - "significantly", - "entertainment", - "approximately", - "consideration", - "participation", - "congressional", - "psychological", - "concentration", - "administrator", - "correspondent", - "establishment", - "extraordinary", - "comprehensive", - "consciousness", - "manufacturing", - "controversial", - "uncomfortable", - "automatically", - "demonstration", - "institutional", - "sophisticated", - "effectiveness", - "collaboration", - "advertisement", - "determination", - "technological", - "revolutionary", - "questionnaire", - "instructional", - "traditionally", - "inappropriate", - "unprecedented", - "developmental", - "philosophical", - "mother-in-law", - "sister-in-law", - "father-in-law", - "administration", - "responsibility", - "representative", - "characteristic", - "interpretation", - "transportation", - "recommendation", - "constitutional", - "representation", - "infrastructure", - "implementation", - "discrimination", - "identification", - "transformation", - "administrative", - "simultaneously", - "accomplishment", - "accountability", - "disappointment", - "brother-in-law", - "daughter-in-law", - "congratulations", - "misunderstanding" - ] -} diff --git a/packages/yoastseo/src/languageProcessing/languages/en/config/wordComplexity.js b/packages/yoastseo/src/languageProcessing/languages/en/config/wordComplexity.js index 4e1bbc672cf..bf3e0193f68 100644 --- a/packages/yoastseo/src/languageProcessing/languages/en/config/wordComplexity.js +++ b/packages/yoastseo/src/languageProcessing/languages/en/config/wordComplexity.js @@ -1,8 +1,5 @@ -import frequencyList from "./internal/frequencyList.json"; - // This is a config for the Word Complexity assessment. As such, this helper is not bundled in Yoast SEO. export default { - frequencyList: frequencyList.list, wordLength: 7, doesUpperCaseDecreaseComplexity: true, }; diff --git a/packages/yoastseo/src/languageProcessing/languages/en/helpers/checkIfWordIsComplex.js b/packages/yoastseo/src/languageProcessing/languages/en/helpers/checkIfWordIsComplex.js index a7158067f47..2d8429da0ee 100644 --- a/packages/yoastseo/src/languageProcessing/languages/en/helpers/checkIfWordIsComplex.js +++ b/packages/yoastseo/src/languageProcessing/languages/en/helpers/checkIfWordIsComplex.js @@ -7,13 +7,14 @@ const { buildFormRule, createRulesFromArrays } = languageProcessing; * * @param {object} config The configuration needed for assessing the word's complexity, e.g., the frequency list. * @param {string} word The word to check. - * @param {Object} [morphologyData] Optional morphology data. + * @param {object} premiumData The object that contains data for the assessment including the frequency list. * * @returns {boolean} Whether or not a word is complex. */ -export default function checkIfWordIsComplex( config, word, morphologyData ) { +export default function checkIfWordIsComplex( config, word, premiumData ) { const lengthLimit = config.wordLength; - const frequencyList = config.frequencyList; + const frequencyList = premiumData.frequencyList.list; + // Whether uppercased beginning of a word decreases its complexity. const doesUpperCaseDecreaseComplexity = config.doesUpperCaseDecreaseComplexity; @@ -33,8 +34,8 @@ export default function checkIfWordIsComplex( config, word, morphologyData ) { } // The word is not complex if its singular form is in the frequency list. - if ( morphologyData ) { - const singular = buildFormRule( word, createRulesFromArrays( morphologyData.nouns.regexNoun.singularize ) ); + if ( premiumData ) { + const singular = buildFormRule( word, createRulesFromArrays( premiumData.nouns.regexNoun.singularize ) ); return ! frequencyList.includes( singular ); } diff --git a/packages/yoastseo/src/languageProcessing/languages/es/config/internal/frequencyList.json b/packages/yoastseo/src/languageProcessing/languages/es/config/internal/frequencyList.json deleted file mode 100644 index bac1bf52fe9..00000000000 --- a/packages/yoastseo/src/languageProcessing/languages/es/config/internal/frequencyList.json +++ /dev/null @@ -1,3189 +0,0 @@ -{ - "source": "This list is taken from roughly the first 5000 words of this word list https://github.com/hermitdave/FrequencyWords/blob/master/content/2018/en/es_50k.txt. Some clean ups were also done, e.g. to remove pronouns", - "list": [ - "abandonado", - "abandonar", - "abandon\u00f3", - "abierta", - "abierto", - "abiertos", - "abogada", - "abogado", - "abogados", - "abrazo", - "abrigo", - "absolutamente", - "absoluto", - "absurdo", - "abuela", - "abuelo", - "aburrida", - "aburrido", - "acabado", - "acabamos", - "acaban", - "acabar", - "acabar\u00e1", - "acabas", - "academia", - "acceso", - "accidente", - "acciones", - "acci\u00f3n", - "aceite", - "acento", - "acepta", - "aceptado", - "aceptar", - "acepto", - "acerca", - "acostumbrado", - "actitud", - "actividad", - "actores", - "actriz", - "actuaci\u00f3n", - "actual", - "actualmente", - "actuando", - "actuar", - "acuerdas", - "acuerdo", - "acusaci\u00f3n", - "acusado", - "adecuada", - "adecuado", - "adelante", - "adem\u00e1s", - "adentro", - "adivina", - "adivinar", - "admitir", - "adolescente", - "adonde", - "adorable", - "adrian", - "adulto", - "adultos", - "advertencia", - "advierto", - "ad\u00f3nde", - "aeropuerto", - "afortunado", - "afuera", - "agarra", - "agencia", - "agenda", - "agente", - "agentes", - "agosto", - "agrada", - "agradable", - "agradecido", - "agradezco", - "aguanta", - "aguantar", - "agujero", - "alarma", - "albert", - "alcalde", - "alcance", - "alcanzar", - "alcohol", - "alegra", - "alegre", - "alegro", - "alegr\u00eda", - "alejado", - "alemanes", - "alemania", - "alem\u00e1n", - "alerta", - "alfombra", - "alguien", - "alguna", - "algunas", - "alguno", - "algunos", - "alianza", - "alicia", - "aliento", - "alimentos", - "alivio", - "allison", - "almac\u00e9n", - "almirante", - "almorzar", - "almuerzo", - "alquiler", - "alrededor", - "alternativa", - "alteza", - "altura", - "alumnos", - "al\u00e9jate", - "amable", - "amanda", - "amanecer", - "amante", - "amantes", - "amarillo", - "ambiente", - "ambulancia", - "amenaza", - "americana", - "americano", - "americanos", - "amigas", - "amigos", - "amistad", - "am\u00e9rica", - "anciano", - "andando", - "angela", - "anillo", - "animal", - "animales", - "aniversario", - "anoche", - "antecedentes", - "anterior", - "anteriormente", - "antiguo", - "antiguos", - "antonio", - "anuncio", - "an\u00e1lisis", - "apagar", - "aparece", - "aparecer", - "apareci\u00f3", - "aparentemente", - "apariencia", - "apartamento", - "aparte", - "apellido", - "apenas", - "apesta", - "apetece", - "apostar", - "aprecio", - "aprender", - "aprendido", - "aprend\u00ed", - "apropiado", - "aproximadamente", - "apuesta", - "apuestas", - "apuesto", - "ap\u00farate", - "aquella", - "aquello", - "aquellos", - "archivo", - "archivos", - "armada", - "armado", - "armario", - "arreglado", - "arreglar", - "arreglarlo", - "arreglo", - "arrestado", - "arresto", - "arriba", - "arruinado", - "arruinar", - "arthur", - "artista", - "artistas", - "art\u00edculo", - "art\u00edculos", - "asalto", - "ascensor", - "asegurar", - "asegurarme", - "aseguro", - "aseg\u00farate", - "asesina", - "asesinada", - "asesinado", - "asesinar", - "asesinato", - "asesinatos", - "asesino", - "asesinos", - "asesin\u00f3", - "asiento", - "asientos", - "asistente", - "asombroso", - "aspecto", - "asqueroso", - "asumir", - "asunto", - "asuntos", - "asusta", - "asustada", - "asustado", - "atacar", - "ataque", - "ataques", - "atenci\u00f3n", - "atender", - "atractiva", - "atractivo", - "atrapado", - "atrapados", - "atrapar", - "atreves", - "audiencia", - "aumento", - "aunque", - "autob\u00fas", - "autopsia", - "autoridad", - "autoridades", - "aut\u00e9ntico", - "auxilio", - "aventura", - "averiguar", - "averiguarlo", - "aviones", - "ayudado", - "ayudando", - "ayudante", - "ayudar", - "ayudarla", - "ayudarle", - "ayudarlo", - "ayudarme", - "ayudarnos", - "ayudarte", - "ayudar\u00e1", - "ayudar\u00e9", - "ayudar\u00eda", - "ayudas", - "ay\u00fadame", - "ay\u00fadenme", - "azules", - "az\u00facar", - "bailando", - "bailar", - "bajando", - "bancos", - "bandera", - "barato", - "barcos", - "barrio", - "bastante", - "bastardo", - "basura", - "batalla", - "bater\u00eda", - "batman", - "bebida", - "bebidas", - "bebido", - "bebiendo", - "belleza", - "bendici\u00f3n", - "bendiga", - "beneficio", - "beneficios", - "berl\u00edn", - "bestia", - "biblia", - "biblioteca", - "bicicleta", - "bienes", - "bienvenida", - "bienvenido", - "bienvenidos", - "billete", - "billetes", - "blanca", - "blanco", - "blancos", - "bolsas", - "bolsillo", - "bombas", - "bomberos", - "bonita", - "bonitas", - "bonito", - "borracha", - "borracho", - "bosque", - "boston", - "botella", - "botellas", - "brandon", - "brazos", - "brillante", - "brindis", - "brit\u00e1nico", - "bromas", - "bromeando", - "bromeas", - "brujas", - "buenas", - "buenos", - "buscaba", - "buscado", - "buscamos", - "buscan", - "buscando", - "buscar", - "buscarla", - "buscarlo", - "buscarte", - "buscar\u00e9", - "buscas", - "b\u00e1sicamente", - "b\u00e9isbol", - "b\u00fasqueda", - "caballero", - "caballeros", - "caballo", - "caballos", - "caba\u00f1a", - "cabello", - "cabeza", - "cabezas", - "cabina", - "cabr\u00f3n", - "cadena", - "cad\u00e1ver", - "cad\u00e1veres", - "cafeter\u00eda", - "calidad", - "caliente", - "calientes", - "california", - "callej\u00f3n", - "calles", - "camarada", - "camarero", - "cambia", - "cambiado", - "cambian", - "cambiando", - "cambiar", - "cambie", - "cambio", - "cambios", - "cambi\u00f3", - "camina", - "caminando", - "caminar", - "camino", - "caminos", - "camioneta", - "camisa", - "camiseta", - "cami\u00f3n", - "campamento", - "campa\u00f1a", - "campe\u00f3n", - "campos", - "canad\u00e1", - "canciones", - "canci\u00f3n", - "cansada", - "cansado", - "cantando", - "cantante", - "cantar", - "cantidad", - "capaces", - "capacidad", - "capital", - "capit\u00e1n", - "cap\u00edtulo", - "carajo", - "caramba", - "cargar", - "cargos", - "caridad", - "cari\u00f1o", - "carlos", - "caroline", - "carrera", - "carreras", - "carretera", - "carrie", - "cartas", - "cartel", - "carter", - "cartera", - "car\u00e1cter", - "casada", - "casado", - "casados", - "casarme", - "casarse", - "casarte", - "casino", - "castigo", - "castillo", - "casualidad", - "causado", - "causar", - "cayendo", - "cazador", - "celebrar", - "celosa", - "celoso", - "celular", - "cementerio", - "cenizas", - "centavo", - "centavos", - "central", - "centro", - "cercano", - "cerdos", - "cerebral", - "cerebro", - "ceremonia", - "cerrada", - "cerrado", - "cerrar", - "cerveza", - "cervezas", - "champ\u00e1n", - "chaqueta", - "charla", - "chaval", - "cheque", - "chicas", - "chicos", - "chinos", - "chiste", - "chocolate", - "cielos", - "ciencia", - "ciento", - "cientos", - "cient\u00edfico", - "cient\u00edficos", - "cierra", - "cierre", - "cierta", - "ciertamente", - "ciertas", - "cierto", - "ciertos", - "cigarrillo", - "cigarrillos", - "cincuenta", - "cintur\u00f3n", - "circunstancias", - "cirug\u00eda", - "cirujano", - "ciudad", - "ciudadano", - "ciudadanos", - "ciudades", - "civiles", - "claramente", - "clases", - "cliente", - "clientes", - "cl\u00e1sico", - "cl\u00ednica", - "coartada", - "cobarde", - "coca\u00edna", - "coches", - "cocina", - "cocinar", - "cogido", - "coincidencia", - "cojones", - "colecci\u00f3n", - "colega", - "colegas", - "colegio", - "colgar", - "colina", - "collar", - "colores", - "columna", - "comandante", - "combate", - "combinaci\u00f3n", - "combustible", - "comentarios", - "comenzar", - "comenz\u00f3", - "comercial", - "cometer", - "cometido", - "comida", - "comido", - "comiendo", - "comienza", - "comienzo", - "comisario", - "comisar\u00eda", - "comisi\u00f3n", - "comit\u00e9", - "compartir", - "compasi\u00f3n", - "compa\u00f1era", - "compa\u00f1ero", - "compa\u00f1eros", - "compa\u00f1\u00eda", - "competencia", - "complejo", - "completa", - "completamente", - "completo", - "complicado", - "comportamiento", - "compra", - "comprado", - "comprar", - "compras", - "comprender", - "comprendes", - "comprendo", - "comprobar", - "compromiso", - "compr\u00e9", - "compr\u00f3", - "computadora", - "comunicaci\u00f3n", - "comunidad", - "conciencia", - "concierto", - "concurso", - "condado", - "condena", - "condenado", - "condicional", - "condiciones", - "condici\u00f3n", - "conduce", - "conduciendo", - "conducir", - "conducta", - "conductor", - "conectado", - "conejo", - "conexi\u00f3n", - "conferencia", - "confesi\u00f3n", - "confianza", - "confiar", - "confundido", - "conf\u00eda", - "conf\u00edas", - "conf\u00edo", - "congreso", - "conjunto", - "conmigo", - "connor", - "conoce", - "conocemos", - "conocen", - "conocer", - "conocerla", - "conocerlo", - "conocerte", - "conoces", - "conocida", - "conocido", - "conocimiento", - "conocimos", - "conociste", - "conoci\u00f3", - "conoc\u00ed", - "conoc\u00eda", - "conozca", - "conozco", - "consciente", - "consecuencias", - "conseguido", - "conseguimos", - "conseguir", - "conseguirlo", - "conseguir\u00e9", - "conseguiste", - "consegu\u00ed", - "consejo", - "consejos", - "considera", - "considerado", - "considerando", - "considerar", - "consiga", - "consigo", - "consigue", - "consigues", - "consigui\u00f3", - "constantemente", - "construcci\u00f3n", - "construir", - "contacto", - "contactos", - "contado", - "contando", - "contar", - "contarle", - "contarme", - "contarte", - "contar\u00e9", - "contaste", - "contenta", - "contento", - "contesta", - "contestar", - "contigo", - "continuaci\u00f3n", - "continuar", - "contin\u00faa", - "contra", - "contrario", - "contrato", - "control", - "controlar", - "convencer", - "convencido", - "conversaci\u00f3n", - "convertido", - "convertir", - "convertirse", - "convierte", - "convirti\u00f3", - "cooper", - "copias", - "coraje", - "corazones", - "coraz\u00f3n", - "corbata", - "corona", - "coronel", - "correcta", - "correcto", - "corredor", - "correo", - "correr", - "corriendo", - "corriente", - "cortado", - "cortar", - "costado", - "costumbre", - "creado", - "crecer", - "crecido", - "creemos", - "creerlo", - "criatura", - "criaturas", - "crimen", - "criminal", - "criminales", - "crisis", - "cristal", - "cristo", - "cruzar", - "cr\u00e1neo", - "cr\u00e9dito", - "cr\u00e9eme", - "cr\u00edmenes", - "cuadro", - "cuales", - "cualquier", - "cualquiera", - "cuando", - "cuantas", - "cuanto", - "cuantos", - "cuarenta", - "cuartel", - "cuarto", - "cuatro", - "cubierta", - "cubierto", - "cubrir", - "cuchillo", - "cuello", - "cuenta", - "cuentas", - "cuente", - "cuento", - "cuerda", - "cuerpo", - "cuerpos", - "cuesta", - "cuesti\u00f3n", - "cuidado", - "cuidar", - "culpable", - "cultura", - "cumplea\u00f1os", - "cumplido", - "cumplir", - "curiosidad", - "curioso", - "custodia", - "cu\u00e1les", - "cu\u00e1ndo", - "cu\u00e1nta", - "cu\u00e1ntas", - "cu\u00e1nto", - "cu\u00e1ntos", - "cu\u00e9ntame", - "cu\u00eddate", - "c\u00e1llate", - "c\u00e1lmate", - "c\u00e1mara", - "c\u00e1maras", - "c\u00e1ncer", - "c\u00e1rcel", - "c\u00e9lulas", - "c\u00edrculo", - "c\u00f3digo", - "c\u00f3moda", - "c\u00f3modo", - "daniel", - "daremos", - "darles", - "darnos", - "debajo", - "debemos", - "deberes", - "deber\u00eda", - "deber\u00edamos", - "deber\u00edan", - "deber\u00edas", - "debido", - "debilidad", - "debiste", - "decente", - "decide", - "decidido", - "decidimos", - "decidir", - "decidi\u00f3", - "decid\u00ed", - "decimos", - "decirle", - "decirles", - "decirlo", - "decirme", - "decirnos", - "decirte", - "decisiones", - "decisi\u00f3n", - "declaraci\u00f3n", - "dec\u00edan", - "dec\u00edas", - "dec\u00edrmelo", - "dec\u00edrselo", - "dec\u00edrtelo", - "defender", - "defensa", - "definitivamente", - "dejaba", - "dejado", - "dejame", - "dejamos", - "dejando", - "dejara", - "dejaremos", - "dejarla", - "dejarlo", - "dejarme", - "dejaron", - "dejarte", - "dejar\u00e1", - "dejar\u00e9", - "dejar\u00eda", - "dejaste", - "dejemos", - "delante", - "delicioso", - "delito", - "demanda", - "demasiada", - "demasiadas", - "demasiado", - "demasiados", - "demonio", - "demonios", - "demostrar", - "demuestra", - "dennis", - "dentro", - "departamento", - "depende", - "deporte", - "deportes", - "deprisa", - "dep\u00f3sito", - "derecha", - "derecho", - "derechos", - "desafortunadamente", - "desaf\u00edo", - "desagradable", - "desaparece", - "desaparecer", - "desaparecido", - "desapareci\u00f3", - "desarrollo", - "desastre", - "desayunar", - "desayuno", - "descansa", - "descansar", - "descanso", - "desconocido", - "descripci\u00f3n", - "descubierto", - "descubrir", - "descubri\u00f3", - "descubr\u00ed", - "desear\u00eda", - "deseas", - "deseos", - "desesperado", - "desgracia", - "desgraciado", - "desierto", - "desnuda", - "desnudo", - "despacho", - "despacio", - "despedida", - "despedido", - "despejado", - "despertar", - "despert\u00e9", - "despierta", - "despierto", - "despues", - "despu\u00e9s", - "destino", - "destrucci\u00f3n", - "destruido", - "destruir", - "detalle", - "detalles", - "detective", - "detectives", - "detener", - "detenerlo", - "detenido", - "detente", - "detr\u00e1s", - "detuvo", - "deudas", - "devolver", - "diablo", - "diablos", - "diamantes", - "diario", - "dibujo", - "diciendo", - "dientes", - "dieron", - "diferencia", - "diferente", - "diferentes", - "dificil", - "dif\u00edcil", - "dif\u00edciles", - "digamos", - "dijera", - "dijeron", - "dijimos", - "dijiste", - "dinero", - "dioses", - "direcci\u00f3n", - "directa", - "directamente", - "directo", - "director", - "directora", - "dirige", - "dirigir", - "dir\u00edas", - "discos", - "disculpa", - "disculparme", - "disculpas", - "disculpe", - "disculpen", - "discurso", - "discusi\u00f3n", - "discutir", - "disc\u00falpame", - "disc\u00falpeme", - "dise\u00f1o", - "disfraz", - "disfruta", - "disfrutar", - "dispara", - "disparado", - "disparar", - "dispararon", - "disparen", - "disparo", - "disparos", - "dispar\u00f3", - "disponible", - "dispositivo", - "dispuesta", - "dispuesto", - "distancia", - "distinto", - "distrito", - "diversi\u00f3n", - "divertida", - "divertido", - "divisi\u00f3n", - "divorcio", - "docena", - "doctor", - "doctora", - "doctores", - "documento", - "documentos", - "domingo", - "dormida", - "dormido", - "dormir", - "dormitorio", - "drag\u00f3n", - "drogas", - "duerme", - "dulces", - "durante", - "durmiendo", - "d\u00e1melo", - "d\u00e9jala", - "d\u00e9jalo", - "d\u00e9jame", - "d\u00e9jeme", - "d\u00e9jenme", - "d\u00edgale", - "d\u00edgame", - "d\u00edmelo", - "d\u00edselo", - "d\u00f3lares", - "echado", - "econom\u00eda", - "edificio", - "edificios", - "educaci\u00f3n", - "edward", - "ee.uu.", - "efectivo", - "efecto", - "efectos", - "ego\u00edsta", - "ejemplo", - "ejercicio", - "ej\u00e9rcito", - "elecciones", - "elecci\u00f3n", - "electricidad", - "elegante", - "elegido", - "elegir", - "eligi\u00f3", - "eliminar", - "elliot", - "el\u00e9ctrica", - "embajador", - "embarazada", - "embargo", - "emergencia", - "emocionado", - "emocional", - "emocionante", - "emociones", - "emoci\u00f3n", - "empecemos", - "empec\u00e9", - "emperador", - "empezado", - "empezamos", - "empezando", - "empezar", - "empezaron", - "empez\u00f3", - "empiece", - "empieces", - "empieza", - "empiezan", - "empiezas", - "empiezo", - "empleado", - "empleados", - "empleo", - "empresa", - "empresas", - "enamorada", - "enamorado", - "encanta", - "encantada", - "encantado", - "encantador", - "encantadora", - "encantan", - "encantar\u00eda", - "encanto", - "encargado", - "encargar\u00e9", - "encargo", - "encerrado", - "encima", - "encontrado", - "encontramos", - "encontrar", - "encontraremos", - "encontrarla", - "encontrarlo", - "encontrarme", - "encontraron", - "encontrarte", - "encontrar\u00e1", - "encontrar\u00e1s", - "encontrar\u00e9", - "encontraste", - "encontremos", - "encontr\u00e9", - "encontr\u00f3", - "encuentra", - "encuentran", - "encuentras", - "encuentre", - "encuentren", - "encuentro", - "enemigo", - "enemigos", - "energ\u00eda", - "enfadada", - "enfadado", - "enferma", - "enfermedad", - "enfermedades", - "enfermera", - "enfermo", - "enfermos", - "enfrentar", - "enfrente", - "enga\u00f1ado", - "enga\u00f1ar", - "enga\u00f1o", - "enhorabuena", - "enojada", - "enojado", - "enorme", - "enormes", - "ensalada", - "ensayo", - "enseguida", - "ense\u00f1ar", - "ense\u00f1arte", - "ense\u00f1ar\u00e9", - "ense\u00f1\u00f3", - "entender", - "entenderlo", - "entendido", - "entendiste", - "entend\u00ed", - "entera", - "enterado", - "entero", - "enterrado", - "enter\u00e9", - "entiende", - "entienden", - "entiendes", - "entiendo", - "entonces", - "entrada", - "entradas", - "entrado", - "entramos", - "entrando", - "entrar", - "entrega", - "entregar", - "entren", - "entrenador", - "entrenamiento", - "entrevista", - "enviado", - "enviar", - "enviaron", - "enviar\u00e9", - "episodio", - "equipaje", - "equipo", - "equipos", - "equivocada", - "equivocado", - "equivocas", - "errores", - "escala", - "escalera", - "escaleras", - "escapado", - "escapar", - "escape", - "escap\u00f3", - "escena", - "escenario", - "esclavos", - "escoger", - "esconder", - "escondido", - "escribe", - "escribiendo", - "escribir", - "escribi\u00f3", - "escrib\u00ed", - "escrito", - "escritor", - "escritorio", - "escuadr\u00f3n", - "escucha", - "escuchado", - "escuchando", - "escuchar", - "escucharme", - "escuchas", - "escuchaste", - "escuche", - "escuchen", - "escucho", - "escuch\u00e9", - "escuch\u00f3", - "escuela", - "esc\u00e1ndalo", - "esc\u00fachame", - "esfuerzo", - "espacial", - "espacio", - "espada", - "espalda", - "espaldas", - "espa\u00f1a", - "espa\u00f1ol", - "especial", - "especiales", - "especialmente", - "especie", - "espect\u00e1culo", - "espejo", - "espera", - "esperaba", - "esperad", - "esperado", - "esperamos", - "esperan", - "esperando", - "esperanza", - "esperanzas", - "esperar", - "esperar\u00e9", - "esperas", - "espere", - "esperemos", - "esperen", - "espero", - "esposa", - "esposas", - "esposo", - "esp\u00e9rame", - "esp\u00edritu", - "esp\u00edritus", - "esquina", - "estaba", - "estaban", - "estabas", - "estable", - "estacionamiento", - "estaci\u00f3n", - "estado", - "estados", - "estadounidense", - "estadounidenses", - "estamos", - "estando", - "estaremos", - "estar\u00e1", - "estar\u00e1n", - "estar\u00e1s", - "estar\u00e9", - "estar\u00eda", - "estar\u00edamos", - "estar\u00edas", - "estemos", - "estilo", - "estrategia", - "estrella", - "estrellas", - "estructura", - "estr\u00e9s", - "estudiando", - "estudiante", - "estudiantes", - "estudiar", - "estudio", - "estudios", - "estupenda", - "estupendo", - "estupidez", - "estuve", - "estuviera", - "estuvieras", - "estuvieron", - "estuvimos", - "estuviste", - "estuvo", - "est\u00e1bamos", - "est\u00e1is", - "est\u00f3mago", - "est\u00fapida", - "est\u00fapido", - "est\u00fapidos", - "eternidad", - "europa", - "evento", - "eventos", - "evidencia", - "evitar", - "evitarlo", - "exactamente", - "exacto", - "examen", - "excelencia", - "excelente", - "excepto", - "excusa", - "existe", - "existen", - "existencia", - "expediente", - "experiencia", - "experimento", - "experto", - "explica", - "explicaci\u00f3n", - "explicar", - "explicarlo", - "explosi\u00f3n", - "explotar", - "exposici\u00f3n", - "expresi\u00f3n", - "exterior", - "extranjero", - "extraordinario", - "extra\u00f1a", - "extra\u00f1as", - "extra\u00f1o", - "extra\u00f1os", - "extremadamente", - "extremo", - "ex\u00e1menes", - "fabuloso", - "faltan", - "familia", - "familiar", - "familiares", - "familias", - "famosa", - "famoso", - "fantasma", - "fantasmas", - "fantas\u00eda", - "fant\u00e1stica", - "fant\u00e1stico", - "fascinante", - "favorita", - "favorito", - "federal", - "federales", - "felices", - "felicidad", - "felicidades", - "felicitaciones", - "festival", - "fianza", - "fiebre", - "fiesta", - "fiestas", - "figura", - "finales", - "finalmente", - "fingir", - "firmado", - "firmar", - "fiscal", - "flores", - "fondos", - "forense", - "formar", - "formas", - "fortuna", - "fotograf\u00eda", - "fotograf\u00edas", - "fracaso", - "francamente", - "francesa", - "franceses", - "francia", - "francis", - "francos", - "franc\u00e9s", - "fraude", - "frecuencia", - "frente", - "fresca", - "fresco", - "frontera", - "fuente", - "fueran", - "fueras", - "fueron", - "fuerte", - "fuertes", - "fuerza", - "fuerzas", - "fuimos", - "fuiste", - "funciona", - "funcionan", - "funcionando", - "funcionar", - "funcionar\u00e1", - "funcione", - "funcion\u00f3", - "funci\u00f3n", - "funeral", - "furgoneta", - "futuro", - "f\u00e1brica", - "f\u00e1cilmente", - "f\u00edjate", - "f\u00edsica", - "f\u00edsico", - "f\u00fatbol", - "galletas", - "gallina", - "ganado", - "ganador", - "ganamos", - "ganando", - "garaje", - "garganta", - "gasolina", - "gastar", - "gastos", - "generaci\u00f3n", - "general", - "generoso", - "genial", - "geniales", - "gerente", - "gigante", - "gilipollas", - "gimnasio", - "gobernador", - "gobierno", - "golpea", - "golpeado", - "golpear", - "golpes", - "golpe\u00f3", - "gordon", - "grabaci\u00f3n", - "gracia", - "gracias", - "graciosa", - "gracioso", - "grados", - "graduaci\u00f3n", - "grande", - "grandes", - "grandioso", - "granja", - "gratis", - "gravedad", - "gritando", - "gritar", - "gritos", - "grupos", - "guantes", - "guarda", - "guardar", - "guardia", - "guardias", - "guerra", - "guerrero", - "guitarra", - "gustaba", - "gustado", - "gustan", - "gustar", - "gustar\u00e1", - "gustar\u00eda", - "gustas", - "haberla", - "haberle", - "haberlo", - "haberme", - "haberse", - "haberte", - "habido", - "habilidad", - "habilidades", - "habitaciones", - "habitaci\u00f3n", - "habitual", - "hablaba", - "hablado", - "hablamos", - "hablan", - "hablando", - "hablar", - "hablaremos", - "hablarle", - "hablarme", - "hablarte", - "hablar\u00e9", - "hablas", - "hablaste", - "hablemos", - "hables", - "habr\u00e1n", - "habr\u00eda", - "habr\u00edan", - "habr\u00edas", - "hab\u00e9is", - "hab\u00edamos", - "hab\u00edan", - "hab\u00edas", - "hacemos", - "hacerla", - "hacerle", - "hacerlo", - "hacerme", - "hacernos", - "hacerse", - "hacerte", - "haciendo", - "haci\u00e9ndolo", - "hac\u00e9is", - "hac\u00edan", - "hac\u00edas", - "hagamos", - "hag\u00e1moslo", - "hallar", - "hambre", - "hannah", - "haremos", - "har\u00edan", - "har\u00edas", - "hayamos", - "hechizo", - "hechos", - "helado", - "helic\u00f3ptero", - "herida", - "heridas", - "herido", - "heridos", - "hermana", - "hermanas", - "hermano", - "hermanos", - "hermosa", - "hermosas", - "hermoso", - "hero\u00edna", - "herramientas", - "hiciera", - "hicieras", - "hicieron", - "hicimos", - "hiciste", - "hierba", - "hierro", - "historia", - "historial", - "historias", - "hollywood", - "holmes", - "hombre", - "hombres", - "hombro", - "hombros", - "homicidio", - "honesta", - "honestamente", - "honesto", - "horario", - "horrible", - "horribles", - "hospital", - "howard", - "hubiera", - "hubieran", - "hubieras", - "hubiese", - "hubi\u00e9ramos", - "huella", - "huellas", - "huesos", - "huevos", - "humana", - "humanidad", - "humano", - "humanos", - "huyendo", - "h\u00e1blame", - "h\u00e9roes", - "h\u00edgado", - "identidad", - "identificaci\u00f3n", - "identificar", - "idioma", - "idiota", - "idiotas", - "iglesia", - "iguales", - "igualmente", - "ilegal", - "imagen", - "imagina", - "imaginaci\u00f3n", - "imaginar", - "imaginas", - "imagino", - "imagin\u00e9", - "imb\u00e9cil", - "impacto", - "imperio", - "importa", - "importaba", - "importan", - "importancia", - "importante", - "importantes", - "importar", - "importar\u00eda", - "importe", - "imposible", - "impresionante", - "impresi\u00f3n", - "impuestos", - "im\u00e1genes", - "incendio", - "incidente", - "incluso", - "incluyendo", - "inconsciente", - "incre\u00edble", - "incre\u00edblemente", - "inc\u00f3modo", - "indica", - "indios", - "industria", - "infancia", - "infantil", - "infeliz", - "infierno", - "influencia", - "informaci\u00f3n", - "informado", - "informar", - "informe", - "informes", - "ingeniero", - "inglaterra", - "ingl\u00e9s", - "inmediatamente", - "inmediato", - "inmunidad", - "inocente", - "inocentes", - "inspector", - "instante", - "instinto", - "instituto", - "instrucciones", - "inteligencia", - "inteligente", - "intenciones", - "intenci\u00f3n", - "intenta", - "intentaba", - "intentado", - "intentamos", - "intentando", - "intentar", - "intentarlo", - "intentar\u00e9", - "intentas", - "intente", - "intento", - "intent\u00e9", - "intent\u00f3", - "interesa", - "interesada", - "interesado", - "interesante", - "intereses", - "interior", - "internacional", - "internet", - "interrumpir", - "inter\u00e9s", - "int\u00e9ntalo", - "investigaci\u00f3n", - "investigando", - "investigar", - "invierno", - "invisible", - "invitaci\u00f3n", - "invitado", - "invitados", - "invito", - "invit\u00f3", - "involucrado", - "in\u00fatil", - "iremos", - "italia", - "italiano", - "izquierda", - "izquierdo", - "japoneses", - "jard\u00edn", - "jesucristo", - "jodida", - "jodido", - "jud\u00edos", - "juegos", - "jueves", - "jugada", - "jugador", - "jugadores", - "jugando", - "juguete", - "juguetes", - "juicio", - "julian", - "junior", - "juntas", - "juntos", - "jurado", - "justicia", - "juventud", - "juzgado", - "juzgar", - "j\u00f3venes", - "kil\u00f3metros", - "labios", - "laboratorio", - "ladrones", - "ladr\u00f3n", - "lamento", - "lanzamiento", - "lanzar", - "largas", - "lauren", - "lealtad", - "lecci\u00f3n", - "lectura", - "lengua", - "lenguaje", - "lentamente", - "leonard", - "letras", - "levanta", - "levantar", - "lev\u00e1ntate", - "leyenda", - "leyendo", - "liberar", - "libertad", - "libras", - "libres", - "libros", - "licencia", - "lidiar", - "limpia", - "limpiar", - "limpieza", - "limpio", - "lincoln", - "listas", - "listos", - "literalmente", - "llamaba", - "llamada", - "llamadas", - "llamado", - "llamamos", - "llaman", - "llamando", - "llamar", - "llamarlo", - "llamarme", - "llamaron", - "llamarte", - "llamar\u00e9", - "llamas", - "llamaste", - "llamen", - "llames", - "llaves", - "llegada", - "llegado", - "llegamos", - "llegan", - "llegando", - "llegar", - "llegaremos", - "llegaron", - "llegar\u00e1", - "llegas", - "llegaste", - "llegue", - "lleguemos", - "lleguen", - "llegu\u00e9", - "llenar", - "llevaba", - "llevado", - "llevamos", - "llevan", - "llevando", - "llevar", - "llevaremos", - "llevarla", - "llevarlo", - "llevarme", - "llevaron", - "llevarte", - "llevar\u00e1", - "llevar\u00e9", - "llevas", - "lleven", - "llorando", - "llorar", - "llores", - "lluvia", - "ll\u00e1mame", - "ll\u00e9vame", - "locales", - "locura", - "logrado", - "logramos", - "lograr", - "londres", - "luchando", - "luchar", - "lugares", - "l\u00e1grimas", - "l\u00e1rgate", - "l\u00e1stima", - "l\u00edmite", - "l\u00edmites", - "l\u00edneas", - "l\u00f3gica", - "madame", - "madera", - "madres", - "maestra", - "maestro", - "maggie", - "magn\u00edfico", - "majestad", - "malcolm", - "maldici\u00f3n", - "maldita", - "malditas", - "maldito", - "malditos", - "maleta", - "maletas", - "malvado", - "mandar", - "manejar", - "manera", - "maneras", - "mantener", - "mantenerlo", - "mantenga", - "mantente", - "mantequilla", - "mantiene", - "mant\u00e9n", - "manzana", - "manzanas", - "maquillaje", - "maravilla", - "maravillosa", - "maravilloso", - "marcas", - "marcha", - "marchar", - "marcus", - "margaret", - "marido", - "marihuana", - "marina", - "marshall", - "martes", - "martha", - "martin", - "matado", - "matando", - "matarla", - "matarlo", - "matarme", - "mataron", - "matarte", - "matar\u00e1", - "matar\u00e9", - "matar\u00eda", - "mataste", - "matem\u00e1ticas", - "materia", - "material", - "matrimonio", - "matthew", - "mayores", - "mayor\u00eda", - "ma\u00f1ana", - "medianoche", - "medias", - "medicina", - "medida", - "medidas", - "mediod\u00eda", - "medios", - "mejorar", - "mejores", - "memoria", - "mencionar", - "mencion\u00f3", - "menores", - "mensaje", - "mensajes", - "mental", - "mentes", - "mentido", - "mentir", - "mentira", - "mentiras", - "mentiroso", - "mentiste", - "menudo", - "mercado", - "merece", - "mereces", - "merezco", - "metido", - "metros", - "mezcla", - "miembro", - "miembros", - "miente", - "mientras", - "mierda", - "milagro", - "militar", - "militares", - "millas", - "miller", - "millones", - "mill\u00f3n", - "ministerio", - "ministro", - "mintiendo", - "minti\u00f3", - "minuto", - "minutos", - "miraba", - "mirada", - "mirando", - "miserable", - "misi\u00f3n", - "mismas", - "mismos", - "misterio", - "mi\u00e9rcoles", - "modelo", - "molesta", - "molestar", - "moleste", - "molestia", - "molesto", - "momento", - "momentos", - "moneda", - "monedas", - "monsieur", - "monstruo", - "monstruos", - "montar", - "monta\u00f1a", - "monta\u00f1as", - "mont\u00f3n", - "morgan", - "morir\u00e1", - "mortal", - "mostrar", - "mostrarte", - "mostrar\u00e9", - "motivo", - "motivos", - "moverse", - "moviendo", - "movimiento", - "movimientos", - "muchacha", - "muchacho", - "muchachos", - "muchas", - "muchos", - "much\u00edsimo", - "muebles", - "muelle", - "mueren", - "muerta", - "muerte", - "muertes", - "muerto", - "muertos", - "muestra", - "muestras", - "muevas", - "mujeres", - "multitud", - "mundial", - "muriendo", - "murieron", - "musical", - "mu\u00e9strame", - "mu\u00e9vanse", - "mu\u00e9vete", - "mu\u00f1eca", - "m\u00e1gico", - "m\u00e1quina", - "m\u00e1quinas", - "m\u00e1scara", - "m\u00e1xima", - "m\u00e1ximo", - "m\u00e9dica", - "m\u00e9dico", - "m\u00e9dicos", - "m\u00e9xico", - "m\u00ednimo", - "m\u00edralo", - "m\u00edrame", - "m\u00edrate", - "m\u00fasica", - "nacido", - "nacimiento", - "nacional", - "naci\u00f3n", - "naranja", - "narices", - "natural", - "naturaleza", - "naturalmente", - "navidad", - "necesario", - "necesidad", - "necesidades", - "necesita", - "necesitaba", - "necesitamos", - "necesitan", - "necesitar", - "necesitaremos", - "necesitar\u00e9", - "necesitas", - "necesite", - "necesites", - "necesito", - "negativo", - "negociar", - "negocio", - "negocios", - "negros", - "nervios", - "nerviosa", - "nervioso", - "ninguna", - "ninguno", - "ning\u00fan", - "niveles", - "ni\u00f1era", - "noches", - "nombre", - "nombres", - "normal", - "normales", - "normalmente", - "norman", - "normas", - "nosotras", - "nosotros", - "notado", - "noticia", - "noticias", - "novela", - "noviembre", - "nuclear", - "nuestra", - "nuestras", - "nuestro", - "nuestros", - "nuevamente", - "nuevas", - "nuevos", - "n\u00famero", - "n\u00fameros", - "objetivo", - "objeto", - "objetos", - "obligado", - "obtener", - "obviamente", - "ocasi\u00f3n", - "octubre", - "ocultar", - "ocupada", - "ocupado", - "ocupados", - "ocurra", - "ocurre", - "ocurrido", - "ocurriendo", - "ocurrir", - "ocurri\u00f3", - "oc\u00e9ano", - "odiaba", - "oferta", - "oficial", - "oficiales", - "oficialmente", - "oficina", - "ofrece", - "ofrecer", - "ofreci\u00f3", - "olvida", - "olvidado", - "olvidar", - "olvidar\u00e9", - "olvidaste", - "olvide", - "olvides", - "olvido", - "olvid\u00e9", - "olvid\u00f3", - "olv\u00eddalo", - "olv\u00eddate", - "opciones", - "opci\u00f3n", - "operaciones", - "operaci\u00f3n", - "opinas", - "opini\u00f3n", - "oportunidad", - "oportunidades", - "ordenador", - "orden\u00f3", - "orejas", - "organizaci\u00f3n", - "orgullo", - "orgullosa", - "orgulloso", - "origen", - "original", - "oscura", - "oscuridad", - "oscuro", - "ox\u00edgeno", - "paciencia", - "paciente", - "pacientes", - "padres", - "pagado", - "pagando", - "pagar\u00e9", - "palabra", - "palabras", - "palacio", - "paliza", - "pandilla", - "pantalla", - "pantalones", - "papeles", - "paquete", - "parada", - "parado", - "para\u00edso", - "parece", - "parecen", - "parecer", - "pareces", - "parecido", - "pareci\u00f3", - "parec\u00eda", - "paredes", - "pareja", - "parejas", - "parezca", - "parezco", - "parker", - "parque", - "partes", - "participar", - "particular", - "partida", - "partido", - "partir", - "pasaba", - "pasada", - "pasado", - "pasajeros", - "pasamos", - "pasando", - "pasaporte", - "pasara", - "pasaron", - "pasar\u00e1", - "pasar\u00eda", - "pasaste", - "pasillo", - "pasi\u00f3n", - "pastel", - "pastillas", - "pastor", - "patatas", - "patrulla", - "patr\u00f3n", - "pat\u00e9tico", - "payaso", - "pa\u00edses", - "pecado", - "pecados", - "pechos", - "pedazo", - "pedazos", - "pedido", - "pedimos", - "pedirle", - "pedirte", - "pedir\u00e9", - "pediste", - "peleando", - "pelear", - "peleas", - "peligro", - "peligrosa", - "peligroso", - "pelota", - "pelotas", - "pel\u00edcula", - "pel\u00edculas", - "pensaba", - "pensabas", - "pensado", - "pensamiento", - "pensamientos", - "pensamos", - "pensando", - "pensar", - "pensarlo", - "pensaste", - "peores", - "peque\u00f1a", - "peque\u00f1as", - "peque\u00f1o", - "peque\u00f1os", - "perdedor", - "perder", - "perdida", - "perdido", - "perdidos", - "perdiendo", - "perdimos", - "perdiste", - "perdi\u00f3", - "perdona", - "perdone", - "perd\u00f3n", - "perd\u00f3name", - "perd\u00f3neme", - "perfecta", - "perfectamente", - "perfecto", - "perfil", - "periodista", - "peri\u00f3dico", - "peri\u00f3dicos", - "permanecer", - "permiso", - "permite", - "permitido", - "permitir", - "perm\u00edtame", - "perros", - "persona", - "personaje", - "personajes", - "personal", - "personales", - "personalidad", - "personalmente", - "personas", - "pertenece", - "per\u00edodo", - "pesadilla", - "pesado", - "pescado", - "pescar", - "petici\u00f3n", - "petr\u00f3leo", - "pidiendo", - "piedad", - "piedra", - "piedras", - "piensa", - "piensan", - "piensas", - "piense", - "pienses", - "pienso", - "pierdas", - "pierde", - "pierdes", - "pierdo", - "pierna", - "piernas", - "piezas", - "piloto", - "pintar", - "pintura", - "piscina", - "pistas", - "pistola", - "pi\u00e9nsalo", - "placer", - "planeado", - "planeando", - "planes", - "planeta", - "planta", - "plantas", - "platos", - "pl\u00e1stico", - "poblaci\u00f3n", - "pobres", - "podamos", - "podemos", - "poderes", - "poderosa", - "poderoso", - "podido", - "podremos", - "podria", - "podr\u00e1n", - "podr\u00e1s", - "podr\u00eda", - "podr\u00edamos", - "podr\u00edan", - "podr\u00edas", - "pod\u00e9is", - "pod\u00edamos", - "pod\u00edan", - "pod\u00edas", - "policia", - "policial", - "polic\u00eda", - "polic\u00edas", - "pol\u00edtica", - "pol\u00edtico", - "pol\u00edticos", - "pondr\u00e1", - "pondr\u00e9", - "ponemos", - "ponerle", - "ponerlo", - "ponerme", - "ponerse", - "ponerte", - "pongan", - "pongas", - "poniendo", - "popular", - "poquito", - "porque", - "porquer\u00eda", - "porqu\u00e9", - "posesi\u00f3n", - "posibilidad", - "posibilidades", - "posible", - "posiblemente", - "posici\u00f3n", - "positivo", - "postre", - "potencia", - "potencial", - "practicar", - "precio", - "preciosa", - "precioso", - "precisamente", - "preciso", - "preferir\u00eda", - "prefiere", - "prefieres", - "prefiero", - "pregunta", - "preguntaba", - "preguntado", - "preguntando", - "preguntar", - "preguntarle", - "preguntarte", - "preguntas", - "pregunte", - "preguntes", - "pregunto", - "pregunt\u00e9", - "pregunt\u00f3", - "preg\u00fantale", - "premio", - "prensa", - "preocupa", - "preocupaci\u00f3n", - "preocupada", - "preocupado", - "preocuparse", - "preocuparte", - "preocupe", - "preocupes", - "prepara", - "preparada", - "preparado", - "preparados", - "preparando", - "preparar", - "prep\u00e1rate", - "presencia", - "presenta", - "presentaci\u00f3n", - "presentar", - "presente", - "presento", - "present\u00f3", - "presidente", - "presi\u00f3n", - "prestado", - "presupuesto", - "primavera", - "primer", - "primera", - "primeras", - "primero", - "primeros", - "princesa", - "principal", - "principio", - "principios", - "prioridad", - "prisionero", - "prisioneros", - "prisi\u00f3n", - "privada", - "privado", - "probable", - "probablemente", - "probado", - "probar", - "probarlo", - "problema", - "problemas", - "procedimiento", - "proceso", - "producci\u00f3n", - "producto", - "productor", - "productos", - "profesional", - "profesionales", - "profesi\u00f3n", - "profesor", - "profesora", - "profunda", - "profundamente", - "profundo", - "programa", - "progreso", - "prohibido", - "promesa", - "prometida", - "prometido", - "prometiste", - "prometi\u00f3", - "prometo", - "promet\u00ed", - "pronto", - "propia", - "propias", - "propiedad", - "propietario", - "propio", - "propios", - "propuesta", - "prop\u00f3sito", - "prostituta", - "protecci\u00f3n", - "proteger", - "proyecto", - "prueba", - "pruebas", - "pr\u00e1ctica", - "pr\u00e1cticamente", - "pr\u00e9stamo", - "pr\u00edncipe", - "pr\u00f3xima", - "pr\u00f3ximo", - "pr\u00f3ximos", - "psiquiatra", - "publicidad", - "pudiera", - "pudieras", - "pudieron", - "pudimos", - "pudiste", - "pudi\u00e9ramos", - "pueblo", - "puedan", - "puedas", - "pueden", - "puedes", - "puente", - "puerta", - "puertas", - "puerto", - "puesta", - "puesto", - "puestos", - "pulmones", - "puntos", - "pusieron", - "pusiste", - "p\u00e1gina", - "p\u00e1ginas", - "p\u00e1jaro", - "p\u00e1jaros", - "p\u00e1nico", - "p\u00e9rdida", - "p\u00fablica", - "p\u00fablico", - "quedaba", - "quedado", - "quedamos", - "quedan", - "quedar", - "quedarme", - "quedarnos", - "quedarse", - "quedarte", - "quedar\u00e1", - "quedar\u00e9", - "quedas", - "quedes", - "quemado", - "quemar", - "queremos", - "querer", - "queria", - "querida", - "querido", - "queridos", - "querr\u00e1", - "querr\u00e1s", - "querr\u00eda", - "querr\u00edas", - "quer\u00e9is", - "quer\u00eda", - "quer\u00edamos", - "quer\u00edan", - "quer\u00edas", - "quienes", - "quiera", - "quieran", - "quieras", - "quiere", - "quieren", - "quieres", - "quiero", - "quieto", - "quince", - "quisiera", - "quisieras", - "quitar", - "quizas", - "quiz\u00e1s", - "qui\u00e9nes", - "qu\u00e9date", - "qu\u00e9dense", - "qu\u00e9dese", - "qu\u00edmica", - "qu\u00edtate", - "radiaci\u00f3n", - "rastro", - "razonable", - "razones", - "reacci\u00f3n", - "reales", - "realidad", - "realizar", - "realmente", - "recepci\u00f3n", - "receta", - "recibe", - "recibido", - "recibiendo", - "recibir", - "recibi\u00f3", - "recibo", - "recib\u00ed", - "reciente", - "recientemente", - "reci\u00e9n", - "recoger", - "recompensa", - "reconoce", - "reconocer", - "reconocimiento", - "reconozco", - "recordar", - "recuerda", - "recuerdas", - "recuerde", - "recuerden", - "recuerdo", - "recuerdos", - "recuperar", - "recursos", - "refer\u00eda", - "refiere", - "refieres", - "refiero", - "refuerzos", - "refugio", - "regalo", - "regalos", - "registro", - "registros", - "regi\u00f3n", - "reglas", - "regresa", - "regresado", - "regresar", - "regresar\u00e9", - "regrese", - "regreso", - "regres\u00f3", - "rehenes", - "relacionado", - "relaciones", - "relaci\u00f3n", - "religi\u00f3n", - "rel\u00e1jate", - "remedio", - "renunciar", - "repente", - "repito", - "reporte", - "representa", - "representante", - "reputaci\u00f3n", - "requiere", - "rescate", - "reserva", - "residencia", - "resistencia", - "resolver", - "respecto", - "respeto", - "respira", - "respiraci\u00f3n", - "respirar", - "responde", - "responder", - "responsabilidad", - "responsable", - "respuesta", - "respuestas", - "restaurante", - "restos", - "resuelto", - "resulta", - "resultado", - "resultados", - "result\u00f3", - "retiro", - "retraso", - "reuniones", - "reuni\u00f3n", - "reverendo", - "revisar", - "revista", - "revoluci\u00f3n", - "rid\u00edculo", - "riesgo", - "riesgos", - "robado", - "robando", - "robaron", - "robaste", - "robert", - "rodillas", - "romance", - "romper", - "rompi\u00f3", - "rom\u00e1ntico", - "rostro", - "ruedas", - "rumores", - "rutina", - "r\u00e1pida", - "r\u00e1pidamente", - "r\u00e1pido", - "sabemos", - "saberlo", - "sabido", - "sabiendo", - "sabremos", - "sabr\u00e1s", - "sabr\u00eda", - "sab\u00e9is", - "sab\u00edamos", - "sab\u00edan", - "sab\u00edas", - "sacado", - "sacarlo", - "sacarte", - "sacaste", - "sacerdote", - "sacrificio", - "sagrado", - "saldr\u00e1", - "salgamos", - "salgan", - "salgas", - "salida", - "salido", - "saliendo", - "salieron", - "salimos", - "saliste", - "saltar", - "saludable", - "saludos", - "salvado", - "salvaje", - "salvajes", - "salvar", - "sangrando", - "sangre", - "santos", - "sargento", - "seamos", - "secci\u00f3n", - "secreta", - "secretaria", - "secretario", - "secreto", - "secretos", - "sector", - "secuestro", - "secundaria", - "seguido", - "seguimos", - "seguir", - "seguir\u00e1", - "seguir\u00e9", - "segunda", - "segundo", - "segundos", - "segura", - "seguramente", - "seguridad", - "seguro", - "seguros", - "segu\u00eda", - "semana", - "semanas", - "senador", - "sencillo", - "sensaci\u00f3n", - "sensible", - "sentada", - "sentado", - "sentados", - "sentarme", - "sentarse", - "sentarte", - "sentencia", - "sentido", - "sentimiento", - "sentimientos", - "sentimos", - "sentir", - "sentirme", - "sentirse", - "sent\u00eda", - "separados", - "septiembre", - "seremos", - "serpiente", - "servicio", - "servicios", - "servir", - "servir\u00e1", - "ser\u00edan", - "ser\u00edas", - "sesi\u00f3n", - "sexual", - "sexuales", - "se\u00f1ales", - "se\u00f1ora", - "se\u00f1oras", - "se\u00f1ores", - "se\u00f1orita", - "se\u00f1oritas", - "se\u00f1or\u00eda", - "sheriff", - "siempre", - "siendo", - "sienta", - "sientas", - "siente", - "sienten", - "sientes", - "siento", - "sigamos", - "siglos", - "significa", - "significado", - "signos", - "siguen", - "sigues", - "siguiendo", - "siguiente", - "sigui\u00f3", - "silencio", - "similar", - "simple", - "simplemente", - "sinceramente", - "sincero", - "sinti\u00f3", - "siquiera", - "sistema", - "sistemas", - "sitios", - "situaci\u00f3n", - "si\u00e9ntate", - "si\u00e9ntese", - "sobrevivir", - "sobrina", - "sobrino", - "social", - "sociales", - "sociedad", - "socios", - "socorro", - "solamente", - "soldado", - "soldados", - "solicitud", - "solitario", - "soltera", - "soltero", - "soluci\u00f3n", - "sombra", - "sombras", - "sombrero", - "sonido", - "sonrisa", - "sonr\u00ede", - "sophie", - "soportar", - "soporto", - "sorprende", - "sorprendente", - "sorprendido", - "sorpresa", - "sospecha", - "sospechoso", - "sospechosos", - "so\u00f1ando", - "subiendo", - "subt\u00edtulos", - "suceda", - "sucede", - "suceder", - "suceder\u00e1", - "sucedido", - "sucediendo", - "sucedi\u00f3", - "sueldo", - "suelta", - "suerte", - "sue\u00f1os", - "suficiente", - "suficientemente", - "suficientes", - "sufrido", - "sufrimiento", - "sufrir", - "sugiero", - "suicidio", - "sujeto", - "superar", - "superficie", - "superior", - "supiera", - "supieras", - "supiste", - "supone", - "supongo", - "supon\u00eda", - "supuesto", - "su\u00e9ltame", - "s\u00e1bado", - "s\u00edgueme", - "s\u00edmbolo", - "s\u00edntomas", - "s\u00f3tano", - "talento", - "taller", - "tama\u00f1o", - "tambien", - "tambi\u00e9n", - "tampoco", - "tanque", - "tantas", - "tantos", - "tardes", - "tareas", - "tarjeta", - "tarjetas", - "tatuaje", - "taylor", - "teatro", - "tecnolog\u00eda", - "televisi\u00f3n", - "tel\u00e9fono", - "tel\u00e9fonos", - "temperatura", - "templo", - "temporada", - "temporal", - "temprano", - "tendremos", - "tendr\u00e1", - "tendr\u00e1n", - "tendr\u00e1s", - "tendr\u00e9", - "tendr\u00eda", - "tendr\u00edamos", - "tendr\u00edas", - "tenemos", - "tenerlo", - "tenerte", - "tengamos", - "tengan", - "tengas", - "tenido", - "teniendo", - "teniente", - "tensi\u00f3n", - "ten\u00e9is", - "ten\u00edamos", - "ten\u00edan", - "ten\u00edas", - "teor\u00eda", - "terapia", - "tercer", - "tercera", - "tercero", - "termina", - "terminado", - "terminamos", - "terminar", - "termine", - "termino", - "termin\u00e9", - "termin\u00f3", - "terreno", - "terrible", - "terribles", - "territorio", - "terror", - "terrorista", - "terroristas", - "tesoro", - "testamento", - "testigo", - "testigos", - "testimonio", - "tiempo", - "tiempos", - "tienda", - "tiendas", - "tienen", - "tienes", - "tierra", - "tierras", - "tirado", - "tiroteo", - "tocado", - "tocando", - "todavia", - "todav\u00eda", - "tomado", - "tomamos", - "tomando", - "tomaron", - "tomar\u00e1", - "tomar\u00e9", - "tomaste", - "tonter\u00eda", - "tonter\u00edas", - "tontos", - "toques", - "tormenta", - "tortura", - "totalmente", - "trabaja", - "trabajaba", - "trabajado", - "trabajadores", - "trabajamos", - "trabajan", - "trabajando", - "trabajar", - "trabajas", - "trabajo", - "trabajos", - "trabaj\u00e9", - "trabaj\u00f3", - "tradici\u00f3n", - "traducci\u00f3n", - "traducido", - "traer\u00e9", - "tragedia", - "traici\u00f3n", - "traidor", - "traiga", - "traigan", - "traigo", - "trajeron", - "trajes", - "trajiste", - "trampa", - "tranquila", - "tranquilo", - "tranquilos", - "transporte", - "trasera", - "trasero", - "trataba", - "tratado", - "tratamiento", - "tratamos", - "tratan", - "tratando", - "tratar", - "tratas", - "trauma", - "trav\u00e9s", - "tra\u00eddo", - "treinta", - "tribunal", - "tripulaci\u00f3n", - "triste", - "tropas", - "trucos", - "tr\u00e1eme", - "tr\u00e1fico", - "tuviera", - "tuvieras", - "tuvieron", - "tuvimos", - "tuviste", - "t\u00e9cnica", - "t\u00e9cnicamente", - "t\u00e9rminos", - "t\u00edpico", - "t\u00edtulo", - "t\u00f3malo", - "t\u00f3mate", - "ubicaci\u00f3n", - "unidad", - "unidades", - "unidos", - "uniforme", - "universidad", - "universo", - "urgente", - "usamos", - "usando", - "usarlo", - "ustedes", - "utilizar", - "vacaciones", - "valiente", - "vampiro", - "vampiros", - "varias", - "varios", - "vayamos", - "veamos", - "vecindario", - "vecino", - "vecinos", - "veh\u00edculo", - "veinte", - "velocidad", - "vendedor", - "vender", - "vendido", - "vendiendo", - "vendi\u00f3", - "vendr\u00e1", - "vendr\u00e1n", - "vendr\u00e1s", - "vendr\u00eda", - "veneno", - "vengan", - "venganza", - "vengas", - "venido", - "venimos", - "ventaja", - "ventana", - "ventanas", - "ventas", - "verano", - "verdad", - "verdadera", - "verdaderamente", - "verdadero", - "verdes", - "veremos", - "verg\u00fcenza", - "verlos", - "vernos", - "versi\u00f3n", - "vestido", - "vestidos", - "viajar", - "viajes", - "victor", - "victoria", - "viejas", - "viejos", - "viendo", - "vienen", - "vienes", - "viento", - "viernes", - "vieron", - "vigilancia", - "vigilando", - "vincent", - "viniendo", - "viniera", - "vinieron", - "vinimos", - "viniste", - "violaci\u00f3n", - "violencia", - "violento", - "virgen", - "visita", - "visitar", - "visitas", - "visi\u00f3n", - "vistazo", - "vivido", - "viviendo", - "vivimos", - "volando", - "voluntad", - "volvamos", - "volvemos", - "volver", - "volveremos", - "volver\u00e1", - "volver\u00e1s", - "volver\u00e9", - "volver\u00eda", - "volviendo", - "volviste", - "volvi\u00f3", - "vomitar", - "vosotros", - "vuelta", - "vueltas", - "vuelto", - "vuelva", - "vuelvan", - "vuelvas", - "vuelve", - "vuelven", - "vuelves", - "vuelvo", - "vuestra", - "vuestras", - "vuestro", - "vuestros", - "v\u00e1monos", - "v\u00e1yanse", - "v\u00e1yase", - "v\u00edctima", - "v\u00edctimas", - "zapato", - "zapatos", - "\u00e1frica", - "\u00e1ngeles", - "\u00e1rboles", - "\u00e9ramos", - "\u00edbamos", - "\u00f3rdenes", - "\u00faltima", - "\u00faltimamente", - "\u00faltimas", - "\u00faltimo", - "\u00faltimos", - "\u00fanicos" - ] -} diff --git a/packages/yoastseo/src/languageProcessing/languages/es/config/wordComplexity.js b/packages/yoastseo/src/languageProcessing/languages/es/config/wordComplexity.js index 203367523f8..ada2d90f311 100644 --- a/packages/yoastseo/src/languageProcessing/languages/es/config/wordComplexity.js +++ b/packages/yoastseo/src/languageProcessing/languages/es/config/wordComplexity.js @@ -1,7 +1,4 @@ -import frequencyList from "./internal/frequencyList.json"; - // This is a config for the Word Complexity assessment. As such, this helper is not bundled in Yoast SEO. export default { - frequencyList: frequencyList.list, wordLength: 7, }; diff --git a/packages/yoastseo/src/languageProcessing/languages/es/helpers/checkIfWordIsComplex.js b/packages/yoastseo/src/languageProcessing/languages/es/helpers/checkIfWordIsComplex.js index 4701ba0f102..195f9b76c38 100644 --- a/packages/yoastseo/src/languageProcessing/languages/es/helpers/checkIfWordIsComplex.js +++ b/packages/yoastseo/src/languageProcessing/languages/es/helpers/checkIfWordIsComplex.js @@ -16,12 +16,13 @@ const suffixesRegex = new RegExp( suffixes ); * * @param {object} config The configuration needed for assessing the word's complexity, e.g., the frequency list. * @param {string} word The word to check. + * @param {object} premiumData The object that contains data for the assessment including the frequency list. * * @returns {boolean} Whether or not a word is complex. */ -export default function checkIfWordIsComplex( config, word ) { +export default function checkIfWordIsComplex( config, word, premiumData ) { const lengthLimit = config.wordLength; - const frequencyList = config.frequencyList; + const frequencyList = premiumData.frequencyList.list; // The Spanish word is not complex if its length is 7 characters or fewer. if ( word.length <= lengthLimit ) { diff --git a/packages/yoastseo/src/languageProcessing/languages/fr/config/internal/frequencyList.json b/packages/yoastseo/src/languageProcessing/languages/fr/config/internal/frequencyList.json deleted file mode 100644 index a98e2feaaed..00000000000 --- a/packages/yoastseo/src/languageProcessing/languages/fr/config/internal/frequencyList.json +++ /dev/null @@ -1,794 +0,0 @@ -{ - "source": "This list is taken from the first 5000 words of this word list https://github.com/hermitdave/FrequencyWords/blob/master/content/2018/fr/fr_50k.txt. Out of the 5000 words, we exclude words that are less than 9 characters", - "list": [ - "particulièrement", - "malheureusement", - "personnellement", - "connaissez-vous", - "responsabilités", - "professionnelle", - "responsabilité", - "extraordinaire", - "impressionnant", - "officiellement", - "enregistrement", - "petit-déjeuner", - "renseignements", - "reconnaissance", - "définitivement", - "interrogatoire", - "administration", - "félicitations", - "immédiatement", - "pourriez-vous", - "dépêchez-vous", - "professionnel", - "circonstances", - "pardonnez-moi", - "communication", - "naturellement", - "souvenez-vous", - "rappelez-vous", - "environnement", - "reconnaissant", - "techniquement", - "effectivement", - "littéralement", - "préparez-vous", - "scientifiques", - "avertissement", - "contrairement", - "permettez-moi", - "probablement", - "complètement", - "anniversaire", - "gouvernement", - "sérieusement", - "asseyez-vous", - "certainement", - "informations", - "mademoiselle", - "conversation", - "parfaitement", - "heureusement", - "connaissance", - "surveillance", - "propriétaire", - "précédemment", - "sous-titrage", - "comportement", - "scientifique", - "intelligente", - "entraînement", - "regardez-moi", - "réveille-toi", - "bibliothèque", - "merveilleuse", - "organisation", - "profondément", - "suffisamment", - "conséquences", - "autorisation", - "portefeuille", - "pouvons-nous", - "souviens-toi", - "commissariat", - "actuellement", - "pratiquement", - "intelligence", - "instructions", - "intéressante", - "personnalité", - "commandement", - "correctement", - "laissez-nous", - "pardonne-moi", - "intervention", - "thanksgiving", - "dernièrement", - "construction", - "journalistes", - "rappelle-toi", - "responsables", - "condoléances", - "terriblement", - "différemment", - "soudainement", - "aujourd'hui", - "excusez-moi", - "voulez-vous", - "rendez-vous", - "laissez-moi", - "faites-vous", - "pouvez-vous", - "responsable", - "appartement", - "intéressant", - "apparemment", - "merveilleux", - "pensez-vous", - "assieds-toi", - "regarde-moi", - "intelligent", - "directement", - "franchement", - "débarrasser", - "fantastique", - "information", - "médicaments", - "dépêche-toi", - "connaissais", - "différentes", - "travaillait", - "particulier", - "disparaître", - "arrestation", - "écoutez-moi", - "grand-chose", - "journaliste", - "département", - "honnêtement", - "commissaire", - "recommencer", - "connaissait", - "déclaration", - "enterrement", - "calmez-vous", - "opportunité", - "allons-nous", - "accompagner", - "technologie", - "appelle-moi", - "explication", - "célibataire", - "normalement", - "appelez-moi", - "sommes-nous", - "prisonniers", - "entièrement", - "proposition", - "possibilité", - "reconnaître", - "disparition", - "connaissent", - "coïncidence", - "raisonnable", - "imagination", - "pourrais-je", - "extrêmement", - "personnelle", - "travaillent", - "température", - "compétition", - "transformer", - "terroristes", - "taisez-vous", - "laboratoire", - "électricité", - "interrompre", - "culpabilité", - "travaillais", - "détends-toi", - "ressemblait", - "sous-titres", - "parlez-vous", - "préférerais", - "croyez-vous", - "malédiction", - "sincèrement", - "regarde-toi", - "importantes", - "destruction", - "expériences", - "débrouiller", - "précisément", - "échantillon", - "funérailles", - "combinaison", - "ambassadeur", - "association", - "connaissiez", - "respiration", - "changements", - "coordonnées", - "amusez-vous", - "ressemblent", - "arrangement", - "réalisateur", - "circulation", - "hélicoptère", - "mettez-vous", - "remarquable", - "chaussettes", - "partenaires", - "personnages", - "magnifiques", - "attends-moi", - "communiquer", - "pourrais-tu", - "fonctionner", - "confortable", - "destination", - "maintenant", - "exactement", - "travailler", - "impossible", - "comprendre", - "laisse-moi", - "rencontrer", - "incroyable", - "connaissez", - "simplement", - "absolument", - "impression", - "magnifique", - "passe-t-il", - "inspecteur", - "professeur", - "allez-vous", - "tranquille", - "lieutenant", - "commandant", - "nourriture", - "expérience", - "savez-vous", - "grand-mère", - "importance", - "ordinateur", - "chaussures", - "nécessaire", - "finalement", - "grand-père", - "donnez-moi", - "excuse-moi", - "université", - "sentiments", - "après-midi", - "différence", - "restaurant", - "totalement", - "évidemment", - "partenaire", - "entreprise", - "appartient", - "recherches", - "rapidement", - "formidable", - "fonctionne", - "empreintes", - "importante", - "écoute-moi", - "pourraient", - "couverture", - "abandonner", - "américains", - "changement", - "convaincre", - "conscience", - "traitement", - "protection", - "infirmière", - "différents", - "angleterre", - "surveiller", - "facilement", - "clairement", - "traduction", - "secrétaire", - "permission", - "romantique", - "construire", - "réellement", - "gouverneur", - "croyez-moi", - "différente", - "concernant", - "représente", - "réputation", - "californie", - "conférence", - "conseiller", - "états-unis", - "reviendrai", - "discussion", - "recommence", - "dites-vous", - "uniquement", - "américaine", - "communauté", - "plaisantes", - "suivez-moi", - "prisonnier", - "travailles", - "rencontrés", - "meilleures", - "poursuivre", - "travaillez", - "récompense", - "lâchez-moi", - "personnage", - "identifier", - "est-à-dire", - "excellente", - "concentrer", - "conditions", - "kilomètres", - "correspond", - "commençons", - "appellerai", - "interroger", - "accusation", - "étiez-vous", - "télévision", - "auparavant", - "faites-moi", - "voyez-vous", - "malheureux", - "accompagne", - "demi-heure", - "assistante", - "adaptation", - "territoire", - "difficiles", - "invitation", - "expression", - "électrique", - "devrais-je", - "avons-nous", - "participer", - "laissez-le", - "commission", - "souffrance", - "deviennent", - "production", - "témoignage", - "opérations", - "principale", - "semblerait", - "collection", - "nombreuses", - "terroriste", - "enregistré", - "révolution", - "cigarettes", - "evidemment", - "commencent", - "chirurgien", - "montre-moi", - "rencontrée", - "découverte", - "disponible", - "événements", - "accueillir", - "criminelle", - "etats-unis", - "militaires", - "commercial", - "ressources", - "énormément", - "ecoute-moi", - "équipement", - "génération", - "dangereuse", - "volontaire", - "plaisantez", - "importants", - "ressembler", - "résistance", - "population", - "patrouille", - "conducteur", - "présidente", - "possession", - "rembourser", - "engagement", - "producteur", - "déposition", - "occupe-toi", - "excellence", - "pathétique", - "mouvements", - "reviennent", - "médicament", - "douloureux", - "demoiselle", - "bouteilles", - "lesquelles", - "république", - "transformé", - "maquillage", - "enlèvement", - "historique", - "téléphoner", - "téléphones", - "libération", - "malentendu", - "silencieux", - "effraction", - "atmosphère", - "intentions", - "intéresser", - "parlez-moi", - "entraîneur", - "ressembles", - "politiques", - "prostituée", - "mystérieux", - "arriverait", - "exposition", - "demanderai", - "par-dessus", - "hémorragie", - "peut-être", - "comprends", - "seulement", - "avez-vous", - "longtemps", - "attention", - "tellement", - "confiance", - "téléphone", - "important", - "capitaine", - "personnes", - "êtes-vous", - "travaille", - "difficile", - "problèmes", - "nouvelles", - "questions", - "prochaine", - "meilleure", - "président", - "commencer", - "intérieur", - "messieurs", - "apprendre", - "retrouver", - "ressemble", - "bienvenue", - "situation", - "retourner", - "rencontré", - "expliquer", - "plusieurs", - "continuer", - "recherche", - "doucement", - "donne-moi", - "connaître", - "dangereux", - "compagnie", - "différent", - "là-dedans", - "récupérer", - "opération", - "dites-moi", - "découvert", - "directeur", - "certaines", - "toilettes", - "conneries", - "personnel", - "comprenez", - "vêtements", - "intéresse", - "présenter", - "programme", - "meilleurs", - "travaillé", - "spectacle", - "rencontre", - "découvrir", - "attendais", - "histoires", - "réfléchir", - "politique", - "contraire", - "continuez", - "descendre", - "excellent", - "dernières", - "remercier", - "rejoindre", - "direction", - "troisième", - "américain", - "intention", - "procureur", - "princesse", - "calme-toi", - "attendant", - "penses-tu", - "bouteille", - "justement", - "reprendre", - "demandais", - "résultats", - "au-dessus", - "souvenirs", - "également", - "inquiétez", - "extérieur", - "inquiéter", - "aidez-moi", - "crois-moi", - "amoureuse", - "compliqué", - "naissance", - "embrasser", - "sentiment", - "relations", - "abandonné", - "désormais", - "contrôler", - "rappelles", - "laisserai", - "mauvaises", - "détective", - "autrement", - "supporter", - "militaire", - "atteindre", - "récemment", - "réveiller", - "là-dessus", - "permettre", - "assurance", - "voulaient", - "attendent", - "véritable", - "mouvement", - "puissance", - "devraient", - "explosion", - "reviendra", - "principal", - "meurtrier", - "cardiaque", - "plaisante", - "réfléchis", - "chauffeur", - "quiconque", - "lâche-moi", - "délicieux", - "dites-lui", - "ambulance", - "traverser", - "cependant", - "reconnais", - "champagne", - "forcément", - "lendemain", - "vous-même", - "mensonges", - "pourrions", - "blessures", - "cherchais", - "surveille", - "abandonne", - "cauchemar", - "construit", - "centaines", - "propriété", - "trouverai", - "combattre", - "appellent", - "ascenseur", - "pardonner", - "frontière", - "cérémonie", - "remplacer", - "installer", - "étudiants", - "faites-le", - "vengeance", - "convaincu", - "retournez", - "technique", - "attendait", - "affronter", - "entretien", - "laisse-le", - "assistant", - "davantage", - "collègues", - "assassiné", - "lentement", - "classique", - "existence", - "maîtresse", - "nationale", - "contacter", - "cigarette", - "courageux", - "condition", - "étrangers", - "permettez", - "approcher", - "procédure", - "catherine", - "etes-vous", - "carrément", - "criminels", - "organiser", - "documents", - "enchantée", - "intéressé", - "poussière", - "policiers", - "montagnes", - "printemps", - "faisaient", - "commencez", - "éducation", - "elizabeth", - "elle-même", - "charmante", - "décisions", - "objection", - "chirurgie", - "ordinaire", - "hollywood", - "entraîner", - "ouverture", - "trouverez", - "incapable", - "signature", - "officiers", - "emprunter", - "respecter", - "tentative", - "supérieur", - "allemagne", - "suffisant", - "approchez", - "cherchait", - "populaire", - "allemands", - "agression", - "cherchent", - "milliards", - "premières", - "rattraper", - "demi-tour", - "parle-moi", - "réception", - "témoigner", - "influence", - "regardais", - "ministère", - "effrayant", - "inquiètes", - "francisco", - "commander", - "apprécier", - "pouvaient", - "promotion", - "innocents", - "livraison", - "formation", - "autrefois", - "habitants", - "plastique", - "dégoûtant", - "réveillée", - "adorerais", - "nucléaire", - "descendez", - "vaisseaux", - "empreinte", - "identifié", - "trouveras", - "cimetière", - "exécution", - "autorités", - "processus", - "camarades", - "caractère", - "septembre", - "tradition", - "stratégie", - "améliorer", - "créatures", - "quatrième", - "ressentir", - "attendons", - "commandes", - "regardant", - "transfert", - "escaliers", - "serviette", - "passeport", - "sacrifice", - "interview", - "événement", - "considère", - "retrouvée", - "mentionné", - "solitaire", - "regardait", - "chevalier", - "continues", - "halloween", - "invisible", - "attendrai", - "déménager", - "passe-moi", - "laisse-la", - "sensation", - "potentiel", - "maintenir", - "oublierai", - "regardent", - "activités", - "confirmer", - "utilisent", - "exception", - "commences", - "publicité", - "rends-moi", - "regretter", - "apparence", - "essentiel", - "moment-là", - "gentleman", - "demandent", - "règlement", - "satellite", - "passagers", - "transport", - "puissante", - "autoroute", - "remarquer", - "innocente", - "protocole", - "prendrais", - "quartiers", - "accomplir", - "symptômes", - "munitions", - "conseille", - "obscurité", - "horribles", - "cherchons", - "testament", - "connaisse", - "enveloppe", - "enseigner", - "demandait", - "lancement", - "ingénieur", - "infection", - "faiblesse", - "manhattan", - "détention", - "donne-lui", - "conscient", - "compromis", - "serait-ce", - "fascinant", - "française", - "imaginais", - "fusillade", - "connexion", - "équilibre", - "rapporter", - "industrie", - "promettre", - "curiosité", - "brillante", - "satisfait", - "connaitre", - "viendrais", - "résidence", - "arriverai", - "sorcières", - "parles-tu", - "naturelle", - "augmenter", - "grossesse", - "amuse-toi", - "fréquence" - ] -} diff --git a/packages/yoastseo/src/languageProcessing/languages/fr/config/wordComplexity.js b/packages/yoastseo/src/languageProcessing/languages/fr/config/wordComplexity.js index c9cb74b3f68..cc5018b8cd9 100644 --- a/packages/yoastseo/src/languageProcessing/languages/fr/config/wordComplexity.js +++ b/packages/yoastseo/src/languageProcessing/languages/fr/config/wordComplexity.js @@ -1,7 +1,4 @@ -import frequencyList from "./internal/frequencyList.json"; - // This is a config for the Word Complexity assessment. As such, this helper is not bundled in Yoast SEO. export default { - frequencyList: frequencyList.list, wordLength: 9, }; diff --git a/packages/yoastseo/src/languageProcessing/languages/fr/helpers/checkIfWordIsComplex.js b/packages/yoastseo/src/languageProcessing/languages/fr/helpers/checkIfWordIsComplex.js index 4780a2e413c..eb6c894e7bd 100644 --- a/packages/yoastseo/src/languageProcessing/languages/fr/helpers/checkIfWordIsComplex.js +++ b/packages/yoastseo/src/languageProcessing/languages/fr/helpers/checkIfWordIsComplex.js @@ -10,12 +10,13 @@ const contractionRegex = new RegExp( contractionPrefixes ); * * @param {object} config The configuration needed for assessing the word's complexity, e.g., the frequency list. * @param {string} word The word to check. + * @param {object} premiumData The object that contains data for the assessment including the frequency list. * * @returns {boolean} Whether or not a word is complex. */ -export default function checkIfWordIsComplex( config, word ) { +export default function checkIfWordIsComplex( config, word, premiumData ) { const lengthLimit = config.wordLength; - const frequencyList = config.frequencyList; + const frequencyList = premiumData.frequencyList.list; // Normalize single quotes before checking for contractions. word = normalizeSingle( word ); @@ -28,7 +29,7 @@ export default function checkIfWordIsComplex( config, word ) { word = word.replace( contractionRegex, "" ); } - // The word is not complex if it's less than the length limit, i.e. 9 characters for French. + // The word is not complex if it's less than or the same as the length limit, i.e. 9 characters for French. if ( word.length <= lengthLimit ) { return false; } diff --git a/packages/yoastseo/src/languageProcessing/researches/wordComplexity.js b/packages/yoastseo/src/languageProcessing/researches/wordComplexity.js index e5e90ace060..e21aabcd32c 100644 --- a/packages/yoastseo/src/languageProcessing/researches/wordComplexity.js +++ b/packages/yoastseo/src/languageProcessing/researches/wordComplexity.js @@ -27,28 +27,33 @@ const { getWords, getSentences, helpers } = languageProcessing; * @returns {ComplexWordsResult} An object containing all complex words in a given sentence. */ const getComplexWords = function( currentSentence, researcher ) { + const language = researcher.getConfig( "language" ); const checkIfWordIsComplex = researcher.getHelper( "checkIfWordIsComplex" ); const functionWords = researcher.getConfig( "functionWords" ); const wordComplexityConfig = researcher.getConfig( "wordComplexity" ); const checkIfWordIsFunction = researcher.getHelper( "checkIfWordIsFunction" ); - const morphologyData = get( researcher.getData( "morphology" ), researcher.getConfig( "language" ), false ); + const premiumData = get( researcher.getData( "morphology" ), language, false ); const allWords = getWords( currentSentence ); // Filters out function words because function words are not complex. // Words are converted to lowercase before processing to avoid excluding function words that start with a capital letter. const words = allWords.filter( word => ! ( checkIfWordIsFunction ? checkIfWordIsFunction( word ) : functionWords.includes( word ) ) ); - const results = []; + const result = { + complexWords: [], + sentence: currentSentence, + }; + + if ( ! premiumData ) { + return result; + } words.forEach( word => { - if ( checkIfWordIsComplex( wordComplexityConfig, word, morphologyData ) ) { - results.push( word ); + if ( checkIfWordIsComplex( wordComplexityConfig, word, premiumData ) ) { + result.complexWords.push( word ); } } ); - return { - complexWords: results, - sentence: currentSentence, - }; + return result; }; /**