Skip to content

Commit

Permalink
fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiangming Liu authored and Jiangming Liu committed Jul 15, 2017
1 parent fc0683a commit b175ddb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion impl/Kparser.cc
Original file line number Diff line number Diff line change
Expand Up @@ -930,7 +930,7 @@ int main(int argc, char** argv) {
dwords += sentence.size();
for (unsigned z = 0; z < N_SAMPLES; ++z) {
ComputationGraph hg;
vector<unsigned> pred = parser.log_prob_parser(&hg,sentence,actions,&right,sample,true);
vector<unsigned> pred = parser.log_prob_parser(&hg,sentence,actions,&right,true,true);
int ti = 0;
for (auto a : pred) {
cout << adict.Convert(a);
Expand Down

0 comments on commit b175ddb

Please sign in to comment.