Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

You have been given the following statements that can be considered to be the training data for the CRF model. Sentences: S 1 : Bella

You have been given the following statements that can be considered to be the training data for the CRF model.
Sentences:
S1: Bella is not giving money
S2: Tony is teaching NLP to Chris
S3: Joe should focus to his job
S4: Peter is trained by Adele
S5: Temperature is maintained by AC
S6: He is playing the Cricket
S7: Guitar has been played by him
Labels:
S1: Bella (P) is not giving (A) money (E)
S2: Tony (P) is teaching (A) NLP (E) to Chris (P)
S3: Joe (P) should focus (A) to his job (E)
S4: Peter (P) is trained (A) by Adele (P)
S5: Temperature (E) is maintained (A) by AC (E)
S6: He is playing (A) the Cricket (E)
S7: Guitar (E) has been played (A) by him(V)
Here, in this training data, the three labels P,A and E stand for Person, Activity and Entity, respectively.
Three feature functions have been defined below:
F1(X, xi, xi-1, i)=1 if xi starts with a capital letter; otherwise, 0.
F2(X, xi, xi-1, i)=1 if xi is the parent of the nsubj or nsubjpass dependency tagged words AND the corresponding children words should have the NER tag of E or P; otherwise, 0.
F3(X, xi, xi-1, i)=1, if xi is the parent of the dobj dependency tagged words AND the corresponding children words should have the NER tag of E or P; otherwise, 0.
You have been given the following sentence with its NER tags.
Sentence: Harry is not gardening as it is raining
Labels: Harry (P) is not gardening(A) as it is raining (A)
What will be the value of the feature functions F1, F2 and F3, respectively, for the word Harry?
a.0,0,0
b.1,0,0
c.1,1,1
d.0,1,0

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Advances In Knowledge Discovery In Databases

Authors: Animesh Adhikari, Jhimli Adhikari

1st Edition

3319132121, 9783319132129

More Books

Students also viewed these Databases questions