Added token length statistics to training endpoint.
Added support for predicting from raw text. Closes #2.
Fix typo.