diff options
| author | Alon Levy <alon@pobox.com> | 2014-10-09 15:32:21 +0300 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2014-10-09 15:32:21 +0300 |
| commit | c12da371e6f418b8a189b310846f54589235a625 (patch) | |
| tree | 544f1714941a88e90bf0f68c37173425840101a2 /scripts | |
| parent | 18eb929aa68d38c38d2d436437dce2505a8d4152 (diff) | |
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.
Diffstat (limited to 'scripts')
| -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 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++) { |
