Home
last modified time | relevance | path

Searched refs:tokens (Results 1 – 4 of 4) sorted by path

/dokuwiki/inc/Search/
H A DIndexer.php109 $tokens = $this->tokenizer($text);
110 $tokens = array_count_values($tokens); // count the frequency of each token
113 foreach ($tokens as $w=>$c) {
589 * @param array $tokens list of words to search for
595 public function lookup(&$tokens) { argument
597 $wids = $this->getIndexWords($tokens, $result);
750 $tokens = array();
773 if (!isset($tokens[$xword]))
781 $tokens[$xword][] = array($word, null);
801 foreach ($tokens[$xword] as $w)
[all …]
/dokuwiki/inc/
H A Dfulltext.php717 $tokens = explode(' ', $term);
718 foreach ($tokens as $token) {
771 …$tokens = preg_split('/(NOT\(|[()])/u', $parsed_query, -1, PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_N…
772 foreach ($tokens as $token) {
799 …$tokens = preg_split($ope_regex, $parsed_query, -1, PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_NO_EMPTY…
800 foreach ($tokens as $token) {
/dokuwiki/vendor/geshi/geshi/src/
H A Dgeshi.php4578 $tokens = array();
4585 $regexp_list[++$list_key] = $this->_optimize_regexp_list_tokens_to_string($tokens);
4587 $tokens = array();
4592 $pointer = &$tokens;
4640 if ($level == 0 && !empty($tokens)) {
4642 $new_entry = $this->_optimize_regexp_list_tokens_to_string($tokens);
4654 $tokens = array();
4667 $new_entry = $this->_optimize_regexp_list_tokens_to_string($tokens);
4686 * @param array $tokens array of tokens
4692 protected function _optimize_regexp_list_tokens_to_string(&$tokens, $recursed = false) { argument
[all …]
/dokuwiki/vendor/simplepie/simplepie/library/SimplePie/
H A DMisc.php1956 $tokens = array();
1961 $tokens[] = substr($string, $position, $len);
1966 return $tokens;