Home
last modified time | relevance | path

Searched refs:sentence (Results 1 – 25 of 29) sorted by relevance

12

/plugin/docimporter/
H A DImportUtils.php144 $sentence = str_replace("\n"," ",$sentence_info[0]);
146 $pattern = preg_replace('/\\//', '\\/', preg_quote($sentence));
150 $clean_sentence = preg_replace("/<.*>/sU","",$sentence);
209 $sentence = $sentence_info["sentence"];
212 if (array_key_exists($sentence, $occurences)) {
213 $occurences[$sentence] = 0;
215 $occurences[$sentence] = 0;
223 $start = $matches[0][$count + $occurences[$sentence]][1];
226 …tr_replace($sentence, $tag.$sentence.$tag, substr($myWikiContent, $start, strlen($sentence))).subs…
234 foreach($list as $pos => $sentence){
[all …]
/plugin/aichat/vendor/vanderlee/php-sentence/
H A DREADME.md3 [![License](https://img.shields.io/github/license/vanderlee/php-sentence.svg)]()
4 [![Build Status](https://travis-ci.org/vanderlee/php-sentence.svg?branch=master)](https://travis-ci.org/vanderlee/PHPSwaggerGen)
5 [![Quality](https://scrutinizer-ci.com/g/vanderlee/php-sentence/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/vanderlee/PHPSwaggerGen)
14 PHP natural language sentence segmentation (splitting) and counting.
28 composer require vanderlee/php-sentence
42 each returned sentence.
52 . " my friend?\n\nI hope it's good. This last sentence will"
76 sentence count except in very uncommon situations.
85 - The end of the text indicates the end if a sentence if not otherwise ended
88 - An empty line is not a sentence
[all...]
/plugin/aichat/
H A DEmbeddings.php297 while ($sentence = array_shift($sentences)) {
298 $slen = count($tiktok->encode($sentence));
300 // sentence is too long, we need to split it further
309 $chunk .= $sentence;
311 // remember sentence for overlap check
312 $this->rememberSentence($sentence);
320 $chunk .= $sentence;
330 * Add a sentence to the queue of remembered sentences
332 * @param string $sentence
335 protected function rememberSentence($sentence)
261 rememberSentence($sentence) global() argument
[all...]
H A Dcomposer.lock156 "name": "vanderlee/php-sentence",
160 "url": "https://github.com/vanderlee/php-sentence.git",
165 "url": "https://api.github.com/repos/vanderlee/php-sentence/zipball/ed7ce41ef815bd21e61f62b692418740f988451f",
187 "description": "Simple text sentence splitting and counting. Supports atleast english, german and dutch, possibly more.",
188 "homepage": "https://github.com/vanderlee/php-sentence.git",
194 "sentence",
198 "issues": "https://github.com/vanderlee/php-sentence/issues",
199 "source": "https://github.com/vanderlee/php-sentence"
/plugin/aichat/vendor/vanderlee/php-sentence/src/
H A DSentence.php368 $sentence = '';
378 $sentences[] = $sentence;
380 $sentence = '';
387 $sentence .= $short;
391 if (!empty($sentence)) {
392 $sentences[] = $sentence;
451 return array_map(function ($sentence) {
452 return Multibyte::trim($sentence);
/plugin/pubmed2020/classes/
H A Dpubmed2020.php806 foreach ($sentences as $sentence) {
808 $low_t .= rtrim(ucfirst($sentence), '.').". ";
819 foreach ($sentences as $sentence) {
821 $low_t .= ucfirst($sentence);
822 if (substr($sentence, -1) !== '.')
/plugin/mdpage/vendor/cebe/markdown/tests/github-data/
H A Durl.md11 link in the end of the sentence: See this http://example.com/.
/plugin/sequencediagram/bower_components/lodash/vendor/underscore/test/
H A Dfunctions.js624 var exclaim = function(sentence){ return sentence + '!'; }; argument
/plugin/wrap/
H A Dexample.txt363 The following text is hidden: <wrap hide>John, please revise that sentence.</wrap>
365 The following text is hidden: <wrap hide>John, please revise that sentence.</wrap>
/plugin/bible/bible_douayRheims/
H A DDaniel.txt30 …2:9. If, therefore, you tell me not the dream, there is one sentence concerning you, that you have…
35 …2:14. Then Daniel inquired concerning the law and the sentence, of Arioch, the general of the king…
36 …2:15. And he asked him that had received the orders of the king, why so cruel a sentence was gone …
182 …4:14. This is the decree by the sentence of the watchers, and the word and demand of the holy ones…
189 …4:21. This is the interpretation of the sentence of the most High, which is come upon my lord, the…
241 …6:8. Now, therefore, O king, confirm the sentence, and sign the decree: that what is decreed by th…
477 …e against thy own head: for behold the angel of God having recieved the sentence of him, shall cut…
H A DEsther.txt15 …1:15. What sentence ought to pass upon Vasthi the queen, who had refused to obey the commandment o…
260 …rent things, that it cometh of the levity of our mind, but that we give sentence according to the …
H A DEcclesiastes.txt154 …8:11. For because sentence is not speedily pronounced against the evil, the children of men commit…
H A DTobias.txt33 …ee to be slain because of this matter, and thou didst scarce escape the sentence of death, and dos…
H A D1_Esdras.txt115 …4:21. Now therefore hear the sentence: Hinder those men, that this city be not built, till further…
H A DJob.txt704 …29:21. They that heard me, waited for my sentence, and being attentive held their peace at my coun…
804 33:3. My words are from my upright heart, and my lips shall speak a pure sentence.
H A DEcclesiasticus.txt1275 …41:3. O death thy sentence is welcome to the man that is in need, and to him whose strength failet…
1277 …41:5. Fear not the sentence of death. Remember what things have been before thee, and what shall c…
H A DProverbs.txt431 15:23. A man rejoiceth in the sentence of his mouth: and a word in due time is best.
H A DJosue.txt276 …11:20. For it was the sentence of the Lord, that their hearts should be hardened, and they should …
H A DJudges.txt545 …rom the day that our fathers came up out of Egypt, until this day: give sentence, and decree in co…
H A DActs.txt907 …g received authority of the chief priests. And when they were put to death, I brought the sentence.
H A DLuke.txt1066 23:24. And Pilate gave sentence that it should be as they required.
H A DDeuteronomy.txt482 …17:11. According to his law; and thou shalt follow their sentence: neither shalt thou decline to t…
H A DExodus.txt558 21:31. If he have gored a son, or a daughter, he shall fall under the like sentence.
/plugin/codemirror/dist/modes/
H A Dxquery.min.js.map1 …chema-attribute', 'schema-element', 'score',\n 'self', 'sensitive', 'sentence', 'sentences', 's…
/plugin/tuxquote/
H A Dquotes.txt2319 Take it from me -- marriage isn't a word -- it's a sentence. <BR> -- King Vidor, (1894-1982), U.S. …
2841 …e for our children this, the last best hope of man on earth, or we will sentence them to take the …
2941 >From now on, ending a sentence with a preposition is something up with which I will not put. <BR> …
3609 A proverb is a short sentence based on long experience.
3833 Matrimony isn't a word, it's a sentence.
3930 This sentence contradicts itself -- no actually it doesn't.

12