code: def test_read_snippets_two_columns(tmp_path):
      """
      Test what happens when multiple columns are combined for the sentiment value
      """
      filename = tmp_path / "foo.csv"
      with open(filename, "w", encoding="utf-8") as fout:
          fout.write("FOO\tThis is a test\thappy\tfoo\n")
          fout.write("FOO\tThis is a second sentence\tsad\tbar\n")
          fout.write("FOO\tThis is a third sentence\tsad\tfoo\n")
  
      nlp = stanza.Pipeline(
          "en",
          dir=TEST_MODELS_DIR,
          processors="tokenize",
          download_method=None,
      )
  
      mapping = {
          ("happy", "foo"): 0,
          ("sad", "bar"): 1,
          ("sad", "foo"): 2,
      }
  
      snippets = process_utils.read_snippets(
          filename, (2, 3), 1, "en", mapping, nlp=nlp
      )
      assert len(snippets) == 3
      assert snippets == [
          SentimentDatum(sentiment=0, text=["This", "is", "a", "test"]),
          SentimentDatum(
              sentiment=1,
              text=["This", "is", "a", "second", "sentence"],
          ),
          SentimentDatum(
              sentiment=2, text=["This", "is", "a", "third", "sentence"]
          ),
      ]
  
file_path: stanza/stanza/tests/classifiers/test_process_utils.py
imports: import os
  import pytest
  import stanza
  from stanza.models.classifiers import data
  from stanza.models.classifiers.data import SentimentDatum
  from stanza.models.classifiers.utils import WVType
  from stanza.utils.datasets.sentiment import process_utils
  from stanza.tests import TEST_MODELS_DIR
  from stanza.tests.classifiers.test_data import train_file, dev_file, test_file
label_desc: Use image node_id 4 for calling a global function with example usage: test_read_snippets_two_columns(tmp_path) without return types