You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by dn...@apache.org on 2004/08/18 00:03:07 UTC

cvs commit: jakarta-lucene-sandbox/contributions/analyzers/src/test/org/apache/lucene/analysis/fr TestFrenchAnalyzer.java

dnaber      2004/08/17 15:03:07

  Modified:    contributions/analyzers/src/test/org/apache/lucene/analysis/fr
                        TestFrenchAnalyzer.java
  Log:
  convert to utf-8
  
  Revision  Changes    Path
  1.3       +8 -8      jakarta-lucene-sandbox/contributions/analyzers/src/test/org/apache/lucene/analysis/fr/TestFrenchAnalyzer.java
  
  Index: TestFrenchAnalyzer.java
  ===================================================================
  RCS file: /home/cvs/jakarta-lucene-sandbox/contributions/analyzers/src/test/org/apache/lucene/analysis/fr/TestFrenchAnalyzer.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- TestFrenchAnalyzer.java	23 Jan 2004 12:49:34 -0000	1.2
  +++ TestFrenchAnalyzer.java	17 Aug 2004 22:03:07 -0000	1.3
  @@ -66,7 +66,7 @@
   /**
    * Test case for FrenchAnalyzer.
    *
  - * @author    Jean-Fran�ois Halleux
  + * @author    Jean-François Halleux
    * @version   $version$
    */
   
  @@ -140,25 +140,25 @@
   		sign is often used for composing words */
   		assertAnalyzesTo(
   			fa,
  -			"Jean-Fran�ois",
  -			new String[] { "jean", "fran�ois" });
  +			"Jean-François",
  +			new String[] { "jean", "françois" });
   
   		// 2. stopwords
   		assertAnalyzesTo(
   			fa,
  -			"le la chien les aux chat du des � cheval",
  +			"le la chien les aux chat du des à cheval",
   			new String[] { "chien", "chat", "cheval" });
   
   		// some nouns and adjectives
   		assertAnalyzesTo(
   			fa,
  -			"lances chismes habitable chiste �l�ments captifs",
  +			"lances chismes habitable chiste éléments captifs",
   			new String[] {
   				"lanc",
   				"chism",
   				"habit",
   				"chist",
  -				"�l�ment",
  +				"élément",
   				"captif" });
   
   		// some verbs
  @@ -171,12 +171,12 @@
   		// aujourd'hui stays one term which is OK
   		assertAnalyzesTo(
   			fa,
  -			"C3PO aujourd'hui oeuf ������ anticonstitutionnellement Java++ ",
  +			"C3PO aujourd'hui oeuf ïâöûàä anticonstitutionnellement Java++ ",
   			new String[] {
   				"c3po",
   				"aujourd'hui",
   				"oeuf",
  -				"������",
  +				"ïâöûàä",
   				"anticonstitutionnel",
   				"jav" });
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org