HPSG-Neural-Parser icon indicating copy to clipboard operation
HPSG-Neural-Parser copied to clipboard

Using HPSG-Neural-Parser for parsing raw sentence

Open disooqi opened this issue 5 years ago • 0 comments

Hello, I am trying to use your work to parse a raw sentence, but I can't find any sample input files showing the format of the sentence. Should I use conll-U format for the input file and/or what linguistic information do I need to provide i.e. lemma, POS, MWT, ...

I have been working on this issue for few days now and I have tried to pass to parse.sh a raw sentence in a single line, empty dependency tree with POS, and conll-U format but without success.

When I pass the following raw sentence: Which German cities have more than 250000 inhabitants? I get the following parse tree: (SBARQ (WHNP (UNK Which) (UNK German) (UNK cities)) (VP (UNK have) (NP (UNK more) (UNK than) (UNK 250000))) (UNK inhabitants?))

Thanks Mohamed Eldesouki

disooqi avatar Feb 25 '20 16:02 disooqi