1, most code is from https://github.com/pcyin/tranX, and thanks them very much for sharing their code.
2, dependency.py is the feature generating script
3, change is made in the main model code of TranX, you need to understand the basic procedure and then use my changed part.