if (matchVersion.onOrAfter(Version.LUCENE_4_7)) {
this.scanner = new StandardTokenizerImpl(input);
} else if (matchVersion.onOrAfter(Version.LUCENE_4_0)) {
this.scanner = new StandardTokenizerImpl40(input);
} else if (matchVersion.onOrAfter(Version.LUCENE_3_4)) {
this.scanner = new StandardTokenizerImpl34(input);
} else if (matchVersion.onOrAfter(Version.LUCENE_3_1)) {
this.scanner = new StandardTokenizerImpl31(input);
} else {
this.scanner = new ClassicTokenizerImpl(input);
}