Closed recski closed 9 years ago
Managed to run a parse with a custom constraint saying that the sentence must be an NP. The parse tree is now the one below, and we successfully get the dependencies root(ROOT-0, size-2), prep_of(size-2, wave-6), etc. Will proceed to enable this behaviour in dict_to_4lang based on POS-tags in Longman.
(ROOT
(NP
(NP (DT the) (NN size))
(PP (IN of)
(NP
(NP (DT a) (NN radio) (NN wave))
(VP (VBN used)
(S
(VP (TO to)
(VP (VB broadcast)
(NP (DT a) (NN radio) (NN signal))))))))))
This is possible via an API call and crucial for definitions like this one (with current Stanford parse):
wavelength: the size of a radio wave used to broadcast a radio signal
@pajkossy FYI