This is a Java implementation of the semantic distance measuring algorithm from my PhD thesis: