nltk.RTEFeatureExtractor.overlap

RTEFeatureExtractor.overlap(toktype, debug=False)[source]

Compute the overlap between text and hypothesis.

Parameters:toktype ('ne' or 'word') – distinguish Named Entities from ordinary words