Skip to content

Instantly share code, notes, and snippets.

@interrogator
Created October 8, 2015 06:27
Show Gist options
  • Save interrogator/f5d3ae7592cae47138af to your computer and use it in GitHub Desktop.
Save interrogator/f5d3ae7592cae47138af to your computer and use it in GitHub Desktop.
use bnc
import pickle
import os
bnc = pickle.load(open('bnc.p', 'rb'))
lst = ['clinic', 'hospital', 'patient']
for w in lst:
print '%s: %d occurrences' % ( w, bnc[w])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment