improved summarization function
Merge branch 'master' of https://github.com/wikiviz/wikiviz