thu-spmi / CAT

A CRF-based ASR Toolkit
Apache License 2.0
326 stars 74 forks source link

fix an error. #7

Closed csukuangfj closed 4 years ago

csukuangfj commented 4 years ago

The extra int hides the global variable.

DEN_NUM_STATES and DEN_NUM_ARCS can be removed from the code since they are used only for debugging purposes.

csukuangfj commented 4 years ago

By the way, there is no need to put an extra space in this statement for vector<vector<int> > &alpha_next, since your code uses c++11.

The flag should be -std=c++11 and is NOT --std=c++11. Note that there is only one dash.