k2-fsa / k2

FSA/FST algorithms, differentiable, with PyTorch compatibility.
https://k2-fsa.github.io/k2
Apache License 2.0
1.11k stars 213 forks source link

WIP: add Swoosh #1141

Closed csukuangfj closed 1 year ago

csukuangfj commented 1 year ago

This PR only adds the forward function of SwooshL, which I think can be used as a basis to support

@yaozengwei I will close this PR and you can create a new PR to finish them.

yaozengwei commented 1 year ago

Thanks a lot!!!