class_docstr: Class containing unit tests for nltk.tgrep.
class_docstr_tok: ["Class","containing","unit","tests","for","nltk.tgrep","."]
docstr: Test tokenization of segmented patterns.
docstr_tok: ["Test","tokenization","of","segmented","patterns","."]
code: def test_tokenize_segmented_patterns(self):
      """Test tokenization of segmented patterns."""
      self.assertEqual(
          tgrep.tgrep_tokenize(
              "S < @SBJ=s < (@VP=v < (@VB $.. @OBJ)) : =s .. =v"
          ),
          [
              "S",
              "<",
              "@SBJ",
              "=",
              "s",
              "<",
              "(",
              "@VP",
              "=",
              "v",
              "<",
              "(",
              "@VB",
              "$..",
              "@OBJ",
              ")",
              ")",
              ":",
              "=s",
              "..",
              "=v",
          ],
      )
  
imports: import unittest
  from nltk import tgrep
  from nltk.tree import ParentedTree
label_desc: Use image node_id 26 for calling the TestSequenceFunctions obj's underlying member method code with example usage: obj.test_tokenize_segmented_patterns() without return types