Closed atimmer closed 4 years ago
@atimmer & @nataliashitova will have a second look at the spec of this issue. The goal is to make sure that the output produced by this research fulfills the requirements of the assessments.
This issue is closed in favor of https://github.com/Yoast/javascript/issues/428.
Explanation
Create a
keyphrases
tree research that returns all the keywords in the ParsedPaper based on the Tree.The
keyphrases
research should returnKeyphrase
objects. TheKeyphrase
object should contain:Word
objects.Sentence
object.Technical decisions
The
KeyphraseResearch
class should extend theResearch
class.Given this input:
Expected output for a node:
The indexes are relative to the containing text container. The objects are not new objects, but the objects that are already in the tree.
FAQ
Product questions
Notes
See https://github.com/Yoast/YoastSEO.js/issues/2078 for decisions