Lines Matching refs:word
160 $word = '';
167 $word .= $char;
170 if ($word != '') {
171 $result[] = $this->wordHyphenation($word);
172 $word = '';
207 * @param string $word Single word to hyphenate
210 public function wordHyphenation($word) { argument
211 if(mb_strlen($word) < $this->charMin) return $word;
212 if(mb_strpos($word, $this->hyphen) !== false) return $word;
213 … if(isset($this->dictWords[mb_strtolower($word)])) return $this->dictWords[mb_strtolower($word)];
215 $text_word = '_' . $word . '_';
244 for ($i=$this->leftMin; $i<=(mb_strlen($word)-$this->rightMin); $i++) {