diff options
| author | Alon Levy <alon@pobox.com> | 2014-10-26 17:42:59 +0200 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2014-10-26 17:42:59 +0200 |
| commit | 5e1b9130d0ba2bd408fea1317e058bb205269718 (patch) | |
| tree | bbc85230b843f5a738452192ec217bde68c5a88e | |
| parent | df1ef90640db02889b1ec5d5593c942856ba9829 (diff) | |
Fixes #86
| -rw-r--r-- | scripts/textanalysis.js | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |
