if previous_head_index >= 0:
                    previous_head_info = sentence_word_features[
                        previous_head_index
                    ]
                    previous_head_token = previous_head_info.token