int2str / jssyntaxtree

Dynamic JavaScript version of phpSyntaxTree - a tool to draw syntax trees from labelled bracket notation.
GNU General Public License v2.0
82 stars 17 forks source link

Indicate phrase that is interrupted by another phrase? #15

Open MPetersErf opened 6 days ago

MPetersErf commented 6 days ago

Hi! Thanks for the great work, have recently discovered your site for teaching at university and it has already made everything so much easier.

Is there any way to indicate that a phrase is interrupted by another phrase? Have attached an example where the VP node connects elements before and after the NPNom node, but not the NPNom node itself. Screenshot 2024-11-26 at 10-26-42 PowerPoint-Präsentation - Grammatik 7  Sitzung pdf

Thanks for your help!

int2str commented 5 days ago

Hmmmmmmmm, thanks for reaching out on this issue. Glad my tool is helpful!

My wife, who's the linguist in the family, tells me this is an example of the "verb 2nd phenomenon" in German. Graphing this in this manner would be very tricky, both from a programming point of view (as it breaks standard tree traversal orders) as well as from an labelled bracket encoding point of view.

In other words, I'm not sure how one intuitively could describe this in labelled bracket notation.

The jsSyntaxTree app has movement arrows (you can see in the example when you first load in). But they mostly used to describe "WH" movement in English (or so my wife tells me). I'm wondering if that could work in conjunction with a blank node at the origin?

Hmmmmmmmmm indeed....

I'll think it over a bit more, but no promises :D

int2str commented 5 days ago

Some more info - though repeating that I am NOT a linguist. So I'll defer to your judgement here...

Here's an older discussion I found on Reddit that has some counter points on why lines on a syntax tree should not cross: https://www.reddit.com/r/linguistics/comments/3p3pc1/question_regarding_lines_not_crossing_in_syntax/

Not sure what your thoughts are on this. That Reddit thread is pretty old, so not sure if Linguistically things have moved on.

MPetersErf commented 3 days ago

Thanks for your help and the quick reply!

I appreciate your thinking it over.

The discussion on Reddit was interesting, but since this is handled uniformly within our faculty and also seems more appropriate from a linguistic point of view, I will stick with the crossing syntax lines.

Using the movement arrows I couldn't quite get there...

Thanks anyway, I just thought I was missing something obvious maybe. I'll still use jsSyntaxTree for other examples!


Von: Andre Eisenbach @.***> Gesendet: Dienstag, 26. November 2024 20:01:06 An: int2str/jssyntaxtree Cc: Miriam Peters; Author Betreff: Re: [int2str/jssyntaxtree] Indicate phrase that is interrupted by another phrase? (Issue #15)

Some more info - though repeating that I am NOT a linguist. So I'll defer to your judgement here...

Here's an older discussion I found on Reddit that has some counter points on why lines on a syntax tree should not cross: https://www.reddit.com/r/linguistics/comments/3p3pc1/question_regarding_lines_not_crossing_in_syntax/

Not sure what your thoughts are on this. That Reddit thread is pretty old, so not sure if Linguistically things have moved on.

— Reply to this email directly, view it on GitHubhttps://github.com/int2str/jssyntaxtree/issues/15#issuecomment-2501709890, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BNHOUMIPEL7LUV4JQ7H42FD2CTAPFAVCNFSM6AAAAABSP6FY2CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMBRG4YDSOBZGA. You are receiving this because you authored the thread.Message ID: @.***>