code: def test_build(self):
      vocab = [
          "<UNK>",
          "I",
          "heard",
          "the",
          "news",
          "today",
          "have",
          "heard news today",
          "the news today",
      ]
      unk_token = "<UNK>"
      expected_model_buffer = gfile.GFile(
          EXPECTED_MODEL_BUFFER_PATH, "rb"
      ).read()
      self.assertEqual(
          pywrap_phrase_tokenizer_model_builder.build_phrase_model(
              vocab, unk_token, True, 0, False
          ),
          expected_model_buffer,
      )
  
file_path: text/tensorflow_text/core/pybinds/pywrap_phrase_tokenizer_model_builder_test.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from tensorflow.python.framework import test_util
  from tensorflow.python.platform import gfile
  from tensorflow.python.platform import test
  from tensorflow_text.core.pybinds import pywrap_phrase_tokenizer_model_builder
label_desc: Use image node_id 1 for calling the PywrapPhraseBuilderTest obj's underlying member method code with example usage: obj.test_build() without return types