Dealing with Qualitative and Quantitative Features in Legal Domains