bpodgursky / nlpviz

Source code for a sentence parse tree visualization found here: http://nlpviz.bpodgursky.com/
Other
137 stars 45 forks source link

Why might long sentences from legal text fail? #14

Open afparsons opened 3 years ago

afparsons commented 3 years ago

Great work, first of all.

I've noticed that long sentences from legal text fail (nothing happens! the visualization simply displays the last successful query).

The Bonds are limited obligations of the Authority, secured under the provisions of the Indenture and Loan Agreement, as described herein, and will be payable from Loan Repayments made by Stanford Health Care (the "Corporation") under the Loan Agreement and from certain funds held under the Indenture.
THIS DEED OF TRUST, ASSIGNMENT, SECURITY AGREEMENT AND FINANCING STATEMENT (this "Deed of Trust") dated August 29, 1997, is executed and delivered by Trustor for good and valuable consideration, the receipt and adequacy of which are hereby acknowledged by Trustor.

I'd imagine you can see which errors are thrown on the backend. I'm curious as to why these fail.

FWIW, Stanford's less-sexy online visualizer can handle these queries.