ngram

ngram / RandomTextFromTrigram / 0.1.1

Random Text From Trigram

Royalty Free
Language
Scala
Metrics
API Calls - 36,987 Avg call duration - 1.05sec
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.

Run an Example

Input
Output
"RT @m_stephenson_: @benskiddle @algorithmia Its a fantastic model, and some REALLY useful stuff. Ive tested 1 or 2. Great support too"

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 ngram/RandomTextFromTrigram/0.1.1 -d '["data://ngram/tweets/doppenhe-3grams.txt", "xxBeGiN142xx", "xxEnD142xx"]' --timeout 300
  
CLI Docs