Skip to content

Commit

Permalink
Merge pull request #112 from go-inoue/fix_bert_scoring
Browse files Browse the repository at this point in the history
Fixed missing diac error.
  • Loading branch information
owo authored Mar 6, 2023
2 parents 794d18e + 7b5b900 commit 194be5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion camel_tools/disambig/bert/unfactored.py
Original file line number Diff line number Diff line change
Expand Up @@ -470,7 +470,7 @@ def _scored_analyses(self, word_dd, prediction):
# return the predictions from BERT
return [ScoredAnalysis(0, # score
bert_analysis, # analysis
bert_analysis['diac'], # diac
word_dd, # diac
-99, # pos_lex_logprob
-99, # lex_logprob
)]
Expand Down

0 comments on commit 194be5e

Please sign in to comment.