I am parsing a sentence with Spacy like following:
import spacy
nlp = spacy.load("en")
span = nlp("This is some text.")
I am wondering if there is a way to delete a word in the span, while still keep the remaining words format like a sentence. Such as
del span[3]
which could yield a sentence like
This is some.
If some other methods without SpaCy could achieve the same effect that will be great too.