libsent/src/ngram/ngram_util.c File Reference

Output some N-gram information to stdout. More...

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

Go to the source code of this file.

Functions

static int get_ngram_tuple_bytes (NGRAM_TUPLE_INFO *t)
 Get the work area size of an N-gram tuple.
void print_ngram_info (FILE *fp, NGRAM_INFO *ndata)
 Output misccelaneous information of N-gram to standard output.


Detailed Description

Output some N-gram information to stdout.

Author:
Akinobu LEE
Date:
Wed Feb 16 17:18:55 2005
Revision
1.1.1.1

Definition in file ngram_util.c.


Function Documentation

static int get_ngram_tuple_bytes ( NGRAM_TUPLE_INFO t  )  [static]

Get the work area size of an N-gram tuple.

Parameters:
t [in] N-gram tuple structure
Returns:
the size in bytes

Definition at line 37 of file ngram_util.c.

Referenced by print_ngram_info().

void print_ngram_info ( FILE *  fp,
NGRAM_INFO ndata 
)

Output misccelaneous information of N-gram to standard output.

Parameters:
fp [in] file pointer
ndata [in] N-gram data

Definition at line 79 of file ngram_util.c.

Referenced by print_engine_info().


Generated on Tue Dec 18 16:01:40 2007 for Julius by  doxygen 1.5.4