Speech2Topics

フリーミアム
開発者 yactraq
更新日 9ヶ月前
メディア
-/10
人気度
-
レイテンシ
-
正常稼働率

Speech2Topics APIについて

Yactraq Speech2Topicsは、音声認識と自然言語処理を使用してオーディオビジュアルコンテンツをトピックメタデータに変換するクラウドサービスです。顧客はYactraqのメタデータを使用して広告をターゲットに設定し、コンテンツの検索/発見やブランドのセンチメントのYouTube動画を作成します。これまで、このようなサービスは高価であり、大規模なビデオ出版社のみが使用していました。 Yactraqのユニークな点は、製品開発者が手ごろな価格でサービスを提供できることです。

APIプロバイダへ連絡
star-blue評価

Overview

Getting Started with Yactraq

Yactraq Speech2Topics is a service that provides topic information from automatically analyzing the speech content of online audio and video sources.

Once you have subscribed to the Yactraq API, you are ready to use Mashape/Yactraq to process online audio/video. Let's assume that you have a source you are interested in (e.g. http://www.youtube.com/watch?v=NBuLeA7nNFk) then a call to "stream" will give you complete access to the power of Yactraq.

Notes

  • Unless the start parameter is non-zero, no new processing will be initiated, the stream call will simply look for an existing result for that stream.
  • If you would like an accompanying transcript of the speech content of the URL, set the tx parameter to 1. The transcript consists of an array of objects with the properties: w for the word, p for the confidence in the word recognition (0-1), and ts the timestamp of the word expressed in seconds from the start of the stream.
  • The topics returned for the stream (once the status value is "processed") consist of an array of objects with the properties: topics for a list of topic strings in decreasing order of relevance, ts for the timestamp of the end of the topic segment, and complete which is true only for the topic entry that covers the transcribed audio of the entire stream.

The normal usage pattern for the API is to call "stream" once with start set to 1 and then repeatedly call with the same parameters excluding start until the returned status is "processed" in which case the response will include the identified topics and transcript if requested.

Yactraq Example in Ruby ==

require "Speech2Topics.rb"

# Basic instantiation. Replace MASHAPE_KEY
client = Speech2Topics.new("MASHAPE_KEY")
secret = YACTRAQ_SECRET
adset = YACTRAQ_ADSET

response = client.stream("http://www.youtube.com/watch?v=NBuLeA7nNFk", secret, adset, nil, 1, 1)

puts response

SDKをインストール((Node.js)Unirest)

OAuth2認証
クライアントID
クライアントシークレット
OAuth2認証