Commit 32d4db0e authored by Alexis Nasr's avatar Alexis Nasr
Browse files

modified mcd format, column index begins at 1 (used to be 0)

parent 1c1b0a6c
......@@ -155,6 +155,7 @@ mcd *mcd_read(char *mcd_filename, int verbose)
continue;
}
if(verbose) fprintf(stderr, "column = %d\tword feature = %s\trepresentation = %s\tfilename = %s\n", column, wf, representation, filename);
column--; /* in the mcd file, columns begin at index 1, in internal representation, columns begin at index 0 */
m->wf[column] = mcd_wf_code(wf);
m->wf_str[column] = strdup(wf);
if(m->wf[column] == -1){
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment