AutoTag

No algorithm description given

Table of Contents Introduction Examples Introduction This algorithm takes in raw text, either on its own, or as a set of documents, and outputs candidate tags for the text. To send raw text, just send a string to the algorithm endpoint. If you have a set of distinct documents and want keywords for the overall set of documents, p ipe your input as a json array of strings. Algorithm uses a variant of nlp/LDA  to extract tags / keywords. Input: (Required): Raw text. Output: List of extracted tags. Examples Example 1. Parameter 1: Storyline of a movie. "In the futuristic year of 2019, Los Angeles has become a dark and depressing metropolis, filled with urban decay. Rick Deckard, an ex-cop, is a \"Blade Runner \". Blade runners are people assigned to assassinate \"replicants \". The replicants are androids that look like real human beings. When four replicants commit a bloody mutiny on the Off World colony, Deckard is called out of retirement to track down the androids. As he tracks the replicants, eliminating them one by one, he soon comes across another replicant, Rachel, who evokes human emotion, despite the fact that she's a replicant herself. As Deckard closes in on the leader of the replicant group, his true hatred toward artificial intelligence makes him question his own identity in this future world, including what's human and what's not human." Output: [
 "human",
 "replicants",
 "deckard",
 "replicant",
 "blade",
 "androids",
 "world",
 "including"
] Example 2. Parameter 1: Abstract of a Wikipedia Article. "Voyager 1 is a space probe launched by NASA on September 5, 1977. Part of the Voyager program to study the outer Solar System, Voyager 1 launched 16 days after its twin, Voyager 2. Having operated for 38 years, 6 months and 26 days, the spacecraft still communicates with the Deep Space Network to receive routine commands and return data. At a distance of 134 AU (2.00×1010 km) as of winter 2015, it is the farthest spacecraft from Earth and the only one in interstellar space. The probe's primary mission objectives included flybys of Jupiter, Saturn, and Saturn's large moon, Titan. While the spacecraft's course could have been altered to include a Pluto encounter by forgoing the Titan flyby, exploration of the moon, which was known to have a substantial atmosphere, took priority.[3][4][5] It studied the weather, magnetic fields, and rings of the two planets and was the first probe to provide detailed images of their moons. After completing its primary mission with the flyby of Saturn on November 20, 1980, Voyager 1 began an extended mission to explore the regions and boundaries of the outer heliosphere. On August 25, 2012, Voyager 1 crossed the heliopause to become the first spacecraft to enter interstellar space and study the interstellar medium.[6] Voyager 1's extended mission is expected to continue until around 2025, when its radioisotope thermoelectric generators will no longer supply enough electric power to operate any of its scientific instruments." Output: [
 "voyager",
 "space",
 "mission",
 "interstellar",
 "spacecraft",
 "extended",
 "flyby",
 "titan"
]

Tags
(no tags)

Cost Breakdown

0 cr
royalty per call
1 cr
usage per second
avg duration
This algorithm has permission to call other algorithms which may incur separate royalty and usage costs.

Cost Calculator

API call duration (sec)
×
API calls
=
Estimated cost
per calls
for large volume discounts
For additional details on how pricing works, see Algorithmia pricing.

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.


To understand more about how algorithm permissions work, see the permissions documentation.

1. Type your input

2. See the result

Running algorithm...

3. Use this algorithm

curl -X POST -d '{{input | formatInput:"curl"}}' -H 'Content-Type: application/json' -H 'Authorization: Simple YOUR_API_KEY' https://api.algorithmia.com/v1/algo/nlp/AutoTag/1.0.0
View cURL Docs
algo auth
# Enter API Key: YOUR_API_KEY
algo run algo://nlp/AutoTag/1.0.0 -d '{{input | formatInput:"cli"}}'
View CLI Docs
import com.algorithmia.*;
import com.algorithmia.algo.*;

String input = "{{input | formatInput:"java"}}";
AlgorithmiaClient client = Algorithmia.client("YOUR_API_KEY");
Algorithm algo = client.algo("algo://nlp/AutoTag/1.0.0");
AlgoResponse result = algo.pipeJson(input);
System.out.println(result.asJsonString());
View Java Docs
import com.algorithmia._
import com.algorithmia.algo._

val input = {{input | formatInput:"scala"}}
val client = Algorithmia.client("YOUR_API_KEY")
val algo = client.algo("algo://nlp/AutoTag/1.0.0")
val result = algo.pipeJson(input)
System.out.println(result.asJsonString)
View Scala Docs
var input = {{input | formatInput:"javascript"}};
Algorithmia.client("YOUR_API_KEY")
           .algo("algo://nlp/AutoTag/1.0.0")
           .pipe(input)
           .then(function(output) {
             console.log(output);
           });
View Javascript Docs
var input = {{input | formatInput:"javascript"}};
Algorithmia.client("YOUR_API_KEY")
           .algo("algo://nlp/AutoTag/1.0.0")
           .pipe(input)
           .then(function(response) {
             console.log(response.get());
           });
View NodeJS Docs
import Algorithmia

input = {{input | formatInput:"python"}}
client = Algorithmia.client('YOUR_API_KEY')
algo = client.algo('nlp/AutoTag/1.0.0')
print algo.pipe(input)
View Python Docs
library(algorithmia)

input <- {{input | formatInput:"r"}}
client <- getAlgorithmiaClient("YOUR_API_KEY")
algo <- client$algo("nlp/AutoTag/1.0.0")
result <- algo$pipe(input)$result
print(result)
View R Docs
require 'algorithmia'

input = {{input | formatInput:"ruby"}}
client = Algorithmia.client('YOUR_API_KEY')
algo = client.algo('nlp/AutoTag/1.0.0')
puts algo.pipe(input).result
View Ruby Docs
use algorithmia::*;

let input = {{input | formatInput:"rust"}};
let client = Algorithmia::client("YOUR_API_KEY");
let algo = client.algo('nlp/AutoTag/1.0.0');
let response = algo.pipe(input);
View Rust Docs
Discussion
  • {{comment.username}}