
Twitter からデータを読み込むことはできますか?
9 views (last 30 days)
Show older comments
MathWorks Support Team
on 16 May 2018
Answered: MathWorks Support Team
on 16 May 2018
Twitter 上のつぶやきを MATLAB に取り込み、テキスト解析を行いたいと思っています。
Twitter は API を提供しており、MATLAB で web API を使用するには webread 関数を使用しますが、Twitter API の形式は MATLAB の webread 関数では対応していないようです。
webread 関数以外に Twitter のデータを取り込む方法はないでしょうか。
Accepted Answer
MathWorks Support Team
on 16 May 2018
はい、あります。Datafeed Toolbox の twitter 関数を使用することで Twitter のツイート情報を取得することができます。
・Datafeed Toolbox: twitter 関数
https://jp.mathworks.com/help/datafeed/twitter.html
例えば、以下の例では Twitter API に接続した後、ポジティブ/ネガティブな単語辞書ファイルを読み込んで、ポジティブ/ネガティブなツイートの数を数えたり、評判の可視化や分析 (センチメント分析) を行っています。
英語の例:
- Conduct Sentiment Analysis Using Historical Tweets
https://jp.mathworks.com/help/datafeed/conduct-sentiment-analysis-using-historical-tweets.html
日本語の例:
- Twitter Sentiment Analysis demo in Japanese (Twitter 上の評判分析 日本語デモ)
https://www.mathworks.com/matlabcentral/fileexchange/67280

0 Comments
More Answers (0)
See Also
Categories
Find more on Text Data Preparation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!