Table of Content

  1. Introduction
  2. Examples

Introduction


This algorithm takes in a URL, retrieves the content, and produces candidate tags using LDA.

Note: Here's a text only version of this algorithm.

Input:

  • (Required): URL link.

Output:

  • List of extracted tags with associated frequencies.

Examples

Example 1.

  • Parameter 1: News article URL
"http://www.geekwire.com/2016/seattle-startup-algorithmia-builds-front-desk-ai-to-fulfil-mark-zuckerbergs-new-years-resolution/"

Output:

{
  "startup": 4,
  "algorithmia": 4,
  "algorithm": 3,
  "office": 2,
  "desk": 2,
  "zuckerberg’s": 2,
  "hours": 2,
  "catch": 1
}

Example 2.

  • Parameter 1: Wikipedia article URL.
"https://en.wikipedia.org/wiki/Rick_and_Morty"

Output:

{
  "series": 31,
  "harmon": 21,
  "adult": 16,
  "roiland": 15,
  "episodes": 7,
  "family": 7,
  "animation": 5,
  "pilot": 5
}

Writing good docs:

Communicate Value

A good introduction should make it clear why someone might use your API.

Show and Tell

Give examples of using your API and explain those examples.

Easy to Skim

Ensure your docs are structured such that familiar users can quickly jump to the content they want.

Current

Revisit your docs after making breaking changes or adding new features to keep them up-to-date.