C# 클래스 NBoilerpipe.Filters.English.TerminatingBlocksFinder

Finds blocks which are potentially indicating the end of an article text and marks them with NBoilerpipe.Labels.DefaultLabels.INDICATES_END_OF_TEXT . This can be used in conjunction with a downstream IgnoreBlocksAfterContentFilter .
상속: BoilerpipeFilter
파일 보기 프로젝트 열기: oganix/NBoilerpipe

공개 프로퍼티들

프로퍼티 타입 설명
INSTANCE TerminatingBlocksFinder

공개 메소드들

메소드 설명
GetInstance ( ) : TerminatingBlocksFinder

Returns the singleton instance for TerminatingBlocksFinder.

Returns the singleton instance for TerminatingBlocksFinder.

Process ( NBoilerpipe.Document.TextDocument doc ) : bool

비공개 메소드들

메소드 설명
IsDigit ( char c ) : bool
StartsWithNumber ( string t, int len ) : bool

Checks whether the given text t starts with a sequence of digits, followed by one of the given strings.

Checks whether the given text t starts with a sequence of digits, followed by one of the given strings.

메소드 상세

GetInstance() 공개 정적인 메소드

Returns the singleton instance for TerminatingBlocksFinder.
Returns the singleton instance for TerminatingBlocksFinder.
public static GetInstance ( ) : TerminatingBlocksFinder
리턴 TerminatingBlocksFinder

Process() 공개 메소드

public Process ( NBoilerpipe.Document.TextDocument doc ) : bool
doc NBoilerpipe.Document.TextDocument
리턴 bool

프로퍼티 상세

INSTANCE 공개적으로 정적으로 프로퍼티

public static TerminatingBlocksFinder,NBoilerpipe.Filters.English INSTANCE
리턴 TerminatingBlocksFinder