code: def get_start_and_end_offset_of_token_from_spacy(token):
      start = token.idx
      end = start + len(token)
      return start, end
  
file_path: NeuroNER/neuroner/brat_to_conll.py
imports: import codecs
  import glob
  import json
  import os
  from pycorenlp import StanfordCoreNLP
  import spacy
  from neuroner import utils_nlp
label_desc: Use image node_id 1 for calling a global function with example usage: get_start_and_end_offset_of_token_from_spacy(token) and returns: start,  end