C# 클래스 Sparc.TagCloud.TagCloudAnalyzer

Analyzes a batch of text to produce a tag-cloud.
파일 보기 프로젝트 열기: chrisdavies/Sparc.TagCloud 1 사용 예제들

공개 메소드들

메소드 설명
ComputeTagCloud ( IEnumerable phrases ) : IEnumerable

Computes the tag cloud from a set of phrases.

TagCloudAnalyzer ( TagCloudSetting setting = null ) : System

Initializes a new instance of the TagCloudAnalyzer class.

비공개 메소드들

메소드 설명
CountWords ( string phrase, int>.Dictionary dict ) : void
ExtractAndCountWords ( IEnumerable phrases, int>.Dictionary dict ) : void
SortAndFilterResults ( int>.Dictionary dict ) : IEnumerable

메소드 상세

ComputeTagCloud() 공개 메소드

Computes the tag cloud from a set of phrases.
public ComputeTagCloud ( IEnumerable phrases ) : IEnumerable
phrases IEnumerable /// The phrases used to compute the tag cloud ///
리턴 IEnumerable

TagCloudAnalyzer() 공개 메소드

Initializes a new instance of the TagCloudAnalyzer class.
public TagCloudAnalyzer ( TagCloudSetting setting = null ) : System
setting TagCloudSetting /// The settings which dictate the analyzer's behavior. ///
리턴 System