Skip to content

Instantly share code, notes, and snippets.

@ravikiranj
Created May 8, 2012 21:43
Show Gist options
  • Select an option

  • Save ravikiranj/2639606 to your computer and use it in GitHub Desktop.

Select an option

Save ravikiranj/2639606 to your computer and use it in GitHub Desktop.
Sample Feature Vector
{
'contains(arm)': True, #notice this
'contains(articles)': False,
'contains(attended)': False,
'contains(australian)': False,
'contains(awfully)': False,
'contains(bloodwork)': True, #notice this
'contains(bombs)': False,
'contains(cici)': False,
.....
'contains(head)': False,
'contains(heard)': False,
'contains(hey)': False,
'contains(hurts)': True, #notice this
.....
'contains(irish)': False,
'contains(jokes)': False,
.....
'contains(women)': False
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment