lucene/solr/contrib/langid
Jan Høydahl 8f550126f7 SOLR-2901: Upgrade Solr to Tika 1.0
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1235753 13f79535-47bb-0310-9956-ffa450edef68
2012-01-25 14:18:06 +00:00
..
lib SOLR-2839: Maven configuration: added release packaging for non-mavenized dependencies jsonic and langdetect 2011-10-24 04:05:58 +00:00
src SOLR-2901: Upgrade Solr to Tika 1.0 2012-01-25 14:18:06 +00:00
CHANGES.txt preparing Lucene 3.5 release adding 3.6 constants and changes sections 2011-11-21 11:27:57 +00:00
README.txt SOLR-1979: Create LanguageIdentifierUpdateProcessor 2011-10-05 20:21:59 +00:00
build.xml SOLR-2839: Maven configuration: added release packaging for non-mavenized dependencies jsonic and langdetect 2011-10-24 04:05:58 +00:00

README.txt

Apache Solr Language Identifier


Introduction
------------
This module is intended to be used while indexing documents.
It is implemented as an UpdateProcessor to be placed in an UpdateChain.
Its purpose is to identify language from documents and tag the document with language code.
The module can optionally map field names to their language specific counterpart,
e.g. if the input is "title" and language is detected as "en", map to "title_en".
Language may be detected globally for the document, and/or individually per field.

The module currently relies on Tika's language identification capabilities.

Getting Started
---------------
Please refer to the module documentation at http://wiki.apache.org/solr/LanguageDetection

Dependencies
------------
This contrib depends on Tika Core, which is part of extraction contrib.
The easiest is thus to first install extraction contrib and then langid.
Alternatively you can include tika-core manually on your classpath.