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

Autodetecting output structure from cloud NLP? #91

Open
RudolfCardinal opened this issue May 14, 2022 · 0 comments
Open

Autodetecting output structure from cloud NLP? #91

RudolfCardinal opened this issue May 14, 2022 · 0 comments

Comments

@RudolfCardinal
Copy link
Collaborator

When running a "cloud" (remote) natural language processing (NLP) tool, the NLPRP protocol allows the remote processor to explain its table structure to the caller (https://crateanon.readthedocs.io/en/latest/nlp/nlprp.html#list-processors). However, this is optional, and in our setup, some GATE processors don't do this. Would it be sensible to try to autodiscover this, with a combination of asking for user input and scanning the results? It would be imperfect. The main challenges are GATE processors, which can produce several types of response and are not (at the server end) tied to SQL. It's a bit of a pain to configure and maybe it would be a significant ask to ask the source team to define the tabular structure. For an example (@martinburchell) try the r14_nlp_test_clour_nlp.bat script in the CPFT setup, and enter some text about having a nightmare (it's currently set up for the SLaM "nightmare" detector). I'm not sure if this is a good idea!

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