GithubHelp home page GithubHelp logo

rlugojr / tm.plugin.sentiment Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mannau/tm.plugin.sentiment

0.0 2.0 0.0 56 KB

Retrieve structured, textual data from various web sources.

License: GNU General Public License v3.0

R 73.31% Makefile 0.85% TeX 25.84%

tm.plugin.sentiment's Introduction

License tm.plugin.sentiment

tm.plugin.sentiment calculates the sentiment from (tm text corpora based on simple word counts. The package already includes a sentiment dictionary from the General Inquirer which can be replaced by custom ones. Build up of sentiment time series in xts and charting using facilities of quantmod are also supported.

Install

Using the devtools package you can easily install the latest development version of tm.plugin.sentiment from github with

library(devtools)
install_github("mannau/tm.plugin.sentiment")

Usage

The following lines show the basic functionality calculating the sentiment for the Apple (AAPL) stock:

library(tm.plugin.sentiment)

# retrieve corpus
require(tm.plugin.webmining)
corp = WebCorpus(GoogleFinanceSource("AAPL"))

# score corpus
corp <- score(corp)
sentixts <- metaXTS(corp)

# chart sentiment scores
chartSentiment(sentixts)

License

tm.plugin.sentiment is released under the GNU General Public License Version 3

tm.plugin.sentiment's People

Contributors

mannau avatar

Watchers

Ray Lugo, Jr. avatar  avatar

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.