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

How to parse Linguistis Analysis Token Output #105

Open
rachita0311 opened this issue Jan 2, 2018 · 0 comments
Open

How to parse Linguistis Analysis Token Output #105

rachita0311 opened this issue Jan 2, 2018 · 0 comments

Comments

@rachita0311
Copy link

Hi , I am using Linguistics Analysis API to fetch questions from a paragraph . For e.g .

Supplier shall describe how and to what extent activities in the IT-services comprising the Service(s) are logged and how long the logs are stored. Supplier shall describe how its logging facilities and log information are protected against tampering and unauthorized access.

I want response as
Supplier shall describe how and to what extent activities in the IT-services comprising the Service(s) are logged
how long the logs are stored
Supplier shall describe how its logging facilities and log information are protected against tampering and unauthorized access.

From Linguistics I am getting below response 👍
(TOP (S (NP (NNS Supplier)) (VP (MD shall) (VP (VB describe) (SBAR (WRB how) (CC and) (SBAR (SBAR (WHPP (TO to) (WHNP (WP what) (NN extent) (NNS activities))) (S (PP (IN in) (NP (NP (DT the) (CD IT-services)) (VP (VBG comprising) (NP (NP (DT the) (NNP Service)) (PRN (-LRB- -LRB-) (VBZ s) (-RRB- -RRB-)))))) (VP (VBP are) (VBD logged)))) (CC and) (SBAR (WHADVP (WRB how) (RB long)) (S (NP (DT the) (NNS logs)) (VP (VBP are) (VP (VBN stored))))))))) (. .)))

(TOP (S (NP (NNS Supplier)) (VP (MD shall) (VP (VB describe) (SBAR (WHADVP (WRB how)) (S (NP (PRP$ its) (NX (NX (NN logging) (NNS facilities)) (CC and) (NX (NN log) (NN information)))) (VP (VBP are) (VP (VBN protected) (PP (IN against) (NP (ADJP (VBG tampering) (CC and) (JJ unauthorized)) (NN access))))))))) (. .)))

How to analyse/parse this response in C# code.

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