The summarisation code for CappU. Python implementation.