Package org.apache.lucene.analysis.standard

Examples of org.apache.lucene.analysis.standard.UAX29URLEmailAnalyzer


  }
 
  /** @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
  }
View Full Code Here


  }

 
  /** blast some random strings through the analyzer */
  public void testRandomStrings() throws Exception {
    checkRandomData(random(), new UAX29URLEmailAnalyzer(TEST_VERSION_CURRENT), 1000*RANDOM_MULTIPLIER);
  }
View Full Code Here

  }
 
  /** @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
  }
View Full Code Here

  }

 
  /** blast some random strings through the analyzer */
  public void testRandomStrings() throws Exception {
    checkRandomData(random(), new UAX29URLEmailAnalyzer(TEST_VERSION_CURRENT), 1000*RANDOM_MULTIPLIER);
  }
View Full Code Here

  }
 
  /** @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
  }
View Full Code Here

  }

 
  /** blast some random strings through the analyzer */
  public void testRandomStrings() throws Exception {
    checkRandomData(random(), new UAX29URLEmailAnalyzer(TEST_VERSION_CURRENT), 1000*RANDOM_MULTIPLIER);
  }
View Full Code Here

  }
 
  /** @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
  }
View Full Code Here

  }


  /** blast some random strings through the analyzer */
  public void testRandomStrings() throws Exception {
    checkRandomData(random, new UAX29URLEmailAnalyzer(TEST_VERSION_CURRENT), 10000*RANDOM_MULTIPLIER);
  }
View Full Code Here

TOP

Related Classes of org.apache.lucene.analysis.standard.UAX29URLEmailAnalyzer

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.