India’s Best Job Seekers and Training Platform Forums Java Problems set This questing was something related to parse…

  • This questing was something related to parse…

  • Akash 

    Administrator
    at

    This questing was something related to parse trees.

    Input: A full sentence: (S (NP (NNP James)) (VP (VBZ is) (NP (NP (DT a) (NN boy)) (VP (VBG eating) (NP (NNS sausages))))))

    Output: James is a boy eating sausages

    Input: (NNS Sausages)

    Output: Sausages

    Input: (NP(DT a) (NN boy))

    Output: a boy

Log in to reply.

Original Post
0 of 0 posts June 2018
Now
KodNest Training New Batch is starting on 02nd November 2020. Attend one week free demo classes.Register Now

New Report

Close