nltk.PunktSentenceTokenizer.debug_decisions

PunktSentenceTokenizer.debug_decisions(text)[source]

Classifies candidate periods as sentence breaks, yielding a dict for each that may be used to understand why the decision was made.

See format_debug_decision() to help make this output readable.