Main Page   Compound List   File List   Compound Members   File Members  

rr_libs/read_wlist_si.c File Reference

read a word list into a (string-to-intval) hash table More...

#include <stdio.h>
#include <string.h>
#include "general.h"
#include "sih.h"

Go to the source code of this file.

Functions

void read_wlist_into_siht (char *wlist_filename, int verbosity, sih_t *p_word_id_ht, int *p_n_wlist)


Detailed Description

read a word list into a (string-to-intval) hash table

Definition in file read_wlist_si.c.


Function Documentation

void read_wlist_into_siht char *    wlist_filename,
int    verbosity,
sih_t   p_word_id_ht,
int *    p_n_wlist
 

read_wlist_into_siht: read a word list into a string-to-int32 hash table

Parameters:
wlist_filename  Input word list filename
verbosity  verbosity of this function
p_word_id_ht  Output: output string-to-int32 hash
p_n_wlist  Output: the number of words in the word list

Definition at line 28 of file read_wlist_si.c.

References fprintf(), p_n_wlist, rr_iclose(), rr_iopen(), salloc(), sih_add(), and verbosity.

Referenced by read_voc().


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