summaryrefslogtreecommitdiff
path: root/scripts/textanalysis.js
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/textanalysis.js')
-rw-r--r--scripts/textanalysis.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/scripts/textanalysis.js b/scripts/textanalysis.js
index 3c1f3bae..185259d5 100644
--- a/scripts/textanalysis.js
+++ b/scripts/textanalysis.js
@@ -252,11 +252,7 @@ var textAnalyser2 = function (newtext, finalize) {
for (m = 0; m < orderStack.length; m++) {
if (orderStack[m] === "NODE") {
word += " (" + newnodes[nodeindex] + ") ";
- if(newnodes[nodeindex].split(" ").length>1){
- completeSentence += '"'+newnodes[nodeindex]+'"' + " ";
- }else{
- completeSentence += newnodes[nodeindex] + " ";
- }
+ completeSentence += newnodes[nodeindex] + " ";
nodeindex++;
} else if (orderStack[m] === "LINK") {
word += " -->" + newlinks[nodeindex] + " --> ";