Created
May 5, 2012 21:14
-
-
Save kwellman/2605622 to your computer and use it in GitHub Desktop.
Mining twitter blog post (init_queries.py)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def init_queries(): | |
phrases = [ | |
'wish there was', | |
'why isn\'t there', | |
'wish someone would create', | |
'somebody needs to create', | |
'somebody should create', | |
'someone needs to create', | |
'someone should create', | |
] | |
# add type of product (eg. app, site, or website) to end of phrases | |
return ['%s %s' % (p, suffix) for p in phrases for suffix in ['app', 'site', 'website']] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment