Statistical parser for Penn Treebank style data for constituency and dependency parsing using tree-adjoining grammars