Lucene AutoPhraseTokenFilter implementation