src/researches/buildKeywordForms.js
function research( paper, researcher ) {
	const language = getLanguage( paper.getLocale() );

	const morphologyData = get( researcher.getData( "morphology" ), [ language ], false );

	return collectForms( paper.getKeyword(), paper.getSynonyms(), language, morphologyData );
}
function research( paper, researcher ) {
	const language = getLanguage( paper.getLocale() );

	const morphologyData = get( researcher.getData( "morphology" ), [ language ], false );

	return collectForms( paper.getKeyword(), paper.getSynonyms(), language, morphologyData );
}
Calls the function that builds keyphrase and synonyms forms for a specific research data.

@param {Paper} paper The paper to build keyphrase and synonym forms for.
@param {Researcher} researcher The researcher prototype.

@returns {Object} Object with an array of keyphrase forms and an array of arrays of synonyms forms.