Skip to content

Commit 194be5e

Browse files
authored
Merge pull request #112 from go-inoue/fix_bert_scoring
Fixed missing diac error.
2 parents 794d18e + 7b5b900 commit 194be5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

camel_tools/disambig/bert/unfactored.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ def _scored_analyses(self, word_dd, prediction):
470470
# return the predictions from BERT
471471
return [ScoredAnalysis(0, # score
472472
bert_analysis, # analysis
473-
bert_analysis['diac'], # diac
473+
word_dd, # diac
474474
-99, # pos_lex_logprob
475475
-99, # lex_logprob
476476
)]

0 commit comments

Comments
 (0)