Reimplementation of JMTE TextProcessor in consolidated package.