sum.js
function (str) {
            return _(str).chain()
                .unescapeHTML()
                .stripTags()
                .clean()
                .value()
                .replace( matchJunk, '' )
                .toLowerCase();
        }
function (str) {
            return _(str).chain()
                .unescapeHTML()
                .stripTags()
                .clean()
                .value()
                .replace( matchJunk, '' )
                .toLowerCase();
        }
function ( str ) { return _ ( str ) . chain ( ) . unescapeHTML ( ) . stripTags ( ) . clean ( ) . value ( ) . replace ( matchJunk , '' ) . toLowerCase ( ) ; }
Function used to clean sentences before splitting into words
@param {String} str
@return {String}
Function used to clean sentences before splitting into words