Skip navigation links
A C E G H I M N P R S T 

A

add(char) - Method in class com.hankcs.lucene.PorterStemmer
Add a character to the word being stemmed.

C

com.hankcs.lucene - package com.hankcs.lucene
 
create(AttributeFactory) - Method in class com.hankcs.lucene.HanLPTokenizerFactory
 
createComponents(String) - Method in class com.hankcs.lucene.HanLPAnalyzer
重载Analyzer接口,构造分词组件
createComponents(String) - Method in class com.hankcs.lucene.HanLPIndexAnalyzer
 

E

end() - Method in class com.hankcs.lucene.HanLPTokenizer
 

G

getResultBuffer() - Method in class com.hankcs.lucene.PorterStemmer
Returns a reference to a character buffer containing the results of the stemming process.
getResultLength() - Method in class com.hankcs.lucene.PorterStemmer
Returns the length of the word resulting from the stemming process.
getString(Map<String, String>, String, String) - Method in class com.hankcs.lucene.HanLPTokenizerFactory
 

H

HanLPAnalyzer - Class in com.hankcs.lucene
 
HanLPAnalyzer(Set<String>, boolean) - Constructor for class com.hankcs.lucene.HanLPAnalyzer
 
HanLPAnalyzer(boolean) - Constructor for class com.hankcs.lucene.HanLPAnalyzer
 
HanLPAnalyzer() - Constructor for class com.hankcs.lucene.HanLPAnalyzer
 
HanLPIndexAnalyzer - Class in com.hankcs.lucene
 
HanLPIndexAnalyzer(Set<String>, boolean) - Constructor for class com.hankcs.lucene.HanLPIndexAnalyzer
 
HanLPIndexAnalyzer(boolean) - Constructor for class com.hankcs.lucene.HanLPIndexAnalyzer
 
HanLPIndexAnalyzer() - Constructor for class com.hankcs.lucene.HanLPIndexAnalyzer
 
HanLPTokenizer - Class in com.hankcs.lucene
Tokenizer,抄袭ansj的
HanLPTokenizer(Segment, Set<String>, boolean) - Constructor for class com.hankcs.lucene.HanLPTokenizer
 
HanLPTokenizerFactory - Class in com.hankcs.lucene
 
HanLPTokenizerFactory(Map<String, String>) - Constructor for class com.hankcs.lucene.HanLPTokenizerFactory
初始化工厂类

I

incrementToken() - Method in class com.hankcs.lucene.HanLPTokenizer
 

M

main(String[]) - Static method in class com.hankcs.lucene.PorterStemmer
Test program for demonstrating the Stemmer.

N

next() - Method in class com.hankcs.lucene.SegmentWrapper
 

P

PorterStemmer - Class in com.hankcs.lucene
抄袭lucene的英文处理 Stemmer, implementing the Porter Stemming Algorithm

The Stemmer class transforms a word into its root form.

PorterStemmer() - Constructor for class com.hankcs.lucene.PorterStemmer
 

R

reset() - Method in class com.hankcs.lucene.HanLPTokenizer
必须重载的方法,否则在批量索引文件时将会导致文件索引失败
reset() - Method in class com.hankcs.lucene.PorterStemmer
reset() resets the stemmer so it can stem another word.
reset(Reader) - Method in class com.hankcs.lucene.SegmentWrapper
重置分词器

S

SegmentWrapper - Class in com.hankcs.lucene
将分词器包装起来,每次输出一个token
SegmentWrapper(Reader, Segment) - Constructor for class com.hankcs.lucene.SegmentWrapper
 
stem(String) - Method in class com.hankcs.lucene.PorterStemmer
Stem a word provided as a String.
stem(char[]) - Method in class com.hankcs.lucene.PorterStemmer
Stem a word contained in a char[].
stem(char[], int, int) - Method in class com.hankcs.lucene.PorterStemmer
Stem a word contained in a portion of a char[] array.
stem(char[], int) - Method in class com.hankcs.lucene.PorterStemmer
Stem a word contained in a leading portion of a char[] array.
stem() - Method in class com.hankcs.lucene.PorterStemmer
Stem the word placed into the Stemmer buffer through calls to add().
stem(int) - Method in class com.hankcs.lucene.PorterStemmer
 

T

toString() - Method in class com.hankcs.lucene.PorterStemmer
After a word has been stemmed, it can be retrieved by toString(), or a reference to the internal buffer can be retrieved by getResultBuffer and getResultLength (which is generally more efficient.)
A C E G H I M N P R S T 
Skip navigation links

Copyright © 2014–2018 码农场. All rights reserved.