Skip to content

Instantly share code, notes, and snippets.

@tommyp
Created March 21, 2011 21:10
Show Gist options
  • Save tommyp/880222 to your computer and use it in GitHub Desktop.
Save tommyp/880222 to your computer and use it in GitHub Desktop.
control_words = ControlWord.create([
{:text => 'death', :status => 'negative'},
{:text => 'murder', :status => 'negative'},
{:text => 'war', :status => 'negative'},
{:text => 'dead', :status => 'negative'},
{:text => 'crisis', :status => 'negative'},
{:text => 'threat', :status => 'negative'},
{:text => 'bomb', :status => 'negative'},
{:text => 'killed', :status => 'negative'},
{:text => 'protest', :status => 'negative'},
{:text => 'terrorist', :status => 'negative'},
{:text => 'terrorism', :status => 'negative'},
{:text => 'critical', :status => 'negative'},
{:text => 'dies', :status => 'negative'},
{:text => 'fire', :status => 'negative'},
{:text => 'hope', :status => 'positive'},
{:text => 'peace', :status => 'positive'},
{:text => 'rise', :status => 'positive'},
{:text => 'ceasefire', :status => 'positive'},
{:text => 'save', :status => 'positive'},
{:text => 'boost', :status => 'positive'},
{:text => 'boosts', :status => 'positive'},
{:text => 'birth', :status => 'positive'},
{:text => 'open', :status => 'positive'}
])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment