Redesign of VC section
Change-Id: Id1eb6e86aff2632036e2ca21b119f3a1cf80dce7
diff --git a/dev/demo/alldemo.js b/dev/demo/alldemo.js
index 3b75c80..5a3d3c8 100644
--- a/dev/demo/alldemo.js
+++ b/dev/demo/alldemo.js
@@ -747,6 +747,15 @@
}
};
+//corpus statistic
+var statistic = {
+ "documents":1,
+ "tokens":222222,
+ "sentences":33333,
+ "paragraphs":444
+};
+
+
requirejs.config({
baseUrl: '../js/src',
paths : {
@@ -782,7 +791,13 @@
KorAP.API.getTextInfo = function (doc, param, cb) {
cb(textInfo);
};
-
+
+ //get the corpus statistic (demo function)
+ KorAP.API.getCorpStat = function(collQu, cb){
+ return cb(statistic);
+ };
+
+
/**
* Do some things at the beginning.
*/