code: def test_skip_gram_sample_with_text_vocab_subsample_vocab():
      """Tests skip-gram sampling with text vocab and vocab subsampling."""
      # Vocab file frequencies
      # and: 40
      # life: 8
      # the: 30
      # to: 20
      # universe: 2
      #
      # corpus_size for the above vocab is 40+8+30+20+2 = 100.
      with tempfile.TemporaryDirectory() as tmp_dir:
          text_vocab_freq_file = _make_text_vocab_freq_file(tmp_dir)
          _skip_gram_sample_with_text_vocab_subsample_vocab(
              text_vocab_freq_file
          )
  
imports: import csv
  import os
  import tempfile
  import numpy
  import pytest
  import tensorflow
  from tensorflow_addons import text
  from tensorflow_addons.text import skip_gram_ops
label_desc: Use image node_id 17 for calling a global function with example usage: test_skip_gram_sample_with_text_vocab_subsample_vocab() without return types