summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAlon Levy <alon@pobox.com>2014-10-26 15:34:34 +0200
committerAlon Levy <alon@pobox.com>2014-10-26 15:34:36 +0200
commit379a066ddeb72012788f3f56fcec7bcf795b9ad9 (patch)
tree0a12f7dff5b92b2f671c89849fc452e0400774cd /scripts
parentbc59a670be2894b5be1495bb8e72142039a2212a (diff)
Fixes #114
In * case sentence - Description contains quote marks for multiple worded sentence
Diffstat (limited to 'scripts')
-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] + " --> ";