diff options
| author | Alon Levy <alon@pobox.com> | 2014-12-08 11:28:57 +0200 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2014-12-08 11:37:43 +0200 |
| commit | 16db7f005e334a41c3485b0a8c63f7d757913c72 (patch) | |
| tree | 574b82c0e13b9321caef5c11dfa67da2c5676597 /src/textanalysis.js | |
| parent | d0c940cdd17ec6c05bdfd61317ab5c77af605777 (diff) | |
add a new state: "related"
Diffstat (limited to 'src/textanalysis.js')
| -rw-r--r-- | src/textanalysis.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/textanalysis.js b/src/textanalysis.js index f2d5f555..abee466d 100644 --- a/src/textanalysis.js +++ b/src/textanalysis.js @@ -384,7 +384,7 @@ var textAnalyser = function (newtext, finalize) { * - are not of type 'bubble' */ var n_set = ret.node_set_add.filter(function(node) { - return false == graph.hasNodeByName(node.name, "perm") + return false == graph.hasNodeByNameAndNotState(node.name, "temp") && node.type !== 'bubble'; }); |
