code: def _skip_gram_sample_with_text_vocab_subsample_vocab(
      text_vocab_freq_file,
  ):
      _text_vocab_subsample_vocab_helper(
          vocab_freq_file=text_vocab_freq_file,
          vocab_min_count=3,
          vocab_freq_dtype=tf.dtypes.int64,
      )
      _text_vocab_subsample_vocab_helper(
          vocab_freq_file=text_vocab_freq_file,
          vocab_min_count=3,
          vocab_freq_dtype=tf.dtypes.int64,
          corpus_size=100,
      )
  
      # The user-supplied corpus_size should not be less than the sum of all
      # the frequency counts of vocab_freq_file, which is 100.
      with pytest.raises(ValueError):
          _text_vocab_subsample_vocab_helper(
              vocab_freq_file=text_vocab_freq_file,
              vocab_min_count=3,
              vocab_freq_dtype=tf.dtypes.int64,
              corpus_size=99,
          )
  
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 18 for calling a global function with example usage: _skip_gram_sample_with_text_vocab_subsample_vocab(text_vocab_freq_file) without return types