Lines Matching refs:sentence
144 $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;
218 preg_match_all("/".preg_quote($sentence)."/", $myWikiContent, $matches, PREG_OFFSET_CAPTURE);
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){
235 $current_end = $pos + strlen($sentence);