summaryrefslogtreecommitdiff
path: root/example/toy/grammar
blob: 313a4f2a6a4fe185c55f093086860a341edbbdee (plain)
1
2
3
4
5
6
7
8
9
10
11
[S] ||| [NP,1] [VP,2] ||| [NP,1] [VP,2] ||| logp=0
[NP] ||| ich ||| i ||| logp=-0.5 use_i=1.0
[NP] ||| ein [NN,1] ||| a [NN,1] ||| logp=0 use_a=1.0
[NN] ||| kleines haus ||| small house ||| logp=0 use_house=1
[NN] ||| kleines haus ||| little house ||| logp=0 use_house=1
[NN] ||| [JJ,1] haus ||| [JJ,1] house ||| logp=0 use_house=1
[NN] ||| [JJ,1] haus ||| [JJ,1] shell ||| logp=0 use_shell=1
[JJ] ||| kleines ||| small ||| logp=0 use_small=1.0
[JJ] ||| kleines ||| little ||| logp=0 use_little=1.0
[VP] ||| [V,1] [NP,2] ||| [V,1] [NP,2] ||| logp=0
[V] ||| sah ||| saw ||| logp=-0.25 use_saw=1.0