docstr: Compute a look up table between spacy tokens (from spacy tokenizer)
  and conll pre-tokenized tokens
  Output: list[conll_index] => list of associated spacy tokens (assume spacy tokenizer has a finer granularity)
code: def get_conll_spacy_lookup(
      self, conll_tokens, spacy_tokens, debug=False
  ):
      """
      Compute a look up table between spacy tokens (from spacy tokenizer)
      and conll pre-tokenized tokens
      Output: list[conll_index] => list of associated spacy tokens (assume spacy tokenizer has a finer granularity)
      """
      lookup = []
      c_iter = (t for t in conll_tokens)
      s_iter = enumerate(t for t in spacy_tokens)
      i, s_tok = next(s_iter)
      for c_tok in c_iter:
          # if debug: print("conll", c_tok, "spacy", s_tok, "index", i)
          c_lookup = []
          while (
              i is not None
              and len(c_tok)
              and c_tok.startswith(s_tok.text)
          ):
              c_lookup.append(i)
              c_tok = c_tok[len(s_tok) :]
              i, s_tok = next(s_iter, (None, None))
              if debug and len(c_tok):
                  print(
                      "eating token: conll",
                      c_tok,
                      "spacy",
                      s_tok,
                      "index",
                      i,
                  )
          assert len(c_lookup), "Unmatched conll and spacy tokens"
          lookup.append(c_lookup)
      return lookup
  
imports: import re
  import argparse
  import time
  import os
  import io
  import pickle
  import spacy
  import numpy
  from tqdm import tqdm
  from neuralcoref.train.compat import unicode_
  from neuralcoref.train.document import Mention, Document, Speaker, EmbeddingExtractor, MISSING_WORD, extract_mentions_spans
  from neuralcoref.train.utils import parallel_process
label_desc: Use image node_id 2 for calling the ConllDoc obj's underlying member method code with example usage: obj.get_conll_spacy_lookup(conll_tokens, spacy_tokens, debug) and returns: lookup