Skip to content

Commit

Permalink
Fixed some infixes and multiwords
Browse files Browse the repository at this point in the history
  • Loading branch information
lizardgai4 committed Feb 22, 2025
1 parent 0e14802 commit aa3dbe6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions cache.go
Original file line number Diff line number Diff line change
Expand Up @@ -561,9 +561,8 @@ func CacheDictHashOrig(mysql bool) error {
if strings.Contains(word.IPA, " or ") {
multiIPA += word.Navi + " "
secondTerm := RomanizeSecondIPA(word.IPA)
secondTerm = dialectCrunch([]string{secondTerm}, true)[0]
if secondTerm != standardizedWord {
dictHashLoose[secondTerm] = append(dictHashLoose[secondTerm], word)
dictHashLoose[dialectCrunch([]string{secondTerm}, true)[0]] = append(dictHashLoose[dialectCrunch([]string{secondTerm}, true)[0]], word)
dictHashStrict[secondTerm] = append(dictHashStrict[secondTerm], word)
}
}
Expand Down
2 changes: 1 addition & 1 deletion fwew.go
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ func TranslateFromNaviHashHelper(dict *map[string][]Word, start int, allWords []
} else {
for range len(allWords) {
containsUmlaut = append(containsUmlaut, true)
containsTìftang = append(containsTìftang, true)
containsTìftang = append(containsTìftang, false)
}

searchNaviWord = allWords[i]
Expand Down

0 comments on commit aa3dbe6

Please sign in to comment.