nltk.MaltParser.train

MaltParser.train(depgraphs, verbose=False)[source]

Train MaltParser from a list of DependencyGraph objects

Parameters:depgraphs (DependencyGraph) – list of DependencyGraph objects for training input data