C# 클래스 PanGu.Segment

파일 보기 프로젝트 열기: xuld/AI-Robot 1 사용 예제들

공개 메소드들

메소드 설명
DoSegment ( string text ) : ICollection
DoSegment ( string text, Match options ) : ICollection
DoSegment ( string text, Match options, Match parameters ) : ICollection
Init ( ) : void
Init ( string fileName ) : void

비공개 메소드들

메소드 설명
ConvertChineseCapitalToAsiic ( string text ) : string
FilterStopWord ( SuperLinkedList wordInfoList ) : void
GetInitSegment ( string text ) : SuperLinkedList
GetStem ( string word ) : string
InitInfinitiveVerbTable ( ) : void
LoadDictionary ( ) : void
MergeEnglishSpecialWord ( string orginalText, SuperLinkedList wordInfoList, SuperLinkedListNode &current ) : bool

合并英文专用词。 如果字典中有英文专用词如U.S.A, C++.C#等 需要对初步分词后的英文和字母进行合并

PreSegment ( String text ) : SuperLinkedList
ProcessAfterSegment ( string orginalText, SuperLinkedList result ) : void

메소드 상세

DoSegment() 공개 메소드

public DoSegment ( string text ) : ICollection
text string
리턴 ICollection

DoSegment() 공개 메소드

public DoSegment ( string text, Match options ) : ICollection
text string
options Match
리턴 ICollection

DoSegment() 공개 메소드

public DoSegment ( string text, Match options, Match parameters ) : ICollection
text string
options Match
parameters Match
리턴 ICollection

Init() 공개 정적인 메소드

public static Init ( ) : void
리턴 void

Init() 공개 정적인 메소드

public static Init ( string fileName ) : void
fileName string
리턴 void