diff options
author | Patrick Simianer <p@simianer.de> | 2014-05-08 17:56:31 +0200 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2014-05-08 17:56:31 +0200 |
commit | c8b4abf55672fb27eca97e921ca0e12057dcc0cf (patch) | |
tree | f29553541df4d63e45246f1f3415070dfbd2aa59 /example | |
parent | 4400add706c01ebf1460701c651d66bbf592cfa5 (diff) |
correct, but still slow
Diffstat (limited to 'example')
-rw-r--r-- | example/grammar | 15 | ||||
-rw-r--r-- | example/grammar.3.gz | bin | 0 -> 65565 bytes | |||
-rw-r--r-- | example/grammar.x | 5 |
3 files changed, 20 insertions, 0 deletions
diff --git a/example/grammar b/example/grammar new file mode 100644 index 0000000..1d72ce5 --- /dev/null +++ b/example/grammar @@ -0,0 +1,15 @@ +[S] ||| [NP,1] [VP,2] ||| [1] [2] ||| logp=0 +[S] ||| ich sah ein kleines haus ||| +[S] ||| ich [VP,2] ||| i [1] [2] ||| logp=0 +[S] ||| ich sah ein [NN,1] haus ||| i saw a [NN,1] house ||| logp=0 +[S] ||| ich [V,1] ein [NN,1] haus ||| i [1] a [2] house ||| 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] ||| kleines haus ||| small house ||| logp=0 use_house=1 +[NN] ||| kleines haus ||| little house ||| logp=0 use_house=1 +[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 +[VP] ||| [V,1] [NP,2] ||| [1] [2] ||| logp=0 +[V] ||| sah ||| saw ||| logp=-0.25 use_saw=1.0 diff --git a/example/grammar.3.gz b/example/grammar.3.gz Binary files differnew file mode 100644 index 0000000..59e6234 --- /dev/null +++ b/example/grammar.3.gz diff --git a/example/grammar.x b/example/grammar.x new file mode 100644 index 0000000..7ff74b5 --- /dev/null +++ b/example/grammar.x @@ -0,0 +1,5 @@ +[X] ||| lebensmittel [X,1] +[X] ||| schuld [X,1] +[X] ||| an +[X] ||| europäischer [X,1] +[X] ||| inflation |