lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Liaqat Ali <liaqatalim...@gmail.com>
Subject StopWords problem
Date Wed, 26 Dec 2007 19:36:38 GMT
Hi, Doro Cohen

Thanks for your reply, but I am facing a small problem over here. As I 
am using notepad for coding, then in which format the file should be saved.


public static final String[] URDU_STOP_WORDS = { "کے" ,"کی" ,"سے" ,"کا" 
,"کو" ,"ہے" };

Analyzer analyzer = new StandardAnalyzer(URDU_STOP_WORDS);


If I save it in ANSI format it will lose the contents, I tried Unicode 
but it does not work and I also tried UTF-8, but it also generate two 
errors of identifying two illegal characters. What should be the 
solution. Kindly guide in this.

Thanks ..

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


Mime
View raw message