Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
文献紹介:Sentiment Analysis of Conditional Sentences
Search
Shohei Okada
August 05, 2014
Research
0
180
文献紹介:Sentiment Analysis of Conditional Sentences
動画
http://youtu.be/FFgV0qOsL9Q?list=UUhwtfJp9l_thFbFDWXoGWEQ
Shohei Okada
August 05, 2014
Tweet
Share
More Decks by Shohei Okada
See All by Shohei Okada
たった 1 枚の PHP ファイルで実装する MCP サーバ / MCP Server with Vanilla PHP
okashoi
1
390
どうして手を動かすよりもチーム内のコードレビューを優先するべきなのか
okashoi
3
1.5k
パスワードのハッシュ、ソルトってなに? - What is hash and salt for password?
okashoi
3
240
設計の考え方 - インターフェースと腐敗防止層編 #phpconfuk / Interface and Anti Corruption Layer
okashoi
11
4.2k
"config" ってなんだ? / What is "config"?
okashoi
0
1.3k
ファイル先頭の use の意味、説明できますか? 〜PHP の namespace と autoloading の関係を正しく理解しよう〜 / namespace and autoloading in php
okashoi
4
1.7k
MySQL のインデックスの種類をおさらいしよう! / overviewing indexes in MySQL
okashoi
0
960
PHP における静的解析(あるいはそもそも静的解析とは) / #phpcondo_yasai static analysis for PHP
okashoi
1
650
【PHPカンファレンス沖縄 2023】素朴で考慮漏れのある PHP コードをテストコードとともに補強していく(ライブコーディング補足資料) / #phpcon_okinawa 2023 livecoding supplementary material
okashoi
3
2k
Other Decks in Research
See All in Research
IMC の細かすぎる話 2025
smly
2
590
電通総研の生成AI・エージェントの取り組みエンジニアリング業務向けAI活用事例紹介
isidaitc
1
900
20250502_ABEJA_論文読み会_スライド
flatton
0
200
Adaptive Experimental Design for Efficient Average Treatment Effect Estimation and Treatment Choice
masakat0
0
100
電力システム最適化入門
mickey_kubo
1
870
近似動的計画入門
mickey_kubo
4
1k
とあるSREの博士「過程」 / A Certain SRE’s Ph.D. Journey
yuukit
9
4.1k
20250624_熊本経済同友会6月例会講演
trafficbrain
1
580
Submeter-level land cover mapping of Japan
satai
3
240
20250605_新交通システム推進議連_熊本都市圏「車1割削減、渋滞半減、公共交通2倍」から考える地方都市交通政策
trafficbrain
0
720
snlp2025_prevent_llm_spikes
takase
0
140
CSP: Self-Supervised Contrastive Spatial Pre-Training for Geospatial-Visual Representations
satai
3
250
Featured
See All Featured
Building Applications with DynamoDB
mza
96
6.6k
GitHub's CSS Performance
jonrohan
1032
460k
Thoughts on Productivity
jonyablonski
69
4.8k
Side Projects
sachag
455
43k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
8
490
Speed Design
sergeychernyshev
32
1.1k
Code Review Best Practice
trishagee
70
19k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
53
2.9k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
15
1.6k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
30
9.6k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Transcript
文献紹介 2014/08/05 長岡技術科学大学 自然言語処理研究室 岡田 正平
文献情報 Ramanathan Narayanan, Bing Liu and Alok Choudhary Sentiment Analysis
of Conditional Sentences In Proceedings of the 2009 Conference on Empirical Methods in Natural Language Processing, pp 180- 189. 2009 2014/8/5 文献紹介 2
概要 • 条件付きの文に対する感情解析 e.g.) if your Nokia phone is not
good, buy this great Samsung phone • 条件を表す接続詞や動詞の時制に基づく素性を利用した 教師あり学習 • 5つのドメインのテキストを利用した実験にて 提案手法の有効性を確認 2014/8/5 文献紹介 3
背景
背景 • 感情解析において,one-technique-fit-all な手法は無い – 文のタイプごとに異なる手法が必要 • 本論文では条件付きの文を扱う – 普通の感情解析の手法では失敗しやすい
– 言語学的な知識を機械学習の素性に利用 2014/8/5 文献紹介 5
背景 条件付き文 • 全体の文の8%程度を占める • 大半が条件の接続詞を含んでいる • 条件節と結果節の2節からなる • 感情や評価を表す語を含んでいても,文としては必ずし
も意見を表していない(次頁) 2014/8/5 文献紹介 6
背景 例) If some one makes a beautiful and reliable
car, I will buy it. If your Nokia phone is not good, buy this great Samsung phone. If you want a phone with good voice quality, buy this. 2014/8/5 文献紹介 7
条件付き文の種類
条件付き文の種類 • 言語学的観点による条件付き文の分類 – Zero ~ Third Conditional の4種類 •
条件節と結果節の動詞の時制により自動で分類 2014/8/5 文献紹介 9
条件付き文の種類 Zero Conditional • 事実や,確実に起こることを表す • 条件節,結果節ともに時制は単純現在 例)If you heat
water, it boils. 2014/8/5 文献紹介 10
条件付き文の種類 First Conditional • 条件節の内容が高確率で起こる • 条件節は単純現在 • 結果節は過去か現在で,助動詞をとる 例)If
the acceleration is good, I will buy it. 2014/8/5 文献紹介 11
条件付き文の種類 Second Conditional • 起こる可能性の低い状況を表す • 条件節の時制は過去 • 結果節は過去形の助動詞をとる 例)If
the cell phone was robust, I would consider buying it. 2014/8/5 文献紹介 12
条件付き文の種類 Third Conditional • 事実に反する状況を表す • 条件節の時制は過去完了 • 結果節の時制は現在完了 例)If
I had bought the a767, I would have hated it. 2014/8/5 文献紹介 13
条件付き文の種類 ※POSは Penn Treebank Project のもの 2014/8/5 文献紹介 14
条件付き文の感情解析
条件付き文の感情解析 • 製品・サービスの属性に対して positive / negative / neutral かを判定 –
属性はすでに与えられているとする • 教師あり学習を用いた分類 2014/8/5 文献紹介 16
条件付き文の感情解析 • 3種類の分類戦略 – Clause-based classification • 条件節と結果節それぞれを分類 – Consequent-based
classification • 結果節のみを分類 – Whole-sentence-based classification • 文中の属性を分類 2014/8/5 文献紹介 17
条件付き文の感情解析 | 素性 I. 感情を表す語句とその位置 II. 感情を表す語の品詞 III. 条件の接続詞付近の意見を表さない語 –
wondering, thinking, debating 等 IV. 条件付き文の種類 2014/8/5 文献紹介 18
条件付き文の感情解析 | 素性 V. 特定の文字の有無 – ?, ! VI. 条件の接続詞の種類
– if, even if, unless, only if 等 VII. 条件節,結果節の長さ VIII. 感情を表す語句付近の否定の語 2014/8/5 文献紹介 19
条件付き文の感情解析 | 素性 Whole-sentence-based classification のみ (1) 属性が条件節にあるか結果節にあるか (2) 属性に対する意見の重み
= � ±1 ∈ 𝑠 𝑠𝑠𝑠: 感情を表す語 : 属性との距離 2014/8/5 文献紹介 20
実験
実験 | データ • 5種類のドメインの user forum の文 – Cellphone,
Automobile, LCD TV, Audio systems and Medicine • 計1,378文の条件付き文に人手タグ付け – 1人が属性について – 2人がそれに対する極性について ( = 0.63) 2014/8/5 文献紹介 22
実験 • 分類にはSVMを利用 – Gaussian カーネル • 10分割交差検定による評価 • Two-class
classification (positive / negative) と Three-class classification (positive / negative / neutral) の 両方を評価 2014/8/5 文献紹介 23
実験 | 結果 2-class 2014/8/5 文献紹介 24
実験 | 結果 2-class 2014/8/5 文献紹介 25
実験 | 結果 2-class 2014/8/5 文献紹介 26
実験 | 結果 2-class 2014/8/5 文献紹介 27
実験 | 結果 2-class 2014/8/5 文献紹介 28
実験 | 結果 2-class 2014/8/5 文献紹介 29
実験 | 結果 3-class 2014/8/5 文献紹介 30
実験 | 結果 3-class 2014/8/5 文献紹介 31
実験 | 結果 3-class 2014/8/5 文献紹介 32
実験 | 結果 3-class 2014/8/5 文献紹介 33