C# 클래스 MarkovText.Markov

파일 보기 프로젝트 열기: yalue/Markov-Text 1 사용 예제들

공개 메소드들

메소드 설명
Markov ( int randomnessLevel, string inputFileName, startForm controlForm ) : System
getRandomText ( int wordCount ) : string

비공개 메소드들

메소드 설명
arrayToString ( List l ) : string
buildKey ( int startIndex ) : string
cleanupString ( string input ) : string
enforceQueueSize ( ) : void
getCurKey ( ) : string
getRandomWord ( ) : string
initKeys ( ) : void
moveNextKey ( string newWord ) : void
readWordGroups ( ) : void

메소드 상세

Markov() 공개 메소드

public Markov ( int randomnessLevel, string inputFileName, startForm controlForm ) : System
randomnessLevel int
inputFileName string
controlForm startForm
리턴 System

getRandomText() 공개 메소드

public getRandomText ( int wordCount ) : string
wordCount int
리턴 string