improve code of dependency sentence and syntactic patterns.