LuceneCompiler: phrasize, template and combine helper functions.