mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-09-04 06:34:20 +00:00
fix style
This commit is contained in:
parent
a7cb40a0a0
commit
a8c10536de
@ -159,7 +159,9 @@ class ContextGraph:
|
||||
node = self.root
|
||||
# If has customized score using the customized token score, otherwise
|
||||
# using the default score
|
||||
context_score = self.context_score if score == 0.0 else round(score / len(tokens), 2)
|
||||
context_score = (
|
||||
self.context_score if score == 0.0 else round(score / len(tokens), 2)
|
||||
)
|
||||
for i, token in enumerate(tokens):
|
||||
node_next = {}
|
||||
if token not in node.next:
|
||||
|
Loading…
x
Reference in New Issue
Block a user