Skip to content

Commit

Permalink
[add] the score matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
Oneplus committed Nov 25, 2014
1 parent 89465ae commit d84981a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/segmentor/score_matrix.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ struct ScoreMatrix {
math::Mat< double > uni_scores;
math::Mat< double > bi_scores;

/**
* Clear the ScoreMatrix.
*/
void clear() {
uni_scores.dealloc();
bi_scores.dealloc();
Expand Down

0 comments on commit d84981a

Please sign in to comment.