there's this thing in constructing dependency trees of sentences I've been calling the pajama problem
-
-
I have occasional bouts of designing an emoji-based language meant to be trivially parsable and this particular sentence made me go "haha cute...... oh fuck"
Show this thread -
but I think it might be solved if you mandate projectivity? plus a binding direction. this is specifically for things like freestanding phrases with implied referents
Show this thread -
so like "I shot an elephant in my pajamas" is unambiguously the nonsense meaning and for the normal meaning you'd have to write "I in my pajamas shot an elephant"
Show this thread -
-
one of the things I'm adamant on for emoji language is parens for logical grouping so you can easily distinguish like
Show this thread -
"I shot a robber in my house" could encode which of the two parties, and one or both, was in the house
Show this thread -
"I [sbj] house in robber [obj] shoot [past]" = me in house robber outside, vs "I [sbj] robber [obj] house in shoot [past]" or "(I [subj] robber [obj]) house in shoot [past]"
Show this thread -
incidentally the original intent of parens was to denote whole clauses used as modifiers and to group modifiers themselves
Show this thread -
I was gonna commasep but then someone pointed out "oh neat how would you do 'or'?" so god help me I might use & and |
Show this thread
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.