Home
last modified time | relevance | path

Searched refs:stopwords (Results 1 – 2 of 2) sorted by relevance

/plugin/cloud/
H A Dsyntax.php13 protected $stopwords = null; variable in syntax_plugin_cloud
19 $this->stopwords = $this->_getStopwords();
177 if (@file_exists($swfile)) $stopwords = file($swfile, FILE_IGNORE_NEW_LINES);
178 else $stopwords = array();
182 …if (@file_exists($swfile)) $stopwords = array_merge($stopwords, file($swfile, FILE_IGNORE_NEW_LINE…
184 if (count($stopwords) == 0) {
188 return $stopwords;
205 if ($this->stopwords != null)
207 foreach ($this->stopwords as $word) {
/plugin/cumulus/
H A Dsyntax.php203 if (@file_exists($swfile)) $stopwords = file($swfile);
204 else $stopwords = array();
208 if (@file_exists($swfile)) $stopwords = array_merge($stopwords, file($swfile));
221 $this->_addWordsToCloud($cloud, $idx, $word_idx, $stopwords);
228 $this->_addWordsToCloud($cloud, $idx, $word_idx, $stopwords);
237 function _addWordsToCloud(&$cloud, $idx, $word_idx, &$stopwords) { argument
243 if (!is_int(array_search("$key\n", $stopwords))) {