segment-any-text / wtpsplit

Toolkit to segment text into sentences or other semantic units in a robust, efficient and adaptable way.
MIT License
677 stars 39 forks source link

Relax the requirements on numpy to allow numpy 2.0+ #126

Closed si14 closed 2 weeks ago

si14 commented 3 weeks ago

It seems that tests are passing with numpy==2.1.0 and it works for us. Do you think there are other issues we haven't encountered?

markus583 commented 2 weeks ago

Tested it and it seems to work for me, too. Good call, thank you!

si14 commented 2 weeks ago

Do you think you can cut a release so we can use the original wtpsplit instead of a fork? Thank you!

markus583 commented 2 weeks ago

Sure! We wanted to do so today. :)