Text this: Aligning Artificial Intelligence to the Law