Removes html tags, stop words, and lemmatizes text for NLP algorithm demo
API Calls - 70 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
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
[ "movie disaster disaster film . great action scenes meaningful throw away sense reality . Let s word wise lava burns steam burns . t stand lava . Diverting minor lava flow difficult let significant . Scares think actually believe saw movie . worse significant talent went making film . mean acting actually good . effects average . Hard believe somebody read scripts allowed talent wasted . guess suggestion movie start TV look away like train wreck awful know coming watch . Look away spend time meaningful content ." ]
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 demo/text_processing_demo/0.1.0 -d '"This movie is a disaster within a disaster film. It is full of great action scenes, which are only meaningful if you throw away all sense of reality. Let's see, word to the wise, lava burns you; steam burns you. You can't stand next to lava. Diverting a minor lava flow is difficult, let alone a significant one. Scares me to think that some might actually believe what they saw in this movie.<br /><br />Even worse is the significant amount of talent that went into making this film. I mean the acting is actually very good. The effects are above average. Hard to believe somebody read the scripts for this and allowed all this talent to be wasted. I guess my suggestion would be that if this movie is about to start on TV look away! It is like a train wreck: it is so awful that once you know what is coming, you just have to watch. Look away and spend your time on more meaningful content."' --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.