lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Libbrecht <>
Subject an analyzer map at hand?
Date Mon, 26 Apr 2010 15:04:33 GMT

Hello Luceners,

I am sure I'm not the only one having such a snippet in my dedicated  

         m.put("en", new SnowballAnalyzer("English"));
         m.put("es", new SnowballAnalyzer("Spanish"));
         m.put("de", new SnowballAnalyzer("German"));
         m.put("dk", new SnowballAnalyzer("Danish"));
         m.put("fi", new SnowballAnalyzer("Finnish"));
         m.put("fr", new SnowballAnalyzer("French"));
         m.put("hu", new SnowballAnalyzer("Hungarian"));
         m.put("it", new SnowballAnalyzer("Italian"));
         m.put("no", new SnowballAnalyzer("Norwegian"));
         m.put("nl", new SnowballAnalyzer("Dutch"));
         m.put("pt", new SnowballAnalyzer("Portuguese"));
         m.put("ro", new SnowballAnalyzer("Romanian"));
         m.put("ru", new SnowballAnalyzer("Russian"));
         m.put("sv", new SnowballAnalyzer("Swedish"));
         m.put("tr", new SnowballAnalyzer("Turkish"));
         m.put("default", new StandardAnalyzer());

is this something that is shared somewhere?
(I know everyone has its own favorites).
thanks in advance

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message