Lines Matching refs:sentences
6 * Segments sentences.
26 * List of characters used to terminate sentences.
355 * Merges items into larger sentences.
366 $sentences = [];
378 $sentences[] = $sentence;
392 $sentences[] = $sentence;
395 return $sentences;
399 * Return the sentences sentences detected in the provided text.
424 $sentences = [];
430 $sentences = array_merge($sentences, $input);
436 return self::trimSentences($sentences);
439 return $sentences;
445 * @param string[] $sentences
449 private static function trimSentences($sentences)
453 }, $sentences);
457 * Return the number of sentences detected in the provided text.