The challenges of legal analysis between text mining and machine learning