From 6415da588d706a45fab25fc4c1e614115db80c3f Mon Sep 17 00:00:00 2001 From: voje Date: Fri, 5 Apr 2019 09:12:17 +0200 Subject: [PATCH] adding old_api_exmaples --- old_api_examples/frames_reduce_0.json | 482 ++++++++++++++++++++++++++ old_api_examples/old_api.log | 3 + 2 files changed, 485 insertions(+) create mode 100644 old_api_examples/frames_reduce_0.json create mode 100644 old_api_examples/old_api.log diff --git a/old_api_examples/frames_reduce_0.json b/old_api_examples/frames_reduce_0.json new file mode 100644 index 0000000..71317fb --- /dev/null +++ b/old_api_examples/frames_reduce_0.json @@ -0,0 +1,482 @@ +{ + "frames": [ + { + "hw": null, + "tids": [ + "ssj70.441.1690.t31" + ], + "slots": [ + { + "functor": "ACT", + "tids": [ + "ssj70.441.1690.t7" + ], + "count": 1 + }, + { + "functor": "PAT", + "tids": [ + "ssj70.441.1690.t33" + ], + "count": 1 + }, + { + "functor": "MANN", + "tids": [ + "ssj70.441.1690.t9" + ], + "count": 1 + }, + { + "functor": "REC", + "tids": [ + "ssj70.441.1690.t8" + ], + "count": 1 + } + ], + "sentences": [ + [ + [ + "ssj70.441.1690.t1", + { + "msd": "Ggnspe", + "lemma": "hraniti", + "word": "Hranim" + } + ], + [ + "ssj70.441.1690.t2", + { + "msd": "Zotmet--k", + "lemma": "on", + "word": "ga" + } + ], + [ + "ssj70.441.1690.t3", + { + "msd": "Do", + "lemma": "z", + "word": "z" + } + ], + [ + "ssj70.441.1690.t4", + { + "msd": "Pdnzeo", + "lemma": "umazan", + "word": "umazano" + } + ], + [ + "ssj70.441.1690.t5", + { + "msd": "Sozeo", + "lemma": "posoda", + "word": "posodo" + } + ], + [ + "ssj70.441.1690.t6", + { + "msd": "Vp", + "lemma": "in", + "word": "in" + } + ], + [ + "ssj70.441.1690.t7", + { + "msd": "Zotmei", + "lemma": "on", + "word": "on" + } + ], + [ + "ssj70.441.1690.t8", + { + "msd": "Zop-ed--k", + "lemma": "jaz", + "word": "mi" + } + ], + [ + "ssj70.441.1690.t9", + { + "msd": "Rsn", + "lemma": "zvesto", + "word": "zvesto" + } + ], + [ + "ssj70.441.1690.t10", + { + "word": "," + } + ], + [ + "ssj70.441.1690.t11", + { + "msd": "Dr", + "lemma": "brez", + "word": "brez" + } + ], + [ + "ssj70.441.1690.t12", + { + "msd": "Soser", + "lemma": "ugovarjanje", + "word": "ugovarjanja" + } + ], + [ + "ssj70.441.1690.t13", + { + "word": "," + } + ], + [ + "ssj70.441.1690.t14", + { + "msd": "Dm", + "lemma": "ob", + "word": "ob" + } + ], + [ + "ssj70.441.1690.t15", + { + "msd": "Sozem", + "lemma": "spremljava", + "word": "spremljavi" + } + ], + [ + "ssj70.441.1690.t16", + { + "msd": "Ppnzer", + "lemma": "ne\u017een", + "word": "ne\u017ene" + } + ], + [ + "ssj70.441.1690.t17", + { + "msd": "Sozer", + "lemma": "melodija", + "word": "melodije" + } + ], + [ + "ssj70.441.1690.t18", + { + "word": "," + } + ], + [ + "ssj70.441.1690.t19", + { + "msd": "Vd", + "lemma": "ki", + "word": "ki" + } + ], + [ + "ssj70.441.1690.t20", + { + "msd": "Ggnste", + "lemma": "spominjati", + "word": "spominja" + } + ], + [ + "ssj70.441.1690.t21", + { + "msd": "Dt", + "lemma": "na", + "word": "na" + } + ], + [ + "ssj70.441.1690.t22", + { + "msd": "Soset", + "lemma": "\u0161umenje", + "word": "\u0161umenje" + } + ], + [ + "ssj70.441.1690.t23", + { + "msd": "Soser", + "lemma": "morje", + "word": "morja" + } + ], + [ + "ssj70.441.1690.t24", + { + "msd": "Vp", + "lemma": "in", + "word": "in" + } + ], + [ + "ssj70.441.1690.t25", + { + "msd": "Dt", + "lemma": "na", + "word": "na" + } + ], + [ + "ssj70.441.1690.t26", + { + "msd": "Ppnmmt", + "lemma": "romanti\u010den", + "word": "romanti\u010dne" + } + ], + [ + "ssj70.441.1690.t27", + { + "msd": "Somdt", + "lemma": "sprehod", + "word": "sprehoda" + } + ], + [ + "ssj70.441.1690.t28", + { + "msd": "Dm", + "lemma": "v", + "word": "v" + } + ], + [ + "ssj70.441.1690.t29", + { + "msd": "Sozem", + "lemma": "nevihta", + "word": "nevihti" + } + ], + [ + "ssj70.441.1690.t30", + { + "word": "," + } + ], + [ + "ssj70.441.1690.t31", + { + "msd": "Ggdste", + "lemma": "oprati", + "word": "opere" + } + ], + [ + "ssj70.441.1690.t32", + { + "msd": "Pdnzet", + "lemma": "umazan", + "word": "umazano" + } + ], + [ + "ssj70.441.1690.t33", + { + "msd": "Sozet", + "lemma": "vsebina", + "word": "vsebino" + } + ], + [ + "ssj70.441.1690.t34", + { + "word": "." + } + ] + ] + ], + "aggr_sent": { + "oprati": [ + 0 + ] + }, + "sense_info": { + + } + }, + { + "hw": null, + "tids": [ + "ssj95.624.2382.t4" + ], + "slots": [ + { + "functor": "PAT", + "tids": [ + "ssj95.624.2382.t3" + ], + "count": 1 + } + ], + "sentences": [ + [ + [ + "ssj95.624.2382.t1", + { + "msd": "Sozei", + "lemma": "priprava", + "word": "Priprava" + } + ], + [ + "ssj95.624.2382.t2", + { + "word": ":" + } + ], + [ + "ssj95.624.2382.t3", + { + "msd": "Sometn", + "lemma": "koren\u010dek", + "word": "Koren\u010dek" + } + ], + [ + "ssj95.624.2382.t4", + { + "msd": "Ggdspm", + "lemma": "oprati", + "word": "operemo" + } + ], + [ + "ssj95.624.2382.t5", + { + "msd": "Vp", + "lemma": "in", + "word": "in" + } + ], + [ + "ssj95.624.2382.t6", + { + "msd": "Rsn", + "lemma": "dobro", + "word": "dobro" + } + ], + [ + "ssj95.624.2382.t7", + { + "msd": "Ggdspm", + "lemma": "ostrgati", + "word": "ostrgamo" + } + ], + [ + "ssj95.624.2382.t8", + { + "word": "." + } + ] + ] + ], + "aggr_sent": { + "oprati": [ + 0 + ] + }, + "sense_info": { + + } + }, + { + "hw": null, + "tids": [ + "ssj95.624.2383.t3" + ], + "slots": [ + { + "functor": "PAT", + "tids": [ + "ssj95.624.2383.t2" + ], + "count": 1 + }, + { + "functor": "FREQ", + "tids": [ + "ssj95.624.2383.t1" + ], + "count": 1 + } + ], + "sentences": [ + [ + [ + "ssj95.624.2383.t1", + { + "msd": "Rsn", + "lemma": "znova", + "word": "Znova" + } + ], + [ + "ssj95.624.2383.t2", + { + "msd": "Zotmet--k", + "lemma": "on", + "word": "ga" + } + ], + [ + "ssj95.624.2383.t3", + { + "msd": "Ggdspm", + "lemma": "oprati", + "word": "operemo" + } + ], + [ + "ssj95.624.2383.t4", + { + "msd": "Vp", + "lemma": "in", + "word": "in" + } + ], + [ + "ssj95.624.2383.t5", + { + "msd": "Ggdspm", + "lemma": "naribati", + "word": "naribamo" + } + ], + [ + "ssj95.624.2383.t6", + { + "word": "." + } + ] + ] + ], + "aggr_sent": { + "oprati": [ + 0 + ] + }, + "sense_info": { + + } + } + ] +} + diff --git a/old_api_examples/old_api.log b/old_api_examples/old_api.log new file mode 100644 index 0000000..3a9d58c --- /dev/null +++ b/old_api_examples/old_api.log @@ -0,0 +1,3 @@ +curl 0.0.0.0:5004/api/frames?hw=oprati&rf=refuce_0 +-------------------------------------------------- +see frames_reduce_0.json \ No newline at end of file