summaryrefslogtreecommitdiff
path: root/example/748
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2014-09-16 10:22:09 +0100
committerPatrick Simianer <p@simianer.de>2014-09-16 10:22:09 +0100
commitdf70006a07fb67b17fb39aa56762c50c2e7b8131 (patch)
tree064575cc3996374bf3d205d10ddde21c3ba67c54 /example/748
parentf1916c39b820b7d10d1ae7d7447675c4224d8197 (diff)
adding examples
Diffstat (limited to 'example/748')
-rw-r--r--example/748/748.err7
-rw-r--r--example/748/748.in1
-rw-r--r--example/748/748.json23
-rw-r--r--example/748/748.pakbin0 -> 431 bytes
-rw-r--r--example/748/748_f/0.json.gzbin0 -> 648 bytes
-rw-r--r--example/748/grammar.7481
6 files changed, 32 insertions, 0 deletions
diff --git a/example/748/748.err b/example/748/748.err
new file mode 100644
index 0000000..4c48f6c
--- /dev/null
+++ b/example/748/748.err
@@ -0,0 +1,7 @@
+input:
+ 'baracoa'
+viterbi translation:
+ 'baracoa'
+# nodes = 3
+# edges = 4
+viterbi score = -0.02
diff --git a/example/748/748.in b/example/748/748.in
new file mode 100644
index 0000000..7633ec8
--- /dev/null
+++ b/example/748/748.in
@@ -0,0 +1 @@
+baracoa
diff --git a/example/748/748.json b/example/748/748.json
new file mode 100644
index 0000000..c587942
--- /dev/null
+++ b/example/748/748.json
@@ -0,0 +1,23 @@
+{
+"rules":[
+"[X] ||| baracoa ||| baracoa ||| EgivenFCoherent=-0.0 SampleCountF=0.301029995664 CountEF=0.301029995664 MaxLexFgivenE=0.0 MaxLexEgivenF=0.0 IsSingletonF=1.0 IsSingletonFE=1.0",
+"[X] ||| baracoa ||| baracoa ||| PassThrough=1.0 PassThrough_5=1.0",
+"[S] ||| [X,1] ||| [1] ||| ",
+"[Goal] ||| [S,1] ||| [1] ||| "
+],
+"nodes":
+[
+{ "id":0, "symbol":"root", "span":[-1,-1] },
+{ "id":1, "symbol":"X", "span":[0,1] },
+{ "id":2, "symbol":"S", "span":[0,1] },
+{ "id":3, "symbol":"Goal", "span":[0,1] }
+],
+"edges":
+[
+{"head":1, "rule":0, "tails":[ 0 ], "score":0.980198673745 },
+{"head":1, "rule":1, "tails":[ 0 ], "score":0.904837416688 },
+{"head":2, "rule":2, "tails":[ 1 ], "score":1.0 },
+{"head":3, "rule":3, "tails":[ 2 ], "score":1.0 }
+]
+}
+
diff --git a/example/748/748.pak b/example/748/748.pak
new file mode 100644
index 0000000..26276f5
--- /dev/null
+++ b/example/748/748.pak
Binary files differ
diff --git a/example/748/748_f/0.json.gz b/example/748/748_f/0.json.gz
new file mode 100644
index 0000000..ca169b3
--- /dev/null
+++ b/example/748/748_f/0.json.gz
Binary files differ
diff --git a/example/748/grammar.748 b/example/748/grammar.748
new file mode 100644
index 0000000..5d494dd
--- /dev/null
+++ b/example/748/grammar.748
@@ -0,0 +1 @@
+[X] ||| baracoa ||| baracoa ||| EgivenFCoherent=-0 SampleCountF=0.301029995664 CountEF=0.301029995664 MaxLexFgivenE=0 MaxLexEgivenF=0 IsSingletonF=1 IsSingletonFE=1 ||| 0-0