From 5e1b9130d0ba2bd408fea1317e058bb205269718 Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Sun, 26 Oct 2014 17:42:59 +0200 Subject: Fixes #86 --- 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 66cc4d4e..800a741f 100644 --- a/scripts/textanalysis.js +++ b/scripts/textanalysis.js @@ -236,7 +236,7 @@ var textAnalyser2 = function (newtext, finalize) { } } - abnormalGraph = (newlinks.length - ANDcount) >= 3; + abnormalGraph = (newlinks.length - ANDcount) >= 3 || orderStack[orderStack.length - 1] != NODE; //PREFIX not null case - put complete sentence in first link. if (prefix && !abnormalGraph) { -- cgit v1.3.1