package textrazor

  1. Overview
  2. Docs
type t = {
  1. id : int;
  2. label : string;
  3. score : float;
  4. wikidata_id : string option;
}

Data structure for topics.

val wikidata_uri : t -> Uri.t option

Gets the Wikidata URI of the topic, if applicable.

val wikipedia_url : t -> Uri.t option

Gets the Wikipedia URL of the topic, if applicable.

OCaml

Innovation. Community. Security.