diff options
| author | Alon Levy <alon@pobox.com> | 2014-10-26 15:34:34 +0200 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2014-10-26 15:34:36 +0200 |
| commit | 379a066ddeb72012788f3f56fcec7bcf795b9ad9 (patch) | |
| tree | 0a12f7dff5b92b2f671c89849fc452e0400774cd | |
| parent | bc59a670be2894b5be1495bb8e72142039a2212a (diff) | |
Fixes #114
In * case sentence - Description contains quote marks for multiple
worded sentence
| -rw-r--r-- | scripts/textanalysis.js | 6 |
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] + " --> "; |
