From c12da371e6f418b8a189b310846f54589235a625 Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Thu, 9 Oct 2014 15:32:21 +0300 Subject: Revert "Allow chainlink when no last node is there" This reverts commit e58e0c0b520d4abb971d3917712340330e5d85ff. It actually destroyed quite a lot of things, specifically even a simple sentence ended up being a chainlink. I need to rethink the 'abnormalGraph' predicate. --- scripts/textanalysis.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/textanalysis.js') diff --git a/scripts/textanalysis.js b/scripts/textanalysis.js index 3527affe..68881fcc 100644 --- a/scripts/textanalysis.js +++ b/scripts/textanalysis.js @@ -262,7 +262,7 @@ var textAnalyser2 = function (newtext, finalize) { addNode("", "bubble","temp"); } - abnormalGraph = (newlinks.length - ANDcount) >= 2; + abnormalGraph = (newlinks.length - ANDcount) >= 3; //0-N ORDER STACK for (m = 0; m < orderStack.length - 1; m++) { -- cgit v1.3.1