- make max sentence length configurable