code to find dependency parse and convert to a list of lists
dependency parse and similarity