wrote the left and right tags map. For a feature we would like to use
merged depparser.cpp.