Main Page   Compound List   File List   Compound Members   File Members  

idngram2stats.c File Reference

Compute statistics for an id-ngram. More...

#include <stdlib.h>
#include <stdio.h>
#include "pc_libs/pc_general.h"
#include "toolkit.h"
#include "rr_libs/general.h"

Go to the source code of this file.

Compounds

struct  ngram
 structure of id-ngram More...


Typedefs

typedef unsigned short id__t

Functions

int get_ngram (FILE *id_ngram_fp, ngram *ng, flag ascii)
void main (int argc, char **argv)


Detailed Description

Compute statistics for an id-ngram.

Definition in file idngram2stats.c.


Typedef Documentation

typedef unsigned short id__t
 

Definition at line 26 of file idngram2stats.c.

Referenced by main().


Function Documentation

int get_ngram FILE *    id_ngram_fp,
ngram   ng,
flag    ascii
 

Definition at line 31 of file get_ngram.c.

void main int    argc,
char **    argv
 

Definition at line 40 of file idngram2stats.c.

References ngram::count, DEFAULT_VERBOSITY, flag, fprintf(), get_ngram(), i, id__t, ngram::id_array, j, MAX, ngram::n, pc_flagarg(), pc_intarg(), pc_message(), pc_report_unk_args(), quit(), report_version(), rr_calloc(), rr_feof(), rr_malloc(), and verbosity.


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