Skip to content

Instantly share code, notes, and snippets.

@johnlaudun
Last active January 31, 2017 18:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save johnlaudun/e348c561607d6369cc8dde8e784e3eac to your computer and use it in GitHub Desktop.
Save johnlaudun/e348c561607d6369cc8dde8e784e3eac to your computer and use it in GitHub Desktop.
Here's the text as I wrote it in Markdown and as it sits in the WP editing pane:
We still need to identify which talks have floats for values and determine what impact, if any, it has on the project.
```python
import nltk
tt_tokens = nltk.word_tokenize(all_words)
tt_freq = {}
for word in tt_tokens:
try:
tt_freq[word] += 1
except:
tt_freq[word] = 1
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment