Gravar-mail: Semantic Similarity for Automatic Classification of Chemical Compounds