From 6e9a6af5cf05ffb4c3b81fdb74d121b626c550ba Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Wed, 28 Oct 2015 12:51:34 +0100 Subject: demo --- demo.html | 21 +++++++++++---------- dummy.js | 7 +++++++ 2 files changed, 18 insertions(+), 10 deletions(-) create mode 100644 dummy.js diff --git a/demo.html b/demo.html index 3594dfd..9033d55 100644 --- a/demo.html +++ b/demo.html @@ -4,19 +4,20 @@ derivation editor - - + + - + + - +
- - - -
+  
+  
+  
+  

   

   

Instructions

@@ -29,7 +30,7 @@
  • reset: click 'reset' button to start from scratch
  • show recorded data:click 'D' button
  • -

    TODO

    + diff --git a/dummy.js b/dummy.js new file mode 100644 index 0000000..708eee4 --- /dev/null +++ b/dummy.js @@ -0,0 +1,7 @@ +var data = JSON.parse('{"phrase_alignment":[[0,2],[1],[0,2],[3],[4],[5],[6],[7,9],[8],[7,9],[10,18],[11],[10,18],[12],[13],[14],[15],[16],[17],[10,18],[19],[20],[21,23],[22],[21,23],[24],[25]],"source_groups":["hier also","ein bescheidener",",","auf alle","demokratien","anzuwendender","vorschlag",":","der markt für","ideen","funktioniert","besser",",","wenn es den","bürgern","leichter","fällt , die","zielkonflikte zwischen","treffsicherheit","der","aussagen und","unterhaltung","oder zwischen","treffsicherheit","und","parteitreue","zu erkennen ."],"target_groups":["so here","a modest",",","to all","democracies","anzuwendender","proposal",":","the market for","ideas","works","better","if","citizens","easier",", the","trade @-@ offs between","treffsicherheit","the","statements and","entertainment","or","treffsicherheit","and","parteitreue","."]}'); + +function _demo() +{ + DE_init(); +} + -- cgit v1.2.3