code: def _build_trigram_indices(trigram_index):
      
      result = {}
      trigram_count = 0
      for key, val in csv.reader(open(trigram_index)):
          result[key] = int(val)
          trigram_count += 1
      return result, trigram_count
docs: Build a dictionary of trigrams and their indices from a csv