#this is testsuite6.lfg

#integrating a morphological analyzer
#see what the verb consists of by typing in 
#morphemes hates/hated/hate  in XLE

John hates bananas.

John hated bananas. 

We hate bananas.

The dog was hated by John.



#coordination

the dog appears and eats a bone (1 0.000 20)

the dog eats and sleeps (1 0.010 15)

the dog and the gorilla devoured a bone and bananas (1 0.000 28)

the gorilla and I ate (1 0.000 15)


#imperatives --- also regenerate 

implement it! (1+1 0.010 9)


#illustrating generation from f-structures

The dog devours the bone. (1 0.000 16)

the dog devours the bone (1 0.000 14)


#illustrating PP attachment ambiguity, then with OT marks (PPattach)

The dog saw the gorilla with the telescope.  (1+1 0.000 31)

The dog saw the gorilla with the telescope in the garden.  (2+3 0.000 54)

The dog saw the gorilla with the telescope in the garden by a tree. (5+9 0.000 90)

#Adjunct vs. OBL PPs. 

The bone was devoured by the dog. (1+1 0.010 26)

# punctuation

the dog devours a bone. (1 0.000 16)

the dog appeared. (1 0.000 11)

#adjectives

the small dog appeared. (1 0.000 14)

the small grey dog appeared (1 0.000 15)

the small grey smart dog appeared (1 0.000 18)

#PPs 

the gorilla waited on the dog (1 0.000 20)

the gorilla slept on the dog (1 0.010 20)

the dog slept on the bed (1 0.000 20)


#ditransitives

the gorilla gives a bone to the dog (1 0.000 33)

the gorilla gives the dog a bone (1 0.000 19)

a bone was given to the dog (1 0.000 24)

a bone was given to the dog by the gorilla (1+1 0.000 46)

the dog was given a bone (1 0.010 18)

the dog was given a bone by the gorilla (1+2 0.000 35)

#active 

the dog devours a bone (1 0.000 14)


#passive version 

a bone was devoured by the dog (1+1 0.010 24)


# unification failure, subject-verb agreement (consistency)

the dogs devours bones (0 0.000 11)

# coherence violation

the dog appears bones (0 0.000 0)

# completeness violation

the dog devours (0 0.000 9)

# missing PRED value, completeness violation

the dog devours a bone (1 0.010 14)

#missing rules, unknown words

the dog devours bones in the park (0 0.000 0)


# 7 sentences, 0.010 CPU secs total, 0.010 CPU secs max (10/06/14)

# 1 mismatches, 32 sentences, 0.070 CPU secs total, 0.010 CPU secs max (10/16/14)