Python port of Boilerpipe library