Markov Chain10 Credit Royalty
Generate text using a Markov chain
API Calls - 730 Avg call duration - N/A
The Algorithm Platform License is the set of terms that are stated in the Software License section of the Algorithmia Application Developer and API License Agreement. It is intended to allow users to reserve as many rights as possible without limiting Algorithmia's ability to run it as a service. Learn More
Run an Example
"hey like anything resistake. And as he end all the lions' legs, and praised, and licked one up, and they often writhing else, though when the paint began to come back the noble and when the lions' legs were dead indeell the expedition body, and it was heavy work turning the legs were choppediti"
Install and Use
CLI Install Docs
Install the Algorithmia CLI client by running:
curl -sSLf https://algorithmia.com/install.sh | sh
Then authenticate by running:
$ algo auth # When prompted for api endpoint, hit enter # When prompted for API key, enter your key: YOUR_API_KEY
algo run hanhi/MarkovChain/0.1.1 -d '["Then the children had a cocoa-and-date breakfast. (All expeditions seem to live mostly on cocoa, and when they come back they often write to the cocoa makers to say how good it was and they don't know what they would have done without it.) And the noble and devoted dogs licked and licked and licked, and the paint began to come off the lions' legs like anything. It was heavy work turning the lions over so as to get at the other or unlicked side, but the expedition worked with a will, and the lions resisted but feebly, being still asleep, and, besides, weak from loss of paint. And the dogs had a drink given them and were patted and praised, and set to work again. And they licked and licked for hours and hours. And in the end all the paint was off the lions' legs, and Philip chopped them off with the explorer's axe which that experienced Provider, Mr. Noah's son, had thoughtfully included in the outfit of the expedition. And as he chopped the chips flew, and Lucy picked one up, and it was wood, just wood and nothing else, though when they had tied it up it had been real writhing resisting lion-leg and no mistake. And when all the legs were chopped off, Philip put his hand on a lion body, and that was wood too. So the lions were dead indeed.", 3, 100]' --timeout 300
This algorithm's sample input contains a
'character. This can be used to inject malicious code when running commands (e.g. "'; sudo rm -rf / ;"). Use with caution.