Skip to content

Commit

Permalink
Fix crash attempting to reference EflomalAligner
Browse files Browse the repository at this point in the history
  • Loading branch information
ddaspit committed Oct 13, 2023
1 parent f9e2517 commit 05ce590
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion silnlp/alignment/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,10 @@
"clear3_fa": (ClearAligner, "Clear-3-FA"),
"clear3_hmm": (ClearAligner, "Clear-3-HMM"),
"clab_fast_align": (FastAlign, "clab-FastAlign"),
"eflomal": (EflomalAligner, "Eflomal"),
}

if is_eflomal_available():
ALIGNERS["eflomal"] = (EflomalAligner, "Eflomal")

STEMMERS: Dict[str, Type[Stemmer]] = {
"snowball": SnowballStemmer,
Expand Down

0 comments on commit 05ce590

Please sign in to comment.