libsent/src/ngram/ngram_malloc.c File Reference

Initial memory allocation and free for N-gram stucture. More...

#include <sent/stddefs.h>
#include <sent/ngram2.h>

Include dependency graph for ngram_malloc.c:

Go to the source code of this file.

Functions

NGRAM_INFOngram_info_new ()
void ngram_info_free (NGRAM_INFO *ndata)


Detailed Description

Initial memory allocation and free for N-gram stucture.

Author:
Akinobu LEE
Date:
Wed Feb 16 16:48:56 2005
Revision
1.4

Definition in file ngram_malloc.c.


Function Documentation

NGRAM_INFO* ngram_info_new (  ) 

Allocate a new N-gram structure.

Returns:
pointer to the newly allocated structure.

Definition at line 33 of file ngram_malloc.c.

Referenced by initialize_ngram().

void ngram_info_free ( NGRAM_INFO ndata  ) 

Free N-gram data.

Parameters:
ndata [in] N-gram data

Definition at line 48 of file ngram_malloc.c.


Generated on Tue Dec 26 16:18:05 2006 for Julius by  doxygen 1.5.0