Legal text analytics solution