summaryrefslogtreecommitdiff
path: root/src/textanalysis.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/textanalysis.js')
-rw-r--r--src/textanalysis.js2
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';
});