don't connect un-annotated terminal-nodes
Brought to you by:
int2str
While we are studying introductory syntax, we build our
grammars gradually. We have some words we don't know
how to analyze. For the meentime we leave them blank,
and do not connect them to any tree nodes.
This is an example of a annotated Hebrew sentence:
[S [NP hu] [VP [V xosev] [S' [comp se] [S [NP [N bart]]
[VP [V ohev] et [NP [N homer]]]]]]]
As you can see the word "et" is not connected, but when
the tree is drawn it is connected to the enclosing VP.
I want to have a checkbox option to disable this
behavior, and leave the word "et" in it's current tree
location (under the VP) but not connected to it.
Logged In: YES
user_id=629371
Thanks for your feedback on phpSyntaxTree!
I'd be happy to implement your suggestion. However, please
help me define what an "unconnected" item is. As in, how can
the program define whether an item is connected or not.
It seems like instead of a checkbox there would be some
special markup required to make this work, which I'd rather
not do.
Unless you mean something like this definition (please
correct as necessary):
An unconnected item is:
"A LEAF (red) that has no direct siblings."
or to phrase it differently:
"A LEAF (red) whos parent NODE (blue) has one or more
child NODES."
Cheers,
Andre