incre_net.c
// Reads a word and returns its index in the vocabulary
Reads a word and returns its index in the vocabulary
Reads a word and returns its index in the vocabulary
int ReadWordIndex(FILE *fin) {
    char word[MAX_STRING];
    ReadWord(word, fin);
    if (feof(fin)) return -1;
    return SearchVocab(word);
}
int ReadWordIndex ( FILE * fin ) { char word [ MAX_STRING ] ; ReadWord ( word , fin ) ; if ( feof ( fin ) ) return -1 ; return SearchVocab ( word ) ; }
Reads a word and returns its index in the vocabulary
Reads a word and returns its index in the vocabulary