def test_tokenize_node_labels(self):
        self.assertEqual(tgrep.tgrep_tokenize(
            'S < @SBJ < (@VP < (@VB $.. @OBJ))'),
                         ['S', '<', '@SBJ', '<', '(', '@VP', '<', '(',
                          '@VB', '$..', '@OBJ', ')', ')'])
        self.assertEqual(tgrep.tgrep_tokenize(
            'S < @SBJ=s < (@VP=v < (@VB $.. @OBJ))'),
                         ['S', '<', '@SBJ', '=', 's', '<', '(', '@VP',
                          '=', 'v', '<', '(', '@VB', '$..', '@OBJ', ')',
                          ')'])
Test tokenization of labeled nodes.
dataset/ETHPy150Open nltk/nltk/nltk/test/unit/test_tgrep.py/TestSequenceFunctions.test_tokenize_node_labels