diff options
author | Patrick Simianer <p@simianer.de> | 2014-10-09 20:47:23 +0100 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2014-10-09 20:47:23 +0100 |
commit | e0b634754d1bef33dc8e72509c6990cccc32745a (patch) | |
tree | 95d77abef518a333830881dbbd661f14f94868c3 /test/cdec_hg_to_json/toy.grammar | |
parent | 254c27ed4af938f0b9c4a21cb99b75f8cc1cd1b2 (diff) |
alles neu macht der mai
Diffstat (limited to 'test/cdec_hg_to_json/toy.grammar')
-rw-r--r-- | test/cdec_hg_to_json/toy.grammar | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/cdec_hg_to_json/toy.grammar b/test/cdec_hg_to_json/toy.grammar new file mode 100644 index 0000000..382c94f --- /dev/null +++ b/test/cdec_hg_to_json/toy.grammar @@ -0,0 +1,12 @@ +[S] ||| [NP,1] [VP,2] ||| [1] [2] ||| logp=0 +[NP] ||| ich ||| i ||| logp=-0.5 use_i=1.0 +[NP] ||| ein [NN,1] ||| a [1] ||| logp=0 use_a=1.0 +[NN] ||| [JJ,1] haus ||| [1] house ||| logp=0 use_house=1 +[NN] ||| [JJ,1] haus ||| [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 +[JJ] ||| grosses ||| big ||| logp=0 +[JJ] ||| grosses ||| large ||| logp=0 +[VP] ||| [V,1] [NP,2] ||| [1] [2] ||| logp=0 +[V] ||| sah ||| saw ||| logp=-0.25 use_saw=1.0 +[V] ||| fand ||| found ||| logp=0 |