Skip to content

Instantly share code, notes, and snippets.

@acrymble
Created July 5, 2011 20:01
Show Gist options
  • Select an option

  • Save acrymble/1065775 to your computer and use it in GitHub Desktop.

Select an option

Save acrymble/1065775 to your computer and use it in GitHub Desktop.
Python ngram
i = 0
for items in wordlist:
print wordlist[i: i+5]
i += 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment