code: def testTwoLangs(self):
      with TestPipeline() as p:
          tokens = p | "CreateInput" >> beam.Create(self.sample_input)
          result = tokens | beam.ParDo(utils.CompileTokenizationInfo())
          assert_that(
              result,
              equal_to(
                  [
                      {
                          "lang": "en",
                          "count": 1,
                          "num_preserved_chars": 13,
                          "num_dropped_chars": 2,
                          "num_non_unk_wordpieces": 4,
                          "preserved_ratio": [13 / 4],
                          "dropped_ratio": [2 / 15],
                          "wordpieces": collections.Counter(
                              ["the", "app", "##le", "sauce"]
                          ),
                      },
                      {
                          "lang": "fr",
                          "count": 1,
                          "num_preserved_chars": 14,
                          "num_dropped_chars": 0,
                          "num_non_unk_wordpieces": 5,
                          "preserved_ratio": [14 / 5],
                          "dropped_ratio": [0],
                          "wordpieces": collections.Counter(
                              ["bon", "##jour", "bon", "##soir"]
                          ),
                      },
                  ]
              ),
          )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import collections
  import logging
  import tempfile
  from absl.testing import absltest
  import apache_beam
  from apache_beam.testing.test_pipeline import TestPipeline
  from apache_beam.testing.util import assert_that
  from apache_beam.testing.util import equal_to
  import tensorflow.compat.v1
  from tensorflow_text.tools.wordpiece_vocab import utils
label_desc: Use image node_id 2 for calling the CompileTokenizationInfoTest obj's underlying member method code with example usage: obj.testTwoLangs() without return types