Giter Club home page Giter Club logo

twittersentimentanalysisinazure's Introduction

Twitter sentiment analysis in Azure

This contains the guidance to provision resources in Azure for the Twitter Sentiment Analysis. You can do this in several ways:

  • With a build and release pipeline
  • With a script
  • By doing it manually

Here are the steps for doing it manually

Start by logging in to the Azure portal with your team account, https://portal.azure.com

Screenshot

  • Setup azure resources by doing the following steps:
    • Select create resource and select "Template deployment (deploy using custom templates)"

Screenshot

  • Select "Build your own template in the editor"

Screenshot

  • Copy and paste code from github, click save

Screenshot

  • Select your resource group and a location close to you (it must be one of the following)

Screenshot

  • Leave CommonName as it is and write prod as the environment name. Agree to the terms and click purchase

Screenshot

  • When the provisioning is done open your resource group and select your app service. Select + next to functions and create new function. Select HTTP trigger based on C# and call the function TwitterSentimentFunction

Screenshot

Screenshot

  • Click create and copy code from github, click save

Screenshot

Using the resources for sentiment analysis

Once you have deployed these resources, you will need a twitter application (ConsumerKey,ConsumerSecret) and can configure one the following Azure DevOps extensions:

twittersentimentanalysisinazure's People

Contributors

ganesh-gawande avatar magnustim avatar melborp avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

twittersentimentanalysisinazure's Issues

The code is not working for the Azure function run time version v2

Hi Taavi,

Would it be possible to make following change, so that if someone has created Azure function with run-time version 2 and paste this code - then also it would work for them.

public string HashTag { get; set; }
public double Score { get; set; }
public int NumberOfTweetsParsed { get; set; }

If we decorate above properties with Attribute then the code would work fine.

[JsonProperty(PropertyName = "HashTag" )]
public string HashTag { get; set; }
[JsonProperty(PropertyName = "Score" )]
public double Score { get; set; }
[JsonProperty(PropertyName = "NumberOfTweetsParsed" )]
public int NumberOfTweetsParsed { get; set; }

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.