Skip to content

Commit

Permalink
fix ridiculous bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Your Name committed Oct 13, 2024
1 parent bd5e4d9 commit 12806c2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions datasets/phonemizer/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@ func NewDataset(filename string) (out map[Sample]bool) {
if _, ok := oneway[srcv]; ok {
continue
}
for option := range multiway[dsta[i]] {
for option := range multiway[srcv] {

if option != dsta[i] {
j := len(srca) - i
out[[...]uint32{
Expand Down Expand Up @@ -141,7 +142,7 @@ func NewDataset(filename string) (out map[Sample]bool) {
continue
}
j := len(srca) - i
option := dsta[i]
option := dsta[i]
out[[...]uint32{
hash.StringsHash(0, srca[1*i/2:i+j/2]),
hash.StringsHash(0, srca[2*i/3:i+j/3]),
Expand Down

0 comments on commit 12806c2

Please sign in to comment.