code: def sample_words(N=10000, num_conds=2):
      items = []
      for k in tqdm(range(N)):
          conditions = generate_conditions(num_conds, maxpos=4)
          prompt, constraints = conditions_to_prompt(conditions)
          popularity = count_satisfying_words(conditions)
          full_prompt = f"User: {prompt}\nAssistant: Yes, the word is"
          items.append(
              {
                  "prompt": full_prompt,
                  "conditions": conditions,
                  "constraints": constraints,
                  "popularity": popularity,
              }
          )
      return items
  
imports: import requests
  import os
  import pickle
  import random
  from tqdm import tqdm
  from nltk.corpus import words
label_desc: Use image node_id 15 for calling a global function with example usage: sample_words(N, num_conds) and returns: items