JohnGiorgi / seq2rel-ds

This is a companion repository to seq2rel (https://github.com/JohnGiorgi/seq2rel) which aims to make it easy to generate training data.
5 stars 1 forks source link

Refactor utils #10

Closed JohnGiorgi closed 3 years ago

JohnGiorgi commented 3 years ago

This PR is a major refactor of common/util.py and align/util.py. These changes were made mainly to consolidate code that is used by both the preprocess and the align submodules under common/util.py. In the near future, I am going to use this to clean up the scripts under align. This also adds a bunch of tests increasing test coverage.