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
170
文献紹介: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
280
どうして手を動かすよりもチーム内のコードレビューを優先するべきなのか
okashoi
3
1.4k
パスワードのハッシュ、ソルトってなに? - What is hash and salt for password?
okashoi
3
210
設計の考え方 - インターフェースと腐敗防止層編 #phpconfuk / Interface and Anti Corruption Layer
okashoi
11
3.9k
"config" ってなんだ? / What is "config"?
okashoi
0
1.2k
ファイル先頭の use の意味、説明できますか? 〜PHP の namespace と autoloading の関係を正しく理解しよう〜 / namespace and autoloading in php
okashoi
4
1.6k
MySQL のインデックスの種類をおさらいしよう! / overviewing indexes in MySQL
okashoi
0
900
PHP における静的解析(あるいはそもそも静的解析とは) / #phpcondo_yasai static analysis for PHP
okashoi
1
610
【PHPカンファレンス沖縄 2023】素朴で考慮漏れのある PHP コードをテストコードとともに補強していく(ライブコーディング補足資料) / #phpcon_okinawa 2023 livecoding supplementary material
okashoi
3
1.9k
Other Decks in Research
See All in Research
在庫管理のための機械学習と最適化の融合
mickey_kubo
3
1.1k
大規模な2値整数計画問題に対する 効率的な重み付き局所探索法
mickey_kubo
1
270
Delta Airlines® Customer Care in the U.S.: How to Reach Them Now
bookingcomcustomersupportusa
PRO
0
100
Generative Models 2025
takahashihiroshi
21
12k
20250605_新交通システム推進議連_熊本都市圏「車1割削減、渋滞半減、公共交通2倍」から考える地方都市交通政策
trafficbrain
0
550
診断前の病歴テキストを対象としたLLMによるエンティティリンキング精度検証
hagino3000
1
110
ASSADS:ASMR動画に合わせて撫でられる感覚を提示するシステムの開発と評価 / ec75-shimizu
yumulab
1
410
Mechanistic Interpretability:解釈可能性研究の新たな潮流
koshiro_aoki
1
330
データサイエンティストの就労意識~2015→2024 一般(個人)会員アンケートより
datascientistsociety
PRO
0
720
SSII2025 [SS1] レンズレスカメラ
ssii
PRO
2
980
Computational OT #4 - Gradient flow and diffusion models
gpeyre
0
320
研究テーマのデザインと研究遂行の方法論
hisashiishihara
5
1.5k
Featured
See All Featured
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.4k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.4k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
130
19k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Speed Design
sergeychernyshev
32
1k
Automating Front-end Workflow
addyosmani
1370
200k
Bash Introduction
62gerente
613
210k
How GitHub (no longer) Works
holman
314
140k
What’s in a name? Adding method to the madness
productmarketing
PRO
23
3.5k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
3.1k
Unsuck your backbone
ammeep
671
58k
Stop Working from a Prison Cell
hatefulcrawdad
271
21k
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