Comprehensive string metric library in Java with no external dependencies