Gramformer icon indicating copy to clipboard operation
Gramformer copied to clipboard

Edit start and end position

Open jvhoffbauer opened this issue 1 year ago • 1 comments

Are the start and end positions of edits spaCy token indices or is another way of tokenization used?

jvhoffbauer avatar Mar 16 '23 15:03 jvhoffbauer

The attribute highlight In Grammformer class, spaCy is used to tokenize input sentence and corrected sentence and this tokens are passed to errant, where these tokens are compared with the respective position.

akesh1235 avatar Jun 07 '23 18:06 akesh1235