Main Page   Compound List   File List   Compound Members   File Members  

get_ngram.c File Reference

Function to read in a n-gram from the file specified. More...

#include <stdio.h>
#include <stdarg.h>
#include "rr_libs/general.h"
#include "ngram.h"

Go to the source code of this file.

Functions

int get_ngram (FILE *id_ngram_fp, ngram *ng, flag ascii)


Detailed Description

Function to read in a n-gram from the file specified.

Definition in file get_ngram.c.


Function Documentation

int get_ngram FILE *    id_ngram_fp,
ngram   ng,
flag    ascii
 

Definition at line 31 of file get_ngram.c.

References ngram::count, count_t, flag, i, ngram::id_array, ngram::n, quit(), rr_feof(), and rr_fread().

Referenced by calc_mem_req(), and main().


Generated on Tue Dec 21 13:54:47 2004 by doxygen1.2.18