Home
last modified time | relevance | path

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

/dokuwiki/inc/Search/
H A DIndexer.php115 $tokens = $this->tokenizer($text);
116 $tokens = array_count_values($tokens); // count the frequency of each token
119 foreach ($tokens as $w => $c) {
604 * The returned array will have the original tokens as key. The values
608 * @param array $tokens list of words to search for
614 public function lookup(&$tokens)
617 $wids = $this->getIndexWords($tokens, $result);
769 $tokens = [];
792 if (!isset($tokens[
595 lookup(& $tokens) global() argument
[all...]
/dokuwiki/inc/
H A Dfulltext.php767 $tokens = explode(' ', $term);
768 foreach ($tokens as $token) {
821 $tokens = preg_split('/(NOT\(|[()])/u', $parsed_query, -1, PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_NO_EMPTY);
822 foreach ($tokens as $token) {
849 $tokens = preg_split($ope_regex, $parsed_query, -1, PREG_SPLIT_DELIM_CAPTURE | PREG_SPLIT_NO_EMPTY);
850 foreach ($tokens as $token) {
/dokuwiki/vendor/simplepie/simplepie/src/
H A DMisc.php1888 $tokens = [];
1892 $tokens[] = substr($string, $position, $len);
1897 return $tokens;
/dokuwiki/vendor/geshi/geshi/src/
H A Dgeshi.php4577 // the tokens which we will use to generate the regexp list
4578 $tokens = array();
4585 $regexp_list[++$list_key] = $this->_optimize_regexp_list_tokens_to_string($tokens);
4587 $tokens = array();
4592 $pointer = &$tokens;
4625 // relocate previous tokens
4640 if ($level == 0 && !empty($tokens)) {
4641 // we can dump current tokens into the string and throw them away afterwards
4642 $new_entry = $this->_optimize_regexp_list_tokens_to_string($tokens);
4654 $tokens
4692 _optimize_regexp_list_tokens_to_string(& $tokens, $recursed = false) global() argument
[all...]