Markov Text

Generate sentences from a single input text using a simplified Markov chain algorithm

(no tags)

    Algorithmia Platform License
    apl
    · Internet Access

    This algorithm has Internet access.

    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.
    · Calls Other Algorithms

    This algorithm has permission to call other algorithms.

    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

    "\"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 & Use

    Use
    
    curl -X POST -d '{
        "file": "data://chuckwondo/public/siddhartha.txt"
    }' -H 'Content-Type: application/json' -H 'Authorization: Simple YOUR_API_KEY' https://api.algorithmia.com/v1/algo/chuckwondo/MarkovText/0.1.0