Java 类org.apache.lucene.analysis.standard.UAX29URLEmailAnalyzer 实例源码

项目:search    文件:TestUAX29URLEmailAnalyzer.java   
/** @deprecated remove this and sophisticated backwards layer in 5.0 */
@Deprecated
public void testCombiningMarksBackwards() throws Exception {
  Analyzer a = new UAX29URLEmailAnalyzer(Version.LUCENE_3_3);
  checkOneTerm(a, "ざ", "さ"); // hiragana Bug
  checkOneTerm(a, "ザ", "ザ"); // katakana Works
  checkOneTerm(a, "壹゙", "壹"); // ideographic Bug
  checkOneTerm(a, "아゙",  "아゙"); // hangul Works
}
项目:NYBC    文件:TestUAX29URLEmailAnalyzer.java   
/** @deprecated remove this and sophisticated backwards layer in 5.0 */
@Deprecated
public void testCombiningMarksBackwards() throws Exception {
  Analyzer a = new UAX29URLEmailAnalyzer(Version.LUCENE_33);
  checkOneTerm(a, "ざ", "さ"); // hiragana Bug
  checkOneTerm(a, "ザ", "ザ"); // katakana Works
  checkOneTerm(a, "壹゙", "壹"); // ideographic Bug
  checkOneTerm(a, "아゙",  "아゙"); // hangul Works
}
项目:Maskana-Gestor-de-Conocimiento    文件:TestUAX29URLEmailAnalyzer.java   
/** @deprecated remove this and sophisticated backwards layer in 5.0 */
@Deprecated
public void testCombiningMarksBackwards() throws Exception {
  Analyzer a = new UAX29URLEmailAnalyzer(Version.LUCENE_33);
  checkOneTerm(a, "ざ", "さ"); // hiragana Bug
  checkOneTerm(a, "ザ", "ザ"); // katakana Works
  checkOneTerm(a, "壹゙", "壹"); // ideographic Bug
  checkOneTerm(a, "아゙",  "아゙"); // hangul Works
}
项目:search    文件:TestUAX29URLEmailAnalyzer.java   
/** blast some random strings through the analyzer */
public void testRandomStrings() throws Exception {
  checkRandomData(random(), new UAX29URLEmailAnalyzer(), 1000*RANDOM_MULTIPLIER);
}
项目:NYBC    文件:TestUAX29URLEmailAnalyzer.java   
/** blast some random strings through the analyzer */
public void testRandomStrings() throws Exception {
  checkRandomData(random(), new UAX29URLEmailAnalyzer(TEST_VERSION_CURRENT), 1000*RANDOM_MULTIPLIER);
}
项目:Maskana-Gestor-de-Conocimiento    文件:TestUAX29URLEmailAnalyzer.java   
/** blast some random strings through the analyzer */
public void testRandomStrings() throws Exception {
  checkRandomData(random(), new UAX29URLEmailAnalyzer(TEST_VERSION_CURRENT), 1000*RANDOM_MULTIPLIER);
}