User:Whikie/sandbox

Restrictive versus non-restrictive
Best:
 * My friendIA Alice SmithA likes jelly beans.NP
 * My friendia Alice Smitha likes jelly beans.np
 * IAMy friend AAlice Smith likes NPjelly beans.
 * iaMy friend aAlice Smith likes npjelly beans.


 * My friend IA Alice Smith A likes jelly beans .NP
 * My friend ia Alice Smith a likes jelly beans .np


 * (My friend) [Alice Smith] 
 * (My friend,) [Alice Smith,] likes jelly beans.
 * (My friend), [Alice Smith], likes jelly beans.
 *   likes jelly beans.
 *   likes jelly beans.
 * , , likes jelly beans.


 * [IAMy friend] [AAlice Smith] likes [NPjelly beans.]
 * [iaMy friend] [aAlice Smith] likes [npjelly beans.]
 * IA[My friend] A[Alice Smith] likes NP[jelly beans.]
 * ia[My friend] a[Alice Smith] likes np[jelly beans.]
 * [My friendIA] [Alice SmithA] likes [jelly beans.NP]
 * [My friendia] [Alice Smitha] likes [jelly beans.np]
 * [My friend]IA [Alice Smith]A likes [jelly beans.]NP
 * [My friend]ia [Alice Smith]a likes [jelly beans.]np


 * [IAMy friend] [AAlice Smith] likes [NPjelly beans.]
 * [iaMy friend] [aAlice Smith] likes [npjelly beans.]
 * IA[My friend] A[Alice Smith] likes NP[jelly beans.]
 * ia[My friend] a[Alice Smith] likes np[jelly beans.]
 * [My friendIA] [Alice SmithA] likes [jelly beans.NP]
 * [My friendia] [Alice Smitha] likes [jelly beans.np]
 * [My friend]IA [Alice Smith]A likes [jelly beans.]NP
 * [My friend]ia [Alice Smith]a likes [jelly beans.]np

Not bad:
 * My friendi Alice Smitha likes jelly beans.
 * My friendi, Alice Smitha, likes jelly beans.
 * My friend,i Alice Smith,a likes jelly beans.
 * [iMy friend] [aAlice Smith] likes jelly beans.
 * IA My friend A Alice Smith likes jelly beans.
 * IAMy friend AAlice Smith likes jelly beans.
 * My friend i Alice Smith a likes jelly beans.
 * (My friend) [Alice Smith] likes jelly beans.
 * (My friend) [Alice Smith] likes    Legend:  (in apposition) [appositive ] 
 * (My friend,) [Alice Smith,] likes jelly beans.
 * (My friend), [Alice Smith], likes jelly beans.
 *   likes jelly beans.
 *   likes jelly beans.
 * , , likes jelly beans.
 * My friend: undefinedAlice Smithundefined likes jelly beans.
 * iMy friendi aAlice Smitha likes jelly beans.
 * My friendi Alice Smitha likes jelly beans.
 * My friendI Alice SmithA likes jelly beans.
 * My friendI, Alice SmithA, likes jelly beans.
 * My friend,I Alice Smith,A likes jelly beans.
 * My friendI Alice SmithA likes jelly beans.
 * My friend`i Alice Smith`a likes jelly beans.
 * My friend`i, Alice Smith`a, likes jelly beans.
 * My friend` I Alice Smith` A likes jelly beans.
 * My friend\i Alice Smith\a likes jelly beans.
 * My friend\O Alice Smith\A likes jelly beans.
 * My friend~i Alice Smith~a likes jelly beans.
 * My friend>i Alice Smith>a likes jelly beans.

Less good:
 * <-My friend-> <-Alice Smith-> likes jelly beans.
 * -- -<Alice Smith>- likes jelly beans.
 * My friend* Alice Smith~ likes jelly beans.
 * My friend* Alice Smith# likes jelly beans.
 * My friend^i Alice Smith^a likes jelly beans.
 * <My friend>i <Alice Smith>a likes jelly beans.
 * [My friend]i [Alice Smith]a likes jelly beans.
 * [My friendi] [Alice Smitha] likes jelly beans.
 * (My friend)i (Alice Smith)a likes jelly beans.
 * (My friendi) (Alice Smitha) likes jelly beans.
 * My friendNI Alice SmithAN likes jelly beans.
 * My friend. Alice Smith+ likes jelly beans.
 * My friend. Alice Smith- likes jelly beans.
 * My friend- Alice Smith+ likes jelly beans.
 * (My friend)NIA (Alice Smith)AN likes jelly beans.
 * (My friend) [Alice Smith] likes jelly beans.
 * (My friendI) [Alice SmithA] likes jelly beans.
 * \My friend/i \Alice Smith/a likes jelly beans.
 * /My friend\i /Alice Smith\a likes jelly beans.
 * \My friendi/ \Alice Smitha/ likes jelly beans.
 * /My friendi\ /Alice Smitha\ likes jelly beans.
 * [ IA My friend] [ A Alice Smith] likes [ NP jelly beans.]
 * IA [My friend] A [Alice Smith] likes NP [jelly beans.]
 * [My friend IA ] [Alice Smith A ] likes [jelly beans. NP ]
 * [My friend] IA [Alice Smith] A likes [jelly beans.] NP

Complicated examples:
 * <My best <friend>N>NP S <<wants>V <<her mother>NP to visit the hospital.>DO>P
 * <My best [friend]N>NP S <[wants]V [(her mother)NP to visit the hospital.]DO>P