nltk.sem.Boxer.interpret_multi

Boxer.interpret_multi(input, discourse_id=None, question=False, verbose=False)[source]

Use Boxer to give a first order representation.

Parameters:
  • input – list of str Input sentences to parse as a single discourse
  • occur_index – bool Should predicates be occurrence indexed?
  • discourse_id – str An identifier to be inserted to each occurrence-indexed predicate.
Returns:

drt.DrtExpression