Answered step by step
Verified Expert Solution
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:
S: Bella is not giving money
S: Tony is teaching NLP to Chris
S: Joe should focus to his job
S: Peter is trained by Adele
S: Temperature is maintained by AC
S: He is playing the Cricket
S: Guitar has been played by him
Labels:
S: Bella P is not giving A money E
S: Tony P is teaching A NLP E to Chris P
S: Joe P should focus A to his job E
S: Peter P is trained A by Adele P
S: Temperature E is maintained A by AC E
S: He is playing A the Cricket E
S: Guitar E has been played A by himV
Here, in this training data, the three labels PA and E stand for Person, Activity and Entity, respectively.
Three feature functions have been defined below:
FX xi xi i if xi starts with a capital letter; otherwise,
FX xi xi i 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,
FX xi xi i 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,
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 gardeningA as it is raining A
What will be the value of the feature functions F F and F respectively, for the word Harry
a
b
c
d
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started