i6_core.lm.reverse_arpa
¶
- class i6_core.lm.reverse_arpa.ReverseARPALmJob(*args, **kwargs)¶
Create a new LM in arpa format by reverting the n-grams of an existing Arpa LM.
- Parameters:
lm_path (Path) – Path to the existing arpa file
- static add_missing_backoffs(words, ngrams: List[Dict[str, Tuple]])¶
- run()¶
- tasks()¶
- Returns:
yields Task’s
- Return type:
list[sisyphus.task.Task]