var Filter = (function() {
  function Filter(options) {
    options = options || {};
    this.list = Array.prototype.concat.apply( require('./lang.json').words, require('badwords-list').array );
    this.placeHolder = options.placeHolder || '*';
    this.regex = options.regex || /[^a-zA-z0-9|\$|\@]|\^/g;
  }

  Filter.prototype.isProfane = function isProfane(string) {
    var words = string.split(' ');
    for (var j = 0; j < words.length; j++) {
      var word = words[j].toLowerCase().replace(this.regex, '');
      if(~this.list.indexOf(word)) {
        return true;
      }
    }
    return false;
  };

  Filter.prototype.replaceWord = function replaceWord(string) {
    return string.replace(this.regex, '').replace(/\w/g, this.placeHolder);
  };

  Filter.prototype.clean = function clean(string) {
    return string.split(' ').map(function(word) {
      return this.isProfane(word) ? this.replaceWord(word) : word;
    }.bind(this)).join(' ');
  };

  Filter.prototype.addWords = function addWords(words) {
    words = (words instanceof Array) ? words : [words];
    this.list = this.list.concat(words);
  };

  return Filter;
})();

module.exports = Filter;

@@ -1,12 +1,90 @@
+var soundex = require('soundex'),%0A  soundexSeed = require('./soundex.json');%0A%0A
 var Filter =
@@ -98,16 +98,16 @@
 ion() %7B%0A
-
   functi
@@ -266,16 +266,110 @@
 rray );%0A
+    this.soundex = soundexSeed.words.map(function(word) %7B%0A      return soundex(word);%0A    %7D);%0A
     this
@@ -677,24 +677,24 @@
 regex, '');%0A
-
       if(~th
@@ -714,16 +714,56 @@
 Of(word)
+ %7C%7C ~this.soundex.indexOf(soundex(word))
 ) %7B%0A    

add soundex comparison within isProfane method