Closed sudarshansivakumar closed 1 year ago
That would be possible. @Masboes, this would be a good first issue to pick up.
in spacy you could use the token.idx property to get the token's first character index. Then token.idx + len(token) to get the last character index. Is it useful ?
@sudarshansivakumar @shmouelsamares you can see a working example here.
Right now, when we call predictor.predict() we get the clusters as a list of lists, and the cluster heads along with their token indices. Is it possible to :