You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a handful of broken words with hyphen removed, and I want to predict if the hyphen in between should be recovered. I'm wondering how to achieve this with FlairScorer. Input example: ('state', 'of-the-art').
Hello. Thanks for the great project.
I have a handful of broken words with hyphen removed, and I want to predict if the hyphen in between should be recovered. I'm wondering how to achieve this with
FlairScorer
. Input example:('state', 'of-the-art')
.From the code:
dehyphen/dehyphen/dehyphen.py
Lines 51 to 57 in 92306a6
I imagine the following usage:
Output:
(0, 0, 1, 1)
, all wrong!Therefore, I suspect my usage is incorrect.
Could you please tell me how to achieve this function? Thank you so much!
The text was updated successfully, but these errors were encountered: