1ytic / pytorch-edit-distance

Levenshtein edit-distance on PyTorch and CUDA
MIT License
94 stars 14 forks source link

How to use this work in C++ project? #11

Open yyh834771838 opened 2 years ago

yyh834771838 commented 2 years ago

I want to use this great work in my c++ project to compute the edit distance of two int* arrays? How should I modify the edit-distance.cu file? Input: two int[] array. Output: an integer(edit distance). Thank you very much!