Lines Matching +refs:text +refs:line
31 ### ***`integer`*** `count(`***`string`*** `$text)`
32 Counts the number of sentences in the text.
36 ### ***`array`*** `split(`***`string`*** `$text, `***`integer`*** `$flags = 0)`
37 Splits the text into sentences.
50 // This is the test text we're going to use
51 $text = "Hello there, Mr. Smith. What're you doing today... Smith,"
59 $sentences = $Sentence->split($text);
62 $count = $Sentence->count($text);
71 text into full sentences. You can easily check the steps in the code.
75 text this should pose no problem. In either case this should not affect the
85 - The end of the text indicates the end if a sentence if not otherwise ended
87 - Sentences must be at least two words long, unless a linebreak or end-of-text.
88 - An empty line is not a sentence.