#!/usr/bin/env python

from __future__ import print_function
from sunlight import capitolwords

newt = "G000225"

favorate_phrases = capitolwords.phrases( "legislator", "G000225", sort="count desc")
for phrase in favorate_phrases:
    print( "%s: %s" % ( phrase['ngram'], phrase['count'] ))

