nltk.Boxer.interpret_sents

Boxer.interpret_sents(inputs, discourse_ids=None, question=False, verbose=False)[source]

Use Boxer to give a first order representation.

Parameters:
  • inputs – list of str Input sentences to parse as individual discourses
  • occur_index – bool Should predicates be occurrence indexed?
  • discourse_ids – list of str Identifiers to be inserted to each occurrence-indexed predicate.
Returns:

list of drt.DrtExpression