I have a functioning code to get character index of a plain text input using Spacy:
test_sentence = "Hi, this is is a test" test_sentence_res = nlp(