Natural Language Processing · TEE · papers

Q3b · Penn Treebank tagging

2022-11-22 · final · recovered AI paper

Previous examination · complete worked answers

Question. Using Penn Treebank tags, tag every word and ignore punctuation: (1) It is a nice night. (2) This crap game is over a garage in Fifty-second Street. (3) Nobody ever takes the newspapers she sells. (4) I am sitting in Mindy’s restaurant putting on the gefilte fish, which is a dish I am very fond of. (5) What flights do you have from Milwaukee to Tampa? [10 marks]

Answer

Read the role of each word in its sentence. Split possessive ’s into POS; punctuation has no requested tag. The original supplies a Penn-tag annex.

Sentence 1

It/PRP is/VBZ a/DT nice/JJ night/NN

Sentence 2

This/DT crap/NN game/NN is/VBZ over/IN a/DT garage/NN in/IN Fifty-second/JJ Street/NNP

Sentence 3

Nobody/NN ever/RB takes/VBZ the/DT newspapers/NNS she/PRP sells/VBZ

Sentence 4

I/PRP am/VBP sitting/VBG in/IN Mindy/NNP ’s/POS restaurant/NN putting/VBG on/RP the/DT gefilte/JJ fish/NN which/WDT is/VBZ a/DT dish/NN I/PRP am/VBP very/RB fond/JJ of/IN

Sentence 5

What/WDT flights/NNS do/VBP you/PRP have/VB from/IN Milwaukee/NNP to/IN Tampa/NNP

TagMeaningWhy here
PRPPersonal pronounIt, I, she, you
DT / WDTDeterminer / wh-determinera/the versus What before flights; which relative modifier
VB/VBP/VBZ/VBGBase/non-3sg-present/3sg-present/gerund-participlehave after do; am/do; is/takes; sitting/putting
NN/NNS/NNPCommon singular/plural/proper noungame/newspapers/Milwaukee
IN/RPPreposition or subordinator / particlein/over/from; on in the idiomatic putting on reading
JJ/RB/POSAdjective/adverb/possessive endingnice/very/’s

Annotation ambiguities: “crap” is a noun adjunct under NN; an adjectival analysis can use JJ. “Fifty-second” may be NNP within an official street name instead of JJ; “gefilte” can be a noun adjunct in some taggers. Explain the chosen contextual reading rather than claiming all taggers must agree.

Source / convention note. Context-sensitive tags and possessive tokenization are explicitly stated; reasonable corpus guidelines can differ on noun adjuncts.