Closed davidweichiang closed 2 years ago
Closes #122 and #57.
It's a little unfortunate that there is quite a bit of duplicated code between sum_product.py and viterbi.py, but I think it's simpler than making a really fancy semiring for Viterbi derivations.
This is closely related to sum_product.py so I can send it to @kennethsible instead if preferred.
Closes #122 and #57.
It's a little unfortunate that there is quite a bit of duplicated code between sum_product.py and viterbi.py, but I think it's simpler than making a really fancy semiring for Viterbi derivations.