lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "T. Kuro Kurosaka" <k...@healthline.com>
Subject Re: Fwd: Language detection for solr 3.6.1
Date Wed, 09 Jul 2014 22:23:40 GMT

On 07/08/2014 03:17 AM, Poornima Jay wrote:
> I'm using the google library which I has mentioned in my first mail saying Im usinghttp://code.google.com/p/language-detection/.
I have downloaded the jar file from the below url
>
> https://www.versioneye.com/java/org.apache.solr:solr-langid/3.6.1
>
>
> Please let me know from where I need to download the correct jar file.
>
> Regards,
I don't think you need to download anything. It's included in Solr 3.6.1 
package.

$ ls contrib/langid/lib
jsonic-1.2.7.jar jsonic-NOTICE.txt langdetect-LICENSE-ASL.txt
jsonic-LICENSE-ASL.txt langdetect-1.1-20120112.jar langdetect-NOTICE.txt

langdetect-1.1-20120112.jar is the one you find in the Googole Code site,
which isn't developed by Google, but developed by a Japanese company
Cybozu.

I used this some years ago for a comparison purpose,
but I don't remember how I did. You'd have to move the
JARs in the lib directory to the lib directory, and
use
LangDetectLanguageIdentifierUpdateProcessorFactory
instead of
TikaLanguageIdentifierUpdateProcessorFactory
in the commented out portion of example/solr/conf/solrconfig.xml
(and you need to un-comment out that portion, of course)

Hope this helps.

-- 
T. "Kuro" Kurosaka • Senior Software Engineer
Healthline - The Power of Intelligent Health
www.healthline.com  |@Healthline  | @HealthlineCorp


Mime
View raw message