box-key / cyzil

A tool for fast and in-depth analysis of sequence generation model in Cython
Apache License 2.0
1 stars 0 forks source link

Alternative of tuple #4

Closed box-key closed 4 years ago

box-key commented 4 years ago

For Bleu score or edit distance, it seems like struct is appropriate to hold a group of values. See the following like for reference https://share.cocalc.com/share/c4cb4a9830136f7bdc07b11c803665cc99b3d899/advanced-cython.html?viewer=share

For this issue, I can just replace this line with precision, bp, blue_score and change the return type to `(dtype, dtype, dtype).