Skip to content

Commit

Permalink
Small update
Browse files Browse the repository at this point in the history
  • Loading branch information
kamperh committed Feb 6, 2017
1 parent 1649380 commit dd46d95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion segmentalist/unigram_acoustic_wordseg.py
Original file line number Diff line number Diff line change
Expand Up @@ -821,7 +821,7 @@ def forward_backward_viterbi(vec_embed_log_probs, log_p_continue, N,
t = N
log_prob = 0.
while True:
i = 0.5*(t - 1)*t
i = int(0.5*(t - 1)*t)
log_p_k = (
vec_embed_log_probs[i:i + t][-n_slices_max:n_slices_min_cut] +
log_alphas[:t][-n_slices_max:n_slices_min_cut]
Expand Down

0 comments on commit dd46d95

Please sign in to comment.