TWITTER 2 DAY 32 - 11/10/14 LING 3820 & 6820 Natural Language Processing Harry Howard Tulane University.

Slides:



Advertisements
Similar presentations
MY NCBI (module 4.5). MODULE 4.5 PubMed/How to Use MY NCBI Instructions - This part of the: course is a PowerPoint demonstration intended to introduce.
Advertisements

TopicsBackNext MathXL for New Users East Los Angeles College Mathematics Lab.
MY NCBI (module 4.5). MODULE 4.5 PubMed/How to Use MY NCBI Instructions - This part of the:  course is a PowerPoint demonstration intended to introduce.
My System Profile and Password Reset Instructions PART 1 For every Core-CT User ID follow these steps to use the Automated Password Reset feature: 1.Log.
JavaScript is a client-side scripting language. Programs run in the web browser on the client's computer. (PHP, in contrast, is a server-side scripting.
Let’s Set Up Google. Open your Google Chrome Browser.
Password Reset Instructions PART 1 The following set-up tasks must be performed first in order to use the Automated Password Reset feature. 1.Log into.
TEXT STATISTICS 7 DAY /05/14 LING 3820 & 6820 Natural Language Processing Harry Howard Tulane University.
The CEP blog! An Introduction and how to. How can the CEP blog help us? Help manage Inbox Overload Provide a forum for in-depth discussions Publicize.
Downloading and Installing AutoCAD Architecture 2015 This is a 4 step process 1.Register with the Autodesk Student Community 2.Downloading the software.
Enabling Screen Sharing in the WizIQ Virtual Classroom accessed through Browser.
Step by Step Tutorial!.  Log onto  Click on the SignUp button at the top.
UNICODE & CONTROL DAY /24/14 LING 3820 & 6820 Natural Language Processing Harry Howard Tulane University.
WEEK 2 TOPIC : INTERNET (CONTINUED) This is the distribution of messages, information, fascimiles of documents e.t.c from one computer terminal.
TEXT STATISTICS 5 DAY /29/14 LING 3820 & 6820 Natural Language Processing Harry Howard Tulane University.
NLTK & BASIC TEXT STATS DAY /08/14 LING 3820 & 6820 Natural Language Processing Harry Howard Tulane University.
COMPUTATION WITH STRINGS 4 DAY 5 - 9/05/14 LING 3820 & 6820 Natural Language Processing Harry Howard Tulane University.
ON-LINE DOCUMENTS 3 DAY /17/14 LING 3820 & 6820 Natural Language Processing Harry Howard Tulane University.
Log on to Digital Locker Website You should be able to log on using Internet Explorer browser at the campus. You may need to log in using Mozilla FireFox.
UNICODE DAY /22/14 LING 3820 & 6820 Natural Language Processing Harry Howard Tulane University.
SCPHCA Member Section Instructions How to manage your profile’s notification preferences.
Use THIS LINK to get to AutoDesk’s Educational webpage.THIS LINK.
Click to create a Free Account! OR Login if you have your account.
A guide for WTPS staff. Overview This document will show you how to link your Remind and Twitter feeds with your Schoolwires website. Post ONCE to either.
Searching for training offers by competency name Log into My Learning Link, go to My Account 1.
Downloading and Installing Autodesk Revit 2016
SCRIPTS & FUNCTIONS DAY /06/14 LING 3820 & 6820 Natural Language Processing Harry Howard Tulane University.
How to Verify and Activate your Free APICS Student Membership For general questions, please contact: Steven Aspacher Senior Manager, Student Membership.
TWITTER DAY /07/14 LING 3820 & 6820 Natural Language Processing Harry Howard Tulane University.
WEB TEXT DAY /14/14 LING 3820 & 6820 Natural Language Processing Harry Howard Tulane University.
AWS Usage Tips SCS APAC MAR Agenda About Amazon Web Service Sign up the AWS account AWS Management Oracle Apps AMI – Siebel CRM – EBS R
Morton Instructional Technology Team Edline Student Activation.
Setting Up Your TSS Course. www/bcpss.org and log in.
Viruses. Learning Objectives: At the end of this lesson you should be able to:
REGULAR EXPRESSIONS 1 DAY 6 - 9/08/14 LING 3820 & 6820 Natural Language Processing Harry Howard Tulane University.
Password Reset Instructions PART 1 The following set-up tasks must be performed first in order to use the Automated Password Reset feature. 1.Log into.
TEXT STATISTICS 3 DAY /24/14 LING 3820 & 6820 Natural Language Processing Harry Howard Tulane University.
IT’S OUR FAVORITES!! Delicious: It’s What’s for Dinner.
Creating a Form. Accessing Docs Log into your USD 465 Google Account Click on the “Documents” link at the top of.
ON-LINE DOCUMENTS DAY /13/14 LING 3820 & 6820 Natural Language Processing Harry Howard Tulane University.
CONTROL 2 DAY /26/14 LING 3820 & 6820 Natural Language Processing Harry Howard Tulane University.
TWITTER 3 DAY /12/14 LING 3820 & 6820 Natural Language Processing Harry Howard Tulane University.
COMPUTATION WITH STRINGS 3 DAY 4 - 9/03/14 LING 3820 & 6820 Natural Language Processing Harry Howard Tulane University.
Log on to Your user name will be the same as your current address except after sign you must enter “irs-mos.org”.
CONTROL 3 DAY /29/14 LING 3820 & 6820 Natural Language Processing Harry Howard Tulane University.
How to set up a My Bookshelf account. In your web browser go to: Enter your school or library’s login.
Password Reset Instructions
Eagle Gate College/Provo College Group
Computation with strings 2 Day 3 - 9/02/16
Flat text 2 Day 7 - 9/14/16 LING 3820 & 6820 Natural Language Processing Harry Howard Tulane University.
Password Reset Instructions
Regular expressions 2 Day /23/16
Introduction to From the Saint Paul Public Library.
Student Registration for Math XL® for School
LING 3820 & 6820 Natural Language Processing Harry Howard
control 4 Day /01/14 LING 3820 & 6820 Natural Language Processing
LING 3820 & 6820 Natural Language Processing Harry Howard
Multi-Factor Authentication
Control 3 Day /05/16 LING 3820 & 6820 Natural Language Processing
NLP 2 Day /07/16 LING 3820 & 6820 Natural Language Processing
Regular expressions 3 Day /26/16
Student Registration for Math XL® for School
Most Effective and Popular Social Networking Site
Welcome to Office 365!.
Computation with strings 4 Day 5 - 9/09/16
EMPLOYEE ACTION MANUAL FOR MANAGERS
HAWTHORNS SURGERY – ONLINE SERVICES
Control 1 Day /30/16 LING 3820 & 6820 Natural Language Processing
The first time you login in to the upgraded system, please select ‘Forgotten your password?’ to reset your password before using the system.
Module 1.3 Introduction to the HFR Administration Module
Presentation transcript:

TWITTER 2 DAY /10/14 LING 3820 & 6820 Natural Language Processing Harry Howard Tulane University

Course organization 10-Nov-2014NLP, Prof. Howard, Tulane University 2   The syllabus is under construction.   Chapter numbering  3.7. How to deal with non-English characters 3.7. How to deal with non-English characters  4.5. How to create a pattern with Unicode characters 4.5. How to create a pattern with Unicode characters  6. Control 6. Control

Open Spyder 10-Nov NLP, Prof. Howard, Tulane University

Twitter Review 10-Nov NLP, Prof. Howard, Tulane University

Get an app account  The first thing to do is to sign up for a Twitter account at twitter.com, if you don’t already have one. Then point your browser at Twitter Apps and log in with your new account credentials. At the top right corner, click on the Create New App button. In the form that opens up, give your new app any name you want, describe at as “computational culture with Twitter”, use Tulane’s URL “ as the website, click the button to agree with the Developer Agreement, and click on Create your Twitter application.twitter.comTwitter Appshttp://  On the next page, select API Keys from the menu. On the Application settings page, for the time being, you can keep the access level at Read- only. Scroll down the page and click on create my access token. You will get a confirmation message at the top of the page. You may want to click the reset link to hurry the process along.  There are now four crucial pieces of information that you will need to make note of: API key, API secret, Access token and Access token secret. Since these are long and unwieldy strings, you should copy and paste them into some handy place immediately 10-Nov-2014NLP, Prof. Howard, Tulane University 5

Tweepy installation In the Terminal: $ pip install –U tweepy 10-Nov-2014NLP, Prof. Howard, Tulane University 6

I ed you the script tweepies.py §10 Twitter 10-Nov NLP, Prof. Howard, Tulane University

logon() 1. def logon(): 2. import tweepy 3. API_KEY = 'your_info_here' 4. API_SECRET = 'your_info_here' 5. ACCESS_TOKEN = 'your_info_here' 6. ACCESS_TOKEN_SECRET = 'your_info_here' 7. key = tweepy.OAuthHandler(API_KEY, API_SECRET) 8. key.set_access_token(ACCESS_TOKEN, ACCESS_TOKEN_SECRET) 9. return key 10-Nov-2014NLP, Prof. Howard, Tulane University 8

The other functions of tweepies.py 1. stream2screen(num, terms) 2. stream2var(num, terms) 3. stream2file(num, terms) 4. json2screen(num, terms) 5. json2screenpretty(num, terms) 6. dict2screen(num, terms) 7. dict2var(num, terms) 10-Nov-2014NLP, Prof. Howard, Tulane University 9

Usage  >>> from tweepies import stream2screen  >>> stream2screen(20, ['#KickMe']) 10-Nov-2014NLP, Prof. Howard, Tulane University 10

What they do 1. stream2screen(num, terms) 2. stream2var(num, terms) 3. stream2file(num, terms) 4. json2screen(num, terms) 5. json2screenpretty(num, terms) 6. dict2screen(num, terms) 7. dict2var(num, terms) 10-Nov-2014NLP, Prof. Howard, Tulane University 11

Quiz  Task: can you find a group of words that will distinguish two Twitter topics?  How to do it  Collect 500+ tweets from two trending topics into different variables.  Run each through a FreqDist to find frequent words that may be unique to each topic (filter out the stop words).  Use these key words in a ConditionalFreqDist to show how well they would work in identifying or classifying each topic. 10-Nov-2014NLP, Prof. Howard, Tulane University 12

More twitter Next time 10-Nov-2014NLP, Prof. Howard, Tulane University 13