mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-09-19 05:54:20 +00:00
fix style
This commit is contained in:
parent
16ea305fbf
commit
c9bf1f49db
@ -334,10 +334,13 @@ class Nbest(object):
|
||||
if hasattr(lattice, "aux_labels"):
|
||||
# delete token IDs as it is not needed
|
||||
del word_fsa.aux_labels
|
||||
word_fsa_with_epsilon_loops = k2.linear_fsa_with_self_loops(word_fsa)
|
||||
word_fsa_with_epsilon_loops = k2.linear_fsa_with_self_loops(
|
||||
word_fsa
|
||||
)
|
||||
else:
|
||||
word_fsa_with_epsilon_loops = k2.linear_fst_with_self_loops(word_fsa)
|
||||
|
||||
word_fsa_with_epsilon_loops = k2.linear_fst_with_self_loops(
|
||||
word_fsa
|
||||
)
|
||||
|
||||
path_to_utt_map = self.shape.row_ids(1)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user