chuckwondo

chuckwondo / MarkovText / 0.1.0

Markov Text

Royalty Free
Generate sentences from a single input text using a simplified Markov chain algorithm
No Tags
Language
Python 3.x
Metrics
API Calls - 156 Avg call duration - N/A
Permissions
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
This is necessary for algorithms that rely on external services, however it also implies that this algorithm is able to send your input data outside of the Algorithmia platform.
This allows an algorithm to compose sophisticated functionality using other algorithms as building blocks, however it also carries the potential of incurring additional royalty and usage costs from any algorithm that it calls.

Run an Example

Input
Output
"\"How should I be sad? I, who have taught you much, were still all Siddhartha. He saw them suffering, and the past seemed to him now, which had awoken hundreds of thousands. This is what the voice talking, which was in the motionless face of his father, the scholar, taught him, that this motionless listener was absorbing his confession into himself while exhaling, with all of his friend, the son of a Brahman, and good for you to live to see you again.\""

Install and Use

Install

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
CLI Install Docs

Use



  algo run chuckwondo/MarkovText/0.1.0 -d '{
    "file": "data://chuckwondo/public/siddhartha.txt"
}' --timeout 300
CLI Docs