Wh- words that are used as interjections are tagged with the
appropriate POS tag (not as INTJ). Their function is indicated
at the phrasal level; see Interjection
Wh-adverbs (HOW, WHEN, WHENCE, WHERE, WHY) are tagged WADV.
WHEN can also be tagged P.
and_CONJ asked_VBD the_D kynge_N why_WADV he_PRO was_BED seke_ADJ Where_WADV is_BEP he_PRO ?_, But_CONJ the_D duke_N of_P Tyntigail_NPR aspyed_VBD hou_WADV the_D kyng_N rode_VBD fro_P the_D syege_N of_P Tarabil_NPR +tu_PRO mowe_MD isee_VB whanne_WADV he_PRO come+t_VBP in_RP Than_ADV he_PRO tolde_VBD hir_PRO$ of_P whens_WADV he_PRO was_BED
(WNP (WD what) (NS men)) (WNP (WNP (WD which) (N prophet)) (CONJP (CONJ and) (NX (N law)))) (WNP (WPRO what) ← note WPRO (ADJP (ADJ else)))
WHAT immediately preceding a determiner is tagged as WD, parallel to cases with SUCH.
(WNP (WD what) (D a) (N nightmare)) (NP (SUCH such) (D a) (N problem))
While convenient, the analysis in both cases is probably incorrect, given syntactically parallel examples like the following.
(NP (ADJP (ADVR so) (ADJ serious)) (D a) (N problem)) (WNP (WADJP (WADV how) (ADJ serious)) (D a) (N problem))
See INTJP for the
treatment of WHAT THE DEVIL and similar expressions.
Wh-pronoun (WPRO, WPRO$)
WPRO is assigned to WHO, to
WHETHER in the meaning WHICH OF TWO,
and to WHAT and (THE) WHICH when
these are acting as the head of a
wh- noun phrase. Other cases of
WHAT and WHICH are tagged
Note the difference in this regard
between wh- words and
determiners, which are tagged as
what_WPRO +tou_PRO hast_HVP sette_VBN on_P fyre_N +tat_D ha+t_HVP i-brene_VBN on_P +te_PRO he_PRO wolde_MD make_VB hym_PRO here_PRO$ prince_N whom_WPRO +te_D Holy_NPR Goost_NPR wolde_MD schewe_VB in_P colveres_N$ liche_N by_P +te_D whiche_WPRO +tei_PRO fonde+t_VBD to_TO lette_VB holy_ADJ men_NS than_ADV there_EX began_VBD a_D new_ADJ batayle_N whych_WPRO was_BED sore_ADJ and_CONJ harde_ADJ
The tag for WHOSE is WPRO$.
he_PRO asked_VBD hir_PRO ... whos_WPRO$ was_BED the_D child_N within_P her_PRO$ body_N and_CONJ by_P whoos_WPRO$ commandement_N