Skip to content

Instantly share code, notes, and snippets.

@AfonsoTsukamoto
Last active September 18, 2015 18:38
Show Gist options
  • Save AfonsoTsukamoto/68f2b65cf28126af5db5 to your computer and use it in GitHub Desktop.
Save AfonsoTsukamoto/68f2b65cf28126af5db5 to your computer and use it in GitHub Desktop.
StanfordNER with python wrapper
In [4]: ext.extract(u"""Hi Sebastian, Thanks for reaching out to us. My name is Kevin and I'll be happy to help you out! :) I understand that you're looking to use OAuth 2.0. Unfortunately, we don't support OAuth 2.0. We support HTTP Basic Auth. If you haven't already, you can find your API Key under your Account Details. Would you mind telling me a little more about why you'd like you use OAuth 2.0? Cheers, Kevin""")
Out[4]: [u'HTTP Basic Auth', u'Sebastian', u'Kevin', u'Kevin']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment