Java 类org.apache.lucene.analysis.ar.ArabicLetterTokenizer 实例源码

项目:search    文件:TestPersianNormalizationFilter.java   
private void check(final String input, final String expected) throws IOException {
  ArabicLetterTokenizer tokenStream = new ArabicLetterTokenizer(TEST_VERSION_CURRENT, 
      new StringReader(input));
  PersianNormalizationFilter filter = new PersianNormalizationFilter(
      tokenStream);
  assertTokenStreamContents(filter, new String[]{expected});
}
项目:NYBC    文件:TestPersianNormalizationFilter.java   
private void check(final String input, final String expected) throws IOException {
  ArabicLetterTokenizer tokenStream = new ArabicLetterTokenizer(TEST_VERSION_CURRENT, 
      new StringReader(input));
  PersianNormalizationFilter filter = new PersianNormalizationFilter(
      tokenStream);
  assertTokenStreamContents(filter, new String[]{expected});
}
项目:Maskana-Gestor-de-Conocimiento    文件:TestPersianNormalizationFilter.java   
private void check(final String input, final String expected) throws IOException {
  ArabicLetterTokenizer tokenStream = new ArabicLetterTokenizer(TEST_VERSION_CURRENT, 
      new StringReader(input));
  PersianNormalizationFilter filter = new PersianNormalizationFilter(
      tokenStream);
  assertTokenStreamContents(filter, new String[]{expected});
}
项目:NYBC    文件:ArabicLetterTokenizerFactory.java   
public ArabicLetterTokenizer create(Reader input) {
  return new ArabicLetterTokenizer(luceneMatchVersion, input);
}