From d5e65806a2027e3e5fc15e1b255bde95a7d463da Mon Sep 17 00:00:00 2001 From: Alex Langberg Date: Mon, 8 Jun 2015 20:59:15 +0200 Subject: [PATCH] Newlines. --- lib/natural/tokenizers/tokenizer_case.js | 2 +- spec/tokenizer_case_spec.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/natural/tokenizers/tokenizer_case.js b/lib/natural/tokenizers/tokenizer_case.js index f790674d3..46d9757da 100644 --- a/lib/natural/tokenizers/tokenizer_case.js +++ b/lib/natural/tokenizers/tokenizer_case.js @@ -54,4 +54,4 @@ CaseTokenizer.prototype.tokenize = function(text, preserveApostrophe) { return this.trim(result.replace(/\s+/g, ' ').split(' ')); }; -exports.CaseTokenizer = CaseTokenizer; \ No newline at end of file +exports.CaseTokenizer = CaseTokenizer; diff --git a/spec/tokenizer_case_spec.js b/spec/tokenizer_case_spec.js index b0a8b119c..bf4095a7b 100644 --- a/spec/tokenizer_case_spec.js +++ b/spec/tokenizer_case_spec.js @@ -231,4 +231,4 @@ describe('case_tokenizer_fi', function() { it('should tokenize strings', function() { expect(tokenizer.tokenize('Mene suoraan käänny sitten vasempaan/oikeaan!')).toEqual(['Mene', 'suoraan', 'käänny', 'sitten', 'vasempaan', 'oikeaan']); }); -}); \ No newline at end of file +});