Typescript multiple-string replacement library, for natural language processing (NLP) and general use