Feat: Adds the HMM and detection for one word

This commit is contained in:
Namu
2026-05-18 11:49:59 +02:00
commit 302b5f5d46
23 changed files with 1285 additions and 0 deletions

8
utils/__init__.py Normal file
View File

@@ -0,0 +1,8 @@
"""
Ce module contient des fonctions utilisataires
"""
def normalize_probabilities(prob_fr: float, prob_en: float, prob_it: float, searched: float) -> float:
sum = prob_fr + prob_en + prob_it
return searched / sum

Binary file not shown.