Convert get_sentence to use the unpack_words method and add functions to convert from one format of the dependencies to the other.