Java code (Core, TS, ML, QF, NLP)