nltk.Boxer

class nltk.Boxer(boxer_drs_interpreter=None, elimeq=False, bin_dir=None, verbose=False, resolve=True)[source]

This class is an interface to Johan Bos’s program Boxer, a wide-coverage semantic parser that produces Discourse Representation Structures (DRSs).

Methods

__init__([boxer_drs_interpreter, elimeq, ...])
param boxer_drs_interpreter:
 A class that converts from the
interpret(input[, discourse_id, question, ...]) Use Boxer to give a first order representation.
interpret_multi(input[, discourse_id, ...]) Use Boxer to give a first order representation.
interpret_multi_sents(inputs[, ...]) Use Boxer to give a first order representation.
interpret_sents(inputs[, discourse_ids, ...]) Use Boxer to give a first order representation.
set_bin_dir(bin_dir[, verbose])