summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/client/textanalysis.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/client/textanalysis.js b/src/client/textanalysis.js
index b8365bc7..aab16c37 100644
--- a/src/client/textanalysis.js
+++ b/src/client/textanalysis.js
@@ -252,7 +252,9 @@ var textAnalyser = function (spec) {
//Sentence Sequencing
//Build the words and cuts the main elements
- sentence = tokenize(newtext, '#', '"');
+ sentence = new_tokenize(newtext, '#', '"').map(function (d) {
+ return d.token;
+ });
// build new node,link arrays in order of appearance
for (m = 0; m < sentence.length; m++) {