Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert Sentence length and paragraph length to use HTML parser and enable AI button for both assessments #21866

Open
wants to merge 16 commits into
base: trunk
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Improve JSDoc
  • Loading branch information
FAMarfuaty committed Dec 11, 2024
commit 928996843200c185469fb09b2ee05bdb60268cf7
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@ import sentencesLength from "../helpers/sentence/sentencesLength.js";
import getSentencesFromTree from "../helpers/sentence/getSentencesFromTree";

/**
* Count sentences in the text.
* Gets the sentences from the text and calculates the length of each sentence.
*
* @param {Paper} paper The Paper object to get text from.
* @param {Researcher} researcher The researcher to use for analysis.
*
* @returns {SentenceLength[]} The sentences from the text.
*/
export default function( paper, researcher ) {
Expand Down
Loading