Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using HPSG-Neural-Parser for parsing raw sentence #11

Open
disooqi opened this issue Feb 25, 2020 · 0 comments
Open

Using HPSG-Neural-Parser for parsing raw sentence #11

disooqi opened this issue Feb 25, 2020 · 0 comments

Comments

@disooqi
Copy link

disooqi commented Feb 25, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant