C# 클래스 SimoBot.Features.MarkovFeature

상속: IFeature
파일 보기 프로젝트 열기: code-n-beer/SimoBot

공개 메소드들

메소드 설명
Execute ( IrcDotNet Client, string Channel, IrcDotNet Sender, string Message ) : void
Initialize ( string>.Dictionary configs ) : void
RegisterFeature ( EngineMessageHandlers features ) : void
addNewLineToRedis ( string s ) : void
getNewMarkov ( string seed, int recursionLevel ) : string
selectDb ( int db ) : void

비공개 메소드들

메소드 설명
biggenFirstLetter ( string str ) : string
getAllKeys ( ) : List
getFirstWord ( string s ) : string
getFirstWordPairFromOneWord ( string seed ) : string
getFromRedis ( string key ) : List
getNextWord ( string key ) : string
getSecondWord ( string s ) : string
getTwoLastWords ( string s ) : string
mostCommonWord ( List words ) : string
prepareDictionary ( string s ) : List>.Dictionary
strip ( string str ) : string

메소드 상세

Execute() 공개 메소드

public Execute ( IrcDotNet Client, string Channel, IrcDotNet Sender, string Message ) : void
Client IrcDotNet
Channel string
Sender IrcDotNet
Message string
리턴 void

Initialize() 공개 메소드

public Initialize ( string>.Dictionary configs ) : void
configs string>.Dictionary
리턴 void

RegisterFeature() 공개 메소드

public RegisterFeature ( EngineMessageHandlers features ) : void
features EngineMessageHandlers
리턴 void

addNewLineToRedis() 공개 메소드

public addNewLineToRedis ( string s ) : void
s string
리턴 void

getNewMarkov() 공개 메소드

public getNewMarkov ( string seed, int recursionLevel ) : string
seed string
recursionLevel int
리턴 string

selectDb() 공개 메소드

public selectDb ( int db ) : void
db int
리턴 void