chartparser.c File Reference

Class ChartParser. A Natural Language chart parser. More...

#include <cstdlib>
#include <cassert>
#include <cstring>
#include <cstdio>
#include <cctype>
#include "util.h"
#include "hash.h"
#include "id.h"
#include "data.h"
#include "dictionary.h"
#include "gramrule.h"
#include "chartparser.h"
#include "trace.h"
#include "kbase.h"
#include "gabbie.h"

Classes

class  Prod
class  ChartParser

Defines

#define MAX_BEST   100
#define MAX_TOKEN   256
#define ALLOC(typ)   ((typ *)ChartParser::SlabAlloc(sizeof(typ)))
#define MAX_SLAB   100000

Functions

void AddBest (int priority, Prod *pProd)
DataParseText (char *buf)
 ParseText(char *buf) will tokenize and parse a string.


Detailed Description

Class ChartParser. A Natural Language chart parser.

Author:
Bryan Jacobson, 2006.

Define Documentation

#define ALLOC typ   )     ((typ *)ChartParser::SlabAlloc(sizeof(typ)))
 

#define MAX_BEST   100
 

#define MAX_SLAB   100000
 

#define MAX_TOKEN   256
 


Function Documentation

void AddBest int  priority,
Prod pProd
 

Data* ParseText char *  buf  ) 
 

ParseText(char *buf) will tokenize and parse a string.


Generated on Sun Oct 8 09:32:09 2006 for gabbie by  doxygen 1.4.6