'use strict';

var natural = require('natural');

var t = 'Changes profile picture delete feature';

natural.PorterStemmer.attach();
var stemmed = t.tokenizeAndStem();
stemmed.join(' ');
if (stemmed != t) {
    warn(util.format('Stemmed first line is different,\n' +
    'got "%s"\n' +
    'expect "%s"', t, stemmed));
}

@@ -8,16 +8,44 @@
 rict';%0A%0A
+var util = require('util');%0A
 var natu
@@ -108,26 +108,31 @@
 ure 
-delete feature
+in the main view
 ';%0A%0A
+// 
 natu
@@ -159,16 +159,19 @@
 tach();%0A
+// 
 var stem
@@ -197,16 +197,19 @@
 Stem();%0A
+// 
 stemmed.
@@ -219,16 +219,19 @@
 n(' ');%0A
+// 
 if (stem
@@ -242,20 +242,31 @@
 != t) %7B%0A
+// 
     
+console.
 warn(uti
@@ -309,24 +309,27 @@
 erent,%5Cn' +%0A
+// 
     'got %22%25s
@@ -335,16 +335,19 @@
 s%22%5Cn' +%0A
+// 
     'exp
@@ -375,6 +375,1925 @@
 ));%0A
-%7D
+// %7D%0A%0A// var SentenceAnalyzer = natural.SentenceAnalyzer;%0A// var PresentVerbInflector = natural.PresentVerbInflector;%0A// var wordnet = new natural.WordNet();%0A//%0A// wordnet.lookup('node', function(results) %7B%0A//     results.forEach(function(result) %7B%0A//         console.log('------------------------------------');%0A//         console.log(result.synsetOffset);%0A//         console.log(result.pos);%0A//         console.log(result.lemma);%0A//         console.log(result.synonyms);%0A//         console.log(result.pos);%0A//         console.log(result.gloss);%0A//     %7D);%0A// %7D);%0A%0Avar speak = require(%22speakeasy-nlp%22);%0Avar https = require('https');%0Avar assert = require('assert');%0A%0Avar limit = 30;%0Avar ct = 0;%0Avar defaultLimit = 30;%0Avar path = util.format('/repos/%25s/commits', 'tpope/vim-pathogen');%0Avar options = %7B%0A    hostname: 'api.github.com',%0A    path: path + '?page=1',%0A    headers: %7B%0A        'User-Agent': 'clns/node-commit-msg',%0A        'Accept': 'application/vnd.github.v3+json'%0A    %7D%0A%7D;%0Avar get = function() %7B%0A    https.get(options, function(res) %7B%0A        assert.equal(res.statusCode, 200, 'Response: ' + JSON.stringify(res.headers));%0A%0A        var body = '';%0A        res.on('data', function(chunk) %7B%0A            body += chunk.toString();%0A        %7D);%0A%0A        res.on('end', function () %7B%0A            var commits = JSON.parse(body);%0A            commits.forEach(function(commit) %7B%0A                ct++;%0A                var c = commit.commit;%0A                var msg = c.message;%0A                var line = msg.split('%5Cn')%5B0%5D;%0A                console.log(line);%0A                console.log(speak.classify(line));%0A                console.log('------------------------------');%0A            %7D);%0A%0A            if (!(ct %3E= limit %7C%7C commits.length %3C defaultLimit)) %7B%0A                options.path = path + '?page=' + (Math.ceil(ct / defaultLimit)+1);%0A                get();%0A            %7D%0A        %7D);%0A    %7D);%0A%7D; // get() function%0A%0Aget();
 %0A

Add more experimental tests