Gramformer
Gramformer copied to clipboard
Edit start and end position
Are the start and end positions of edits spaCy token indices or is another way of tokenization used?
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.