Execute the following script [using copy and paste or download the usp_file].This creates a stored procedure, usp_uploadfiles, on the master database so that it can be executed and called for any database.
Since words and tags are paired, we can treat the word as a condition and the tag as an event, and initialize a conditional frequency distribution with a list of condition-event pairs.
This lets us see a frequency-ordered list of tags given a word: We can reverse the order of the pairs, so that the tags are the conditions, and the words are the events. We will do this for the WSJ tagset rather than the universal tagset: Finally, let's look for words that are highly ambiguous as to their part of speech tag.
These techniques are useful in many areas, and tagging gives us a simple context in which to present them.
We will also see how tagging is the second step in the typical NLP pipeline, following tokenization.
If Exec is passed as a parameter it will execute the command directly--meaning upload all the files.