#include <sys/types.h>
#include <unistd.h>
#include <sys/utsname.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "toolkit.h"
#include "pc_libs/pc_general.h"
#include "rr_libs/general.h"
Go to the source code of this file.
Defines | |
#define | DEFAULT_MAX_FILES 20 |
#define | TEMP_FILE_ROOT "text2wngram.tmp." |
Functions | |
int | cmp_strings (const void *string1, const void *string2) |
void | merge_tempfiles (int start_file, int end_file, char *temp_file_root, char *temp_file_ext, int max_files, char *tempfiles_directory, FILE *outfile, int n, int verbosity) |
void | main (int argc, char **argv) |
Definition in file text2wngram.c.
|
Definition at line 20 of file text2wngram.c. Referenced by main(). |
|
Definition at line 21 of file text2wngram.c. Referenced by main(). |
|
Definition at line 36 of file text2wngram.c. Referenced by main(). |
|
Definition at line 292 of file text2wngram.c. References cmp_strings(), DEFAULT_MAX_FILES, DEFAULT_N, DEFAULT_TEMP, DEFAULT_VERBOSITY, flag, fprintf(), i, merge_tempfiles(), pc_flagarg(), pc_intarg(), pc_message(), pc_report_unk_args(), pc_stringarg(), quit(), report_version(), rr_feof(), rr_malloc(), rr_oclose(), rr_oopen(), salloc(), STD_MEM, TEMP_FILE_ROOT, and verbosity. |
|
Definition at line 48 of file text2wngram.c. References flag, fprintf(), free(), i, j, pc_message(), quit(), rr_feof(), rr_iclose(), rr_iopen(), rr_malloc(), rr_oopen(), and verbosity. Referenced by main(), and merge_tempfiles(). |