summaryrefslogtreecommitdiff
path: root/example/toy/grammar-test
blob: 18900aeb0a17cb2aabb9c35e3b94cc4c4bd8ff79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
[S] ||| [B,1] ||| [B,1] ||| logp=0
[S] ||| ich [V,1] ein [JJ,2] haus ||| i [V,1] a [JJ,2] ||| logp=0
[S] ||| ich sah ein kleines haus ||| i saw a small house ||| logp=0
[S] ||| ich sah ein [JJ,1] ||| i saw a [JJ,1] ||| logp=0
[B] ||| [C,1] ||| [C,1] ||| logp=0
[C] ||| [Q,1] ||| [Q,1] ||| logp=0
[Q] ||| [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] ||| [JJ,1] haus ||| [JJ,1] house ||| logp=0 use_house=1
[NN] ||| [JJ,1] haus ||| [JJ,1] shell ||| logp=0 use_shell=1
[JJ] ||| [H,1] ||| [H,1] ||| logp=0
[H]  ||| kleines [Z,1] ||| small [1] ||| logp=0
[Z]  ||| [I,1]   ||| [I,1] ||| logp=0
[I]  ||| haus ||| house ||| logp=0
[JJ] ||| kleines ||| small ||| logp=0 use_small=1.0
[JJ] ||| kleines ||| little ||| logp=0 use_little=1.0
[JJ] ||| grosses ||| big ||| logp=0
[JJ] ||| grosses ||| large ||| logp=0
[VP] ||| [V,1] [NP,2] ||| [V,1] [NP,2] ||| logp=0
[V] ||| sah ||| saw ||| logp=-0.25 use_saw=1.0
[V] ||| fand ||| found ||| logp=0