Lucene源碼分析 - analysis

位置:lucene-solr/lucene/analysis

analysis結(jié)構(gòu)

image.png

需要關(guān)注的是
common/src/java
opennlp/src/java
smartcn/src/java

Analysis README file

INTRODUCTION

The Analysis Module provides analysis capabilities to Lucene and Solr
applications.

分析模塊為L(zhǎng)ucene和SoR提供分析能力。

The Lucene web site is at:
http://lucene.apache.org/

Please join the Lucene-User mailing list by sending a message to:
java-user-subscribe@lucene.apache.org

FILES

lucene-analyzers-common-XX.jar
The primary analysis module library, containing general-purpose analysis
components and support for various languages.

包含通用分析的主分析模塊庫(kù)
各種語(yǔ)言的組件和支持。

lucene-analyzers-icu-XX.jar
An add-on analysis library that provides improved Unicode support via
International Components for Unicode (ICU). Note: this module depends on
the ICU4j jar file (version >= 4.6.0)

通過提供改進(jìn)的Unicode支持的附加分析庫(kù)
Unicode(ICU)的國(guó)際組件。注意:此模塊依賴于
ICU4J jar文件(版本>=4.6)

lucene-analyzers-kuromoji-XX.jar
An analyzer with morphological analysis for Japanese.

lucene-analyzers-morfologik-XX.jar
An analyzer using the Morfologik stemming library.

使用MyfRooik詞干庫(kù)的分析器。

lucene-analyzers-nori-XX.jar
An analyzer with morphological analysis for Korean.

lucene-analyzers-opennlp-XX.jar
An analyzer using the OpenNLP natural-language processing library.

一個(gè)使用OpenNLP自然語(yǔ)言處理庫(kù)的分析器。

lucene-analyzers-phonetic-XX.jar
An add-on analysis library that provides phonetic encoders via Apache
Commons-Codec. Note: this module depends on the commons-codec jar
file

一個(gè)通過Apache提供語(yǔ)音編碼器的附加分析庫(kù)
公鑰編解碼器。注意:這個(gè)模塊依賴于公鑰編譯碼器jar文件

lucene-analyzers-smartcn-XX.jar
An add-on analysis library that provides word segmentation for Simplified
Chinese.

為簡(jiǎn)體中文分詞提供的分析庫(kù)。

lucene-analyzers-stempel-XX.jar
An add-on analysis library that contains a universal algorithmic stemmer,
including tables for the Polish language.

common/src/java
icu/src/java
kuromoji/src/java
morfologik/src/java
nori/src/java
opennlp/src/java
phonetic/src/java
smartcn/src/java
stempel/src/java
The source code for the libraries.

common/src/test
icu/src/test
kuromoji/src/test
morfologik/src/test
nori/src/test
opennlp/src/test
phonetic/src/test
smartcn/src/test
stempel/src/test
Unit tests for the libraries.

?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時(shí)請(qǐng)結(jié)合常識(shí)與多方信息審慎甄別。
平臺(tái)聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點(diǎn),簡(jiǎn)書系信息發(fā)布平臺(tái),僅提供信息存儲(chǔ)服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容