Main Page | File List | Globals

cut.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include "store.h"
#include "score.h"
#include "cut.h"

Functions

void cut_words (char *token, int isporn, int isscoring)
void cut_tags (char *token, int isporn, int isscoring)
void cut_free (void)

Variables

char * precedent = NULL

Function Documentation

void cut_words char *  token,
int  isporn,
int  isscoring
 

Cut the words found thanks to flex and store them (words and biwords) in a temporary database (for scoring or learning).

Parameters:
token the token to cut and store.
isporn (1 = is porn 0 = is not porn)
isscoring (1 = is scoring 0 = is learning)

void cut_tags char *  token,
int  isporn,
int  isscoring
 

Cut the tags found thanks to flex and store them in the temporary database (for scoring or learning).

Parameters:
token the token to cut and store.
isporn (1 = "is porn", 0 = "is not porn")
isscoring (1 = "is scoring", 0 = "is learning")

void cut_free void   ) 
 


Variable Documentation

char* precedent = NULL
 


Generated on Tue May 31 16:28:13 2005 for filterFlex by  doxygen 1.3.9.1