C# Class Lucene.Net.Analysis.PanGu.PanGuTokenizer

Inheritance: Lucene.Net.Analysis.Tokenizer
ファイルを表示 Open project: JimLiu/Lucene.Net.Analysis.PanGu Class Usage Examples

Public Methods

Method Description
IncrementToken ( ) : bool
InitPanGuSegment ( string fileName ) : void

Init PanGu Segment

Next ( ) : Lucene.Net.Analysis.Token
PanGuTokenizer ( ) : System
PanGuTokenizer ( System input, MatchOptions options, MatchParameter parameters ) : System
PanGuTokenizer ( System input, bool originalResult ) : System
PanGuTokenizer ( System input, bool originalResult, MatchOptions options, MatchParameter parameters ) : System
SegmentToWordInfos ( String str ) : ICollection

Private Methods

Method Description
Init ( ) : void
InitPanGuSegment ( ) : void

Method Details

IncrementToken() public method

public IncrementToken ( ) : bool
return bool

InitPanGuSegment() static public method

Init PanGu Segment
static public InitPanGuSegment ( string fileName ) : void
fileName string PanGu.xml file path
return void

Next() public method

public Next ( ) : Lucene.Net.Analysis.Token
return Lucene.Net.Analysis.Token

PanGuTokenizer() public method

public PanGuTokenizer ( ) : System
return System

PanGuTokenizer() public method

public PanGuTokenizer ( System input, MatchOptions options, MatchParameter parameters ) : System
input System
options MatchOptions
parameters MatchParameter
return System

PanGuTokenizer() public method

public PanGuTokenizer ( System input, bool originalResult ) : System
input System
originalResult bool
return System

PanGuTokenizer() public method

public PanGuTokenizer ( System input, bool originalResult, MatchOptions options, MatchParameter parameters ) : System
input System
originalResult bool
options MatchOptions
parameters MatchParameter
return System

SegmentToWordInfos() public method

public SegmentToWordInfos ( String str ) : ICollection
str String
return ICollection