[ Index ]
 

Code source de LifeType 1.2.4

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/class/bayesian/ -> tokenizer.class.php (sommaire)

(pas de description)

Poids: 36 lignes (1 kb)
Inclus ou requis:0 fois
Référencé: 2 fois
Nécessite: 0 fichiers

Définit 1 class

Tokenizer:: (2 méthodes):
  Tokenizer()
  tokenize()


Classe: Tokenizer  - X-Ref

\ingroup Bayesian

Class that defines the interface for classes wishing to implement a tokenizer
Tokenizer()   X-Ref
constructor, takes no parameters


tokenize($text, $unique = false)   X-Ref
given an input text, possibly containing HTML tags, it will split it into
all the different words that make it up.

param: text The text to split
param: unique Whether the return array should contain unique items or if the same
return: An array where each item is a word from the text



Généré le : Mon Nov 26 21:04:15 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics