The Network is the Computer: Mining Content in the Cloud

--

There’s an increasing need for the mining of content on social media and to find significant words. You might not know it, but there’s a whole lot of mining agents on the Internet who are trying to make some sense of your posts and your sentiment.

For law enforcement it is phrases such as “bomb”, “explosion” and “attack”, but for hotel sites, it might be “I hated the room”, “tear in carpet” and “such a lovely view”. And so we can turn to the Cloud to be able to mime content and find the most significant words. One of the Cloud services around is the Microsoft Text Analysis Cognitive Service. So let’s take an example:

Theresa May has said proposed changes to social care funding in 
England will now include an absolute limit on the money people
will have to pay.

If you use the cognitive services within the Microsoft Cognitive Services we get [link]:

Here is the code we are using:

import httplib, urllib, base64
import sys
import json
headers = {
# Request headers
'Content-Type': 'application/json',
'Ocp-Apim-Subscription-Key': 'KEY GOES HERE',
}

--

--

Prof Bill Buchanan OBE FRSE
ASecuritySite: When Bob Met Alice

Professor of Cryptography. Serial innovator. Believer in fairness, justice & freedom. Based in Edinburgh. Old World Breaker. New World Creator. Building trust.