nltk.MaltParser.generate_malt_command

MaltParser.generate_malt_command(inputfilename, outputfilename=None, mode=None)[source]

This function generates the maltparser command use at the terminal.

Parameters:
  • inputfilename (str) – path to the input file
  • outputfilename (str) – path to the output file