yoastseo
Version:
Yoast client-side content analysis
51 lines (47 loc) • 1.7 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.constructSEOAssessments = exports.constructRelatedKeyphraseAssessments = exports.constructReadabilityAssessments = void 0;
/**
* Factory functions for creating lists of assessments for cornerstone content.
*
* To be used in creating the different kinds of assessors.
*/
/**
* Creates a new list of SEO assessments.
*
* @returns {module:parsedPaper/assess.Assessment[]} The list of SEO assessments.
*
* @private
* @memberOf module:parsedPaper/assess
*/
const constructSEOAssessments = () => [
// Needs to be populated by fancy new assessments that work on the tree representation of the text.
];
/**
* Creates a new list of readability assessments.
*
* @returns {module:parsedPaper/assess.Assessment[]} The list of readability assessments.
*
* @private
* @memberOf module:parsedPaper/assess
*/
exports.constructSEOAssessments = constructSEOAssessments;
const constructReadabilityAssessments = () => [
// Needs to be populated by fancy new assessments that work on the tree representation of the text.
];
/**
* Creates a new list of SEO assessments for related keyphrases.
*
* @returns {module:parsedPaper/assess.Assessment[]} The list of SEO assessments.
*
* @private
* @memberOf module:parsedPaper/assess
*/
exports.constructReadabilityAssessments = constructReadabilityAssessments;
const constructRelatedKeyphraseAssessments = () => [
// Needs to be populated by fancy new assessments that work on the tree representation of the text.
];
exports.constructRelatedKeyphraseAssessments = constructRelatedKeyphraseAssessments;
//# sourceMappingURL=assessmentListFactories.js.map