SlideShare une entreprise Scribd logo
1  sur  19
Télécharger pour lire hors ligne
POS
&
Semantics Role Parsing
Hao-Wei, He
• Introduce
• Three Linguistics issues
• Syntactic & Semantics
• Constraint & Dependency
• Tools
• Samples
• Appendix
Three issues
Linguistics Issues: Sound, Syntactic and Semantics
*the most issue we want to solve: Semantics
Syntactic & Semantics
• example:
『我們打敗敵人』(we have defeated the enemy)
和『敵人被我們打敗』 (The enemy have been
defeated by us)
• different Syntactic
• same Semantics: defeat(我們、敵人)
Syntactic & Semantics
• Syntactic
• the way words put together
• tools: POS tagging (Part-of-Speech tagging)
• Semantics
• meaning of text
• analysis of word-relation : Dependency,
Constraint
• Constraint including: SRL & SDP
Constraint & Dependency
• Constraint
• Hierarchical format (tree)
• Dependency
• Sequencial format
Tools
• POS tools
• Stanford corenlp
• (+Semantics) CKIP Parser
Tools
• Constraint
• CKIP Parser
• S(theme:NP(Head:Nb:柯文哲)|theme:PP(Head:P21:在|DUMMY:NP(property:VP‧的
(head:VP(time:Ndabd:國慶日|theme:VP(Head:VC2:穿|aspect:Di:了
|goal:NP(quantifier:DM:一件|Head:Ncc:胸口))|Head:V_2:有|range:NP(property:Nab:
國旗|Head:Nac:圖案))|Head:DE:的)|Head:Nb:T))|Head:VJ1:恤)#,
• relation of word should be decided by tagging and tree structure
• Dependency
• Semantics Role Labeling (SRL)
• only Semantics Role tagging
• example:魯迅寫的故鄉是篇好文章。 魯迅/Agent
• Semantics Dependency Parsing(SDP)
• not only Semantics tagging but relation
• example:寫/re-ContentProduct->故鄉
Samples of SDP
我们_0 打败_1 Agt
打败_1 -1 Root
敌人_2 打败_1 Pat
我们打败敌人
we have defeated the enemy
敌人_0 打败_3 Pat
被_1 我们_2 mPrep
我们_2 打败_3 Agt
打败_3 -1 Root
敌人被我们打败
Enemy have been defeated by us
same
游客_0 破坏_1 Agt
破坏_1 -1 Root
国家_2 公园_3 Poss
公园_3 破坏_1 Pat
游客破坏国家公园
Tourist damage National Park
国家_0 公园_1 Poss
公园_1 遭到_2 Exp
遭到_2 -1 Root
游客_3 破坏_4 Agt
破坏_4 遭到_2 dCont
国家公园遭到游客破坏
National Park is been damaged by tourist
Compare with SDP
& Constraint
小影_0 感到_3 Aft
为_1 你_2 mPrep
你_2 感到_3 Datv
感到_3 -1 Root
难过_4 感到_3 Cont
小影为你感到难过
I feel sad for you
小影_0 感到_3 Aft
在_1 美国_2 mPrep
美国_2 感到_3 Loc
感到_3 -1 Root
难过_4 感到_3 Cont
小影在美國感到难过
I feel sad in US
小影為你感到難過
I feel sad for you
小影在美國感到難過
I feel sad in US
SDP with Co-
reference
我_0 想_1 Aft
想_1 -1 Root
她_2 想_1 Datv
。_3 想_1 mPunc
忘_0 -1 Root
不_1 了_2 mNeg
了_2 忘_0 mTime
她_3 忘_0 Datv
。_4 忘_0 mPunc
我想她。忘不了她。
I miss her. Can’t get over her.
<coreference>
<coreference>
<mention representative="true">
<sentence>1</sentence>
<start>3</start>
<end>4</end>
<head>3</head>
<text>她</text>
</mention>
<mention>
<sentence>2</sentence>
<start>4</start>
<end>5</end>
<head>4</head>
<text>她</text>
</mention>
</coreference>
</coreference>
Co-reference
Appendix
Appendix I
• Method of Semantics Parsing
• word + argument
例如: 『認同』有客體(THEME)、目標(Goal)兩個論元,
國人 很認同 傳統家電
| |
THEME GOAL
| |
國人 對傳統家電的 認同已經相當深
『違規』有主事者(AGENT)這個論元,在述詞前接一個主事者,語意即完整。
句型:AGENT <*
Appendix II
• 語在中文文字使用的時候,母語人士習慣『會意』
,而英文使用時,母語人士習慣用『形意』。
(Chinese native speaker used to catch the meaning of text,
however, English native speaker used to catch the structure
of text.)
• 可見英文是比較偏重句法結構的語言,而中文則比較
偏重意會理解。 (Chinese focus on the meaning, but
English one the structure. )
Special
Thanks Mei-Yu for concept clarification :)

Contenu connexe

Tendances

Med doclive illustrated logo draft review june 11
Med doclive illustrated logo draft review june 11Med doclive illustrated logo draft review june 11
Med doclive illustrated logo draft review june 11noblesidekick
 
Inclusion For All! Making Your Social Media Content MORE Accessible
Inclusion For All! Making Your Social Media Content MORE Accessible Inclusion For All! Making Your Social Media Content MORE Accessible
Inclusion For All! Making Your Social Media Content MORE Accessible Erika Boltz
 
Music video research 2012
Music video research 2012Music video research 2012
Music video research 2012Keith Day
 
Flat plan - Kerrang!
Flat plan - Kerrang!Flat plan - Kerrang!
Flat plan - Kerrang!Jared Bajina
 
My Cand5 Conditionals
My Cand5 ConditionalsMy Cand5 Conditionals
My Cand5 Conditionalstomeualoy
 

Tendances (6)

Med doclive illustrated logo draft review june 11
Med doclive illustrated logo draft review june 11Med doclive illustrated logo draft review june 11
Med doclive illustrated logo draft review june 11
 
Inclusion For All! Making Your Social Media Content MORE Accessible
Inclusion For All! Making Your Social Media Content MORE Accessible Inclusion For All! Making Your Social Media Content MORE Accessible
Inclusion For All! Making Your Social Media Content MORE Accessible
 
Metal
MetalMetal
Metal
 
Music video research 2012
Music video research 2012Music video research 2012
Music video research 2012
 
Flat plan - Kerrang!
Flat plan - Kerrang!Flat plan - Kerrang!
Flat plan - Kerrang!
 
My Cand5 Conditionals
My Cand5 ConditionalsMy Cand5 Conditionals
My Cand5 Conditionals
 

En vedette

Cómo controlar la ansiedad por comer presentación.
Cómo controlar la ansiedad por comer presentación.Cómo controlar la ansiedad por comer presentación.
Cómo controlar la ansiedad por comer presentación.Damián Cáceres
 
Letting go of past hurts and moving forward
Letting go of past hurts and moving forwardLetting go of past hurts and moving forward
Letting go of past hurts and moving forwardExcelr8 Soul Emergence
 
Amin Tours-Profile 2016
Amin Tours-Profile 2016Amin Tours-Profile 2016
Amin Tours-Profile 2016M Rahman
 
Mobile technology Challenges And Case Studies Shivam mishra
Mobile technology Challenges And Case Studies Shivam mishraMobile technology Challenges And Case Studies Shivam mishra
Mobile technology Challenges And Case Studies Shivam mishrashivam mishra
 
บทที่ 1 เทคโนโลยีสารสนเทศและการสื่อสาร
บทที่ 1 เทคโนโลยีสารสนเทศและการสื่อสารบทที่ 1 เทคโนโลยีสารสนเทศและการสื่อสาร
บทที่ 1 เทคโนโลยีสารสนเทศและการสื่อสารthaweesaph baikwang
 
ใบงานสำรวจตนเอง M6
ใบงานสำรวจตนเอง M6ใบงานสำรวจตนเอง M6
ใบงานสำรวจตนเอง M6ไทเลอ ฟิม
 
Breves apuntes matlab5
Breves apuntes matlab5Breves apuntes matlab5
Breves apuntes matlab5Wdasda Asdasd
 
CAG Brochure_Digital_v1
CAG Brochure_Digital_v1CAG Brochure_Digital_v1
CAG Brochure_Digital_v1Chris Novak
 
Proyecto a favor de la Convivencia Escolar. Libro del docente
Proyecto a favor de la Convivencia Escolar. Libro del docenteProyecto a favor de la Convivencia Escolar. Libro del docente
Proyecto a favor de la Convivencia Escolar. Libro del docenteRegión Serdán Estado
 
COMPANY PROFILe client ............
COMPANY PROFILe client ............COMPANY PROFILe client ............
COMPANY PROFILe client ............M Rahman
 
Things to remember while buying new home
Things to remember while buying new homeThings to remember while buying new home
Things to remember while buying new homeDSMaxbuilders
 

En vedette (20)

Denilson morales
Denilson moralesDenilson morales
Denilson morales
 
Cómo controlar la ansiedad por comer presentación.
Cómo controlar la ansiedad por comer presentación.Cómo controlar la ansiedad por comer presentación.
Cómo controlar la ansiedad por comer presentación.
 
Diapositivas
DiapositivasDiapositivas
Diapositivas
 
La naturaleza
La naturalezaLa naturaleza
La naturaleza
 
cv forex new
cv forex new cv forex new
cv forex new
 
Boots
BootsBoots
Boots
 
Letting go of past hurts and moving forward
Letting go of past hurts and moving forwardLetting go of past hurts and moving forward
Letting go of past hurts and moving forward
 
Amin Tours-Profile 2016
Amin Tours-Profile 2016Amin Tours-Profile 2016
Amin Tours-Profile 2016
 
Mobile technology Challenges And Case Studies Shivam mishra
Mobile technology Challenges And Case Studies Shivam mishraMobile technology Challenges And Case Studies Shivam mishra
Mobile technology Challenges And Case Studies Shivam mishra
 
Miguel08
Miguel08Miguel08
Miguel08
 
Higiene industrial
Higiene industrialHigiene industrial
Higiene industrial
 
บทที่ 1 เทคโนโลยีสารสนเทศและการสื่อสาร
บทที่ 1 เทคโนโลยีสารสนเทศและการสื่อสารบทที่ 1 เทคโนโลยีสารสนเทศและการสื่อสาร
บทที่ 1 เทคโนโลยีสารสนเทศและการสื่อสาร
 
ใบงานสำรวจตนเอง M6
ใบงานสำรวจตนเอง M6ใบงานสำรวจตนเอง M6
ใบงานสำรวจตนเอง M6
 
Breves apuntes matlab5
Breves apuntes matlab5Breves apuntes matlab5
Breves apuntes matlab5
 
Actividad de aprendizaje 9
Actividad de aprendizaje 9Actividad de aprendizaje 9
Actividad de aprendizaje 9
 
CAG Brochure_Digital_v1
CAG Brochure_Digital_v1CAG Brochure_Digital_v1
CAG Brochure_Digital_v1
 
Proyecto a favor de la Convivencia Escolar. Libro del docente
Proyecto a favor de la Convivencia Escolar. Libro del docenteProyecto a favor de la Convivencia Escolar. Libro del docente
Proyecto a favor de la Convivencia Escolar. Libro del docente
 
COMPANY PROFILe client ............
COMPANY PROFILe client ............COMPANY PROFILe client ............
COMPANY PROFILe client ............
 
Things to remember while buying new home
Things to remember while buying new homeThings to remember while buying new home
Things to remember while buying new home
 
Iim assignment 1
Iim assignment 1Iim assignment 1
Iim assignment 1
 

Dernier

DATA ANALYSIS using various data sets like shoping data set etc
DATA ANALYSIS using various data sets like shoping data set etcDATA ANALYSIS using various data sets like shoping data set etc
DATA ANALYSIS using various data sets like shoping data set etclalithasri22
 
Predictive Analysis - Using Insight-informed Data to Plan Inventory in Next 6...
Predictive Analysis - Using Insight-informed Data to Plan Inventory in Next 6...Predictive Analysis - Using Insight-informed Data to Plan Inventory in Next 6...
Predictive Analysis - Using Insight-informed Data to Plan Inventory in Next 6...ThinkInnovation
 
Presentation of project of business person who are success
Presentation of project of business person who are successPresentation of project of business person who are success
Presentation of project of business person who are successPratikSingh115843
 
IBEF report on the Insurance market in India
IBEF report on the Insurance market in IndiaIBEF report on the Insurance market in India
IBEF report on the Insurance market in IndiaManalVerma4
 
Data Analysis Project Presentation: Unveiling Your Ideal Customer, Bank Custo...
Data Analysis Project Presentation: Unveiling Your Ideal Customer, Bank Custo...Data Analysis Project Presentation: Unveiling Your Ideal Customer, Bank Custo...
Data Analysis Project Presentation: Unveiling Your Ideal Customer, Bank Custo...Boston Institute of Analytics
 
Digital Indonesia Report 2024 by We Are Social .pdf
Digital Indonesia Report 2024 by We Are Social .pdfDigital Indonesia Report 2024 by We Are Social .pdf
Digital Indonesia Report 2024 by We Are Social .pdfNicoChristianSunaryo
 
Bank Loan Approval Analysis: A Comprehensive Data Analysis Project
Bank Loan Approval Analysis: A Comprehensive Data Analysis ProjectBank Loan Approval Analysis: A Comprehensive Data Analysis Project
Bank Loan Approval Analysis: A Comprehensive Data Analysis ProjectBoston Institute of Analytics
 
Role of Consumer Insights in business transformation
Role of Consumer Insights in business transformationRole of Consumer Insights in business transformation
Role of Consumer Insights in business transformationAnnie Melnic
 
Statistics For Management by Richard I. Levin 8ed.pdf
Statistics For Management by Richard I. Levin 8ed.pdfStatistics For Management by Richard I. Levin 8ed.pdf
Statistics For Management by Richard I. Levin 8ed.pdfnikeshsingh56
 
6 Tips for Interpretable Topic Models _ by Nicha Ruchirawat _ Towards Data Sc...
6 Tips for Interpretable Topic Models _ by Nicha Ruchirawat _ Towards Data Sc...6 Tips for Interpretable Topic Models _ by Nicha Ruchirawat _ Towards Data Sc...
6 Tips for Interpretable Topic Models _ by Nicha Ruchirawat _ Towards Data Sc...Dr Arash Najmaei ( Phd., MBA, BSc)
 
why-transparency-and-traceability-are-essential-for-sustainable-supply-chains...
why-transparency-and-traceability-are-essential-for-sustainable-supply-chains...why-transparency-and-traceability-are-essential-for-sustainable-supply-chains...
why-transparency-and-traceability-are-essential-for-sustainable-supply-chains...Jack Cole
 
Decision Making Under Uncertainty - Is It Better Off Joining a Partnership or...
Decision Making Under Uncertainty - Is It Better Off Joining a Partnership or...Decision Making Under Uncertainty - Is It Better Off Joining a Partnership or...
Decision Making Under Uncertainty - Is It Better Off Joining a Partnership or...ThinkInnovation
 
Decoding Movie Sentiments: Analyzing Reviews with Data Analysis model
Decoding Movie Sentiments: Analyzing Reviews with Data Analysis modelDecoding Movie Sentiments: Analyzing Reviews with Data Analysis model
Decoding Movie Sentiments: Analyzing Reviews with Data Analysis modelBoston Institute of Analytics
 

Dernier (16)

DATA ANALYSIS using various data sets like shoping data set etc
DATA ANALYSIS using various data sets like shoping data set etcDATA ANALYSIS using various data sets like shoping data set etc
DATA ANALYSIS using various data sets like shoping data set etc
 
Predictive Analysis - Using Insight-informed Data to Plan Inventory in Next 6...
Predictive Analysis - Using Insight-informed Data to Plan Inventory in Next 6...Predictive Analysis - Using Insight-informed Data to Plan Inventory in Next 6...
Predictive Analysis - Using Insight-informed Data to Plan Inventory in Next 6...
 
2023 Survey Shows Dip in High School E-Cigarette Use
2023 Survey Shows Dip in High School E-Cigarette Use2023 Survey Shows Dip in High School E-Cigarette Use
2023 Survey Shows Dip in High School E-Cigarette Use
 
Presentation of project of business person who are success
Presentation of project of business person who are successPresentation of project of business person who are success
Presentation of project of business person who are success
 
IBEF report on the Insurance market in India
IBEF report on the Insurance market in IndiaIBEF report on the Insurance market in India
IBEF report on the Insurance market in India
 
Data Analysis Project Presentation: Unveiling Your Ideal Customer, Bank Custo...
Data Analysis Project Presentation: Unveiling Your Ideal Customer, Bank Custo...Data Analysis Project Presentation: Unveiling Your Ideal Customer, Bank Custo...
Data Analysis Project Presentation: Unveiling Your Ideal Customer, Bank Custo...
 
Insurance Churn Prediction Data Analysis Project
Insurance Churn Prediction Data Analysis ProjectInsurance Churn Prediction Data Analysis Project
Insurance Churn Prediction Data Analysis Project
 
Digital Indonesia Report 2024 by We Are Social .pdf
Digital Indonesia Report 2024 by We Are Social .pdfDigital Indonesia Report 2024 by We Are Social .pdf
Digital Indonesia Report 2024 by We Are Social .pdf
 
Bank Loan Approval Analysis: A Comprehensive Data Analysis Project
Bank Loan Approval Analysis: A Comprehensive Data Analysis ProjectBank Loan Approval Analysis: A Comprehensive Data Analysis Project
Bank Loan Approval Analysis: A Comprehensive Data Analysis Project
 
Data Analysis Project: Stroke Prediction
Data Analysis Project: Stroke PredictionData Analysis Project: Stroke Prediction
Data Analysis Project: Stroke Prediction
 
Role of Consumer Insights in business transformation
Role of Consumer Insights in business transformationRole of Consumer Insights in business transformation
Role of Consumer Insights in business transformation
 
Statistics For Management by Richard I. Levin 8ed.pdf
Statistics For Management by Richard I. Levin 8ed.pdfStatistics For Management by Richard I. Levin 8ed.pdf
Statistics For Management by Richard I. Levin 8ed.pdf
 
6 Tips for Interpretable Topic Models _ by Nicha Ruchirawat _ Towards Data Sc...
6 Tips for Interpretable Topic Models _ by Nicha Ruchirawat _ Towards Data Sc...6 Tips for Interpretable Topic Models _ by Nicha Ruchirawat _ Towards Data Sc...
6 Tips for Interpretable Topic Models _ by Nicha Ruchirawat _ Towards Data Sc...
 
why-transparency-and-traceability-are-essential-for-sustainable-supply-chains...
why-transparency-and-traceability-are-essential-for-sustainable-supply-chains...why-transparency-and-traceability-are-essential-for-sustainable-supply-chains...
why-transparency-and-traceability-are-essential-for-sustainable-supply-chains...
 
Decision Making Under Uncertainty - Is It Better Off Joining a Partnership or...
Decision Making Under Uncertainty - Is It Better Off Joining a Partnership or...Decision Making Under Uncertainty - Is It Better Off Joining a Partnership or...
Decision Making Under Uncertainty - Is It Better Off Joining a Partnership or...
 
Decoding Movie Sentiments: Analyzing Reviews with Data Analysis model
Decoding Movie Sentiments: Analyzing Reviews with Data Analysis modelDecoding Movie Sentiments: Analyzing Reviews with Data Analysis model
Decoding Movie Sentiments: Analyzing Reviews with Data Analysis model
 

SRL and dependency tree english version

  • 2. • Introduce • Three Linguistics issues • Syntactic & Semantics • Constraint & Dependency • Tools • Samples • Appendix
  • 3. Three issues Linguistics Issues: Sound, Syntactic and Semantics *the most issue we want to solve: Semantics
  • 4. Syntactic & Semantics • example: 『我們打敗敵人』(we have defeated the enemy) 和『敵人被我們打敗』 (The enemy have been defeated by us) • different Syntactic • same Semantics: defeat(我們、敵人)
  • 5. Syntactic & Semantics • Syntactic • the way words put together • tools: POS tagging (Part-of-Speech tagging) • Semantics • meaning of text • analysis of word-relation : Dependency, Constraint • Constraint including: SRL & SDP
  • 6. Constraint & Dependency • Constraint • Hierarchical format (tree) • Dependency • Sequencial format
  • 7. Tools • POS tools • Stanford corenlp • (+Semantics) CKIP Parser
  • 8. Tools • Constraint • CKIP Parser • S(theme:NP(Head:Nb:柯文哲)|theme:PP(Head:P21:在|DUMMY:NP(property:VP‧的 (head:VP(time:Ndabd:國慶日|theme:VP(Head:VC2:穿|aspect:Di:了 |goal:NP(quantifier:DM:一件|Head:Ncc:胸口))|Head:V_2:有|range:NP(property:Nab: 國旗|Head:Nac:圖案))|Head:DE:的)|Head:Nb:T))|Head:VJ1:恤)#, • relation of word should be decided by tagging and tree structure • Dependency • Semantics Role Labeling (SRL) • only Semantics Role tagging • example:魯迅寫的故鄉是篇好文章。 魯迅/Agent • Semantics Dependency Parsing(SDP) • not only Semantics tagging but relation • example:寫/re-ContentProduct->故鄉
  • 10. 我们_0 打败_1 Agt 打败_1 -1 Root 敌人_2 打败_1 Pat 我们打败敌人 we have defeated the enemy 敌人_0 打败_3 Pat 被_1 我们_2 mPrep 我们_2 打败_3 Agt 打败_3 -1 Root 敌人被我们打败 Enemy have been defeated by us same
  • 11. 游客_0 破坏_1 Agt 破坏_1 -1 Root 国家_2 公园_3 Poss 公园_3 破坏_1 Pat 游客破坏国家公园 Tourist damage National Park 国家_0 公园_1 Poss 公园_1 遭到_2 Exp 遭到_2 -1 Root 游客_3 破坏_4 Agt 破坏_4 遭到_2 dCont 国家公园遭到游客破坏 National Park is been damaged by tourist
  • 12. Compare with SDP & Constraint
  • 13. 小影_0 感到_3 Aft 为_1 你_2 mPrep 你_2 感到_3 Datv 感到_3 -1 Root 难过_4 感到_3 Cont 小影为你感到难过 I feel sad for you 小影_0 感到_3 Aft 在_1 美国_2 mPrep 美国_2 感到_3 Loc 感到_3 -1 Root 难过_4 感到_3 Cont 小影在美國感到难过 I feel sad in US 小影為你感到難過 I feel sad for you 小影在美國感到難過 I feel sad in US
  • 15. 我_0 想_1 Aft 想_1 -1 Root 她_2 想_1 Datv 。_3 想_1 mPunc 忘_0 -1 Root 不_1 了_2 mNeg 了_2 忘_0 mTime 她_3 忘_0 Datv 。_4 忘_0 mPunc 我想她。忘不了她。 I miss her. Can’t get over her. <coreference> <coreference> <mention representative="true"> <sentence>1</sentence> <start>3</start> <end>4</end> <head>3</head> <text>她</text> </mention> <mention> <sentence>2</sentence> <start>4</start> <end>5</end> <head>4</head> <text>她</text> </mention> </coreference> </coreference> Co-reference
  • 17. Appendix I • Method of Semantics Parsing • word + argument 例如: 『認同』有客體(THEME)、目標(Goal)兩個論元, 國人 很認同 傳統家電 | | THEME GOAL | | 國人 對傳統家電的 認同已經相當深 『違規』有主事者(AGENT)這個論元,在述詞前接一個主事者,語意即完整。 句型:AGENT <*
  • 18. Appendix II • 語在中文文字使用的時候,母語人士習慣『會意』 ,而英文使用時,母語人士習慣用『形意』。 (Chinese native speaker used to catch the meaning of text, however, English native speaker used to catch the structure of text.) • 可見英文是比較偏重句法結構的語言,而中文則比較 偏重意會理解。 (Chinese focus on the meaning, but English one the structure. )
  • 19. Special Thanks Mei-Yu for concept clarification :)