If you’re interested in analysing how words are used in different contexts, or which words are more popular than others, analysing corporas, or just want to process people’s twitter / social media accounts to see who /what they’re positive about and what they don’t like so much, then python language programming can help.
And it’s easier than you think .
you can either search the internet for advice / videos on
“how to use python to….”
and generally end up watching some videos to learn. Just two points:
1 – make sure you actually do yourself on your computer what you see in the video (or read)
2 – as you “do” on your computer, play with what you’re doing, change it, experiment, have fun.
for learning about analysing language use, you can do the above, or follow the outline given below..
About the outline below, when followng it I recommend flexibility, i.e.
- skip stuff that’s boring
- look up more videos / articles for stuff that is difficult / more interesting
- skip stuff that is still difficult after the previous advice
- don’t be afraid at any moment to brach out into doing other things in python. THe stuff you learn will help with Natural Language Processing
- definitely watch videos of stuff with python for doing anything so you raise your awareness of capabilities (in tihs case it miught be a good idea not to worry about actually doing what you see, just watch and pick pu general ideas even if you’re not sure about everything that is going on)
- do stuff regularly, in smaller chunks
- play and tweak…
Step 1: (if you’re new to python)
learn the basics of python.: good place to start is this free online course
NOTE: if you EVER have a problem, and the program tells you something is wrong, copy the message the program gives you, put it into a search engine, and you will find links to a GREAT tutoring forum
Step 2: NLTK – Natural Language Toolkit
look into NLTK, a toolkit that helps analyse language:
a – watch videos 3,4,5,6 (click here)
NOTE: the book for NLTK is available online for free. Before, during or as you do step 2 a, you may like to read the first three chapters of the book (here)
b – then watch the series here (ignore the fact that the guy is working from the “black and white” command line, you can do the same things in a Python IDLE)
c- Do the course here (skipping stuff covered in the previous course)
At all times, any time you hav a question, pop it into a search engine to learn. There’s a lot of help for programming out there
after that look into regular expressions with python, scraping, plotting and other great stuff!!!