code: def compute_ngrams_insert_dict(args, text, ngrams):
      words, positions = get_words(text)
      if len(words) < args.min_ngram_size:
          return
  
      if len(words) < args.max_ngram_size:
          insert_dict(words, ngrams, positions[0])
  
      for i in range(len(words) - args.max_ngram_size + 1):
          insert_dict(
              words[i : i + args.max_ngram_size], ngrams, positions[i]
          )
  
imports: import argparse
  from functools import partial
  import json
  import multiprocessing
  import nltk
  import pickle
  import re
  import string
  import sys
  import time
label_desc: Use image node_id 6 for calling a global function with example usage: compute_ngrams_insert_dict(args, text, ngrams) without return types