train/swe_with_2nd_randomwalk.c
// Reads a userID and returns its index in the user_vocabulary
Reads a userID and returns its index in the user_vocabulary
Reads a userID and returns its index in the user_vocabulary
int ReadUserID(FILE *fin) {
    char word[MAX_STRING];
    ReadWord(word, fin);
    if (feof(fin)) return -1;
    return SearchUser(word);
}
int ReadUserID ( FILE * fin ) { char word [ MAX_STRING ] ; ReadWord ( word , fin ) ; if ( feof ( fin ) ) return -1 ; return SearchUser ( word ) ; }
Reads a userID and returns its index in the user_vocabulary
Reads a userID and returns its index in the user_vocabulary