API to search inside video content - search-engine

I want to know what API is avaiable to search inside video archive by specifying a text query (like TalkMiner does).

There is no API for search specifically but you can quickly cook an application like Talkminer by joining two components - speech recognition engine and an indexer. For speech recognition you can use any avaialble engine like CMUSphinx, you first transcribe all the audio you need to search in.
For indexing you can use any indexing engine like Apache Solr. Just put the automatic transcriptions into the indexer and provide the query interface.

You can check Koemei (https://koemei.com/). It's a service that you can use to index on demand videos and search inside them for specific moments of interest. Koemei also has search embed code for videos which you can embed on any website. And the service provides API you can use.

Related

Can a dash app be filtered via URL like Power BI

I am embarking on a POC to replace a Power BI dashboard that can’t do all the visualizations we need with a dash app. One major requirement is to be able to pass multiple filters to the app via url in a manner similar to the Power BI capability.
I have tried to research this and see references to URL callbacks and believe this provides the functionality I will need, but I don’t yet understand dash apps well enough to be sure.
I’m not asking how to, just whether or not it can be done. Thanks!
You can. Use the dcc.Location component (docs), and structure any callbacks that need to listen to the URL to have an Input based on that component. You can even pass multiple things with it, such as "filter_1/3/filter_2/5/filter_3/1" and then .split('/') to break up the string and parse the values.

How to use google analytics data to create a dynamic recommendation engine

I am building a recommendation engine and I want that more dynamic. I wanna use google analytic data along with data I have to give users a good recommendation by capturing user's details automatically. is there any particular method for doing that or to blend both google analytic data and local data to work my recommendation engine more dynamically?
You can collect the search terms in the engine inside your site (if they are defined in the URL, i.e. in querystring, you can specify the parameter and collect them in the dedicated report, otherwise if they are inside the path you can use a filter and extract them).
You can then add them manually or dynamically to your database to offer better search results.

Twitter live search stream

I am looking for a solution that would provide subscription-like responses that would contain results for particular tag from twitter.
I saw plenty of REST/ STREAM scripts for node.js but these scripts connect to twitter just once.
I would like not to be worried about rate limits.
Basically what I want to do is set up a notification (ex. console log) if there is a new search result for 20 different tags.
Is that possible?
With the streaming API you are only supposed to use a single connection, however it can contain multiple keywords (comma delimited) in the track attribute, and can be combined with other search parameters such as location and user filters.
The idea is that you use the one stream to collect all the data you need, and then process/filter that data independently to display or store as you please.

Track multiple search terms with twitter streaming

I would like to build a web application that tracks some user defined search terms in real-time and provides a real-time visualization. http://www.monitter.com/ is an app I've found that is similar in its requirements. What is the appropriate API to use for it? Initially I thought the streaming API was the obvious choice, but the limitation of one concurrent connection means that I can only track one search term at a time(with one user account). I could get around this by making multiple user accounts, but that seems like the wrong approach.
I looked at user streams but the language for that API seems to be more geared towards desktop applications.
So, what is the most best API for my use case? Thanks.
Actually you can track up to 400 keywords/terms via one streaming API connection.
https://dev.twitter.com/docs/streaming-api/methods#track
Depending on language you are using there are multiple interfaces you can use.
If you are using PHP, then I can suggest Phirehose as it works quite well and has multiple examples for different usages scenarios included.
http://code.google.com/p/phirehose/wiki/Introduction
Whats not there - when processing received tweets you will need to figure out how to match which tweet corresponds to which keyword/term because twitter streaming API gives all matching tweets in one stream.
Investigating further using Firebug, I found that monitter.com simply polls the REST search api every second or so on the client side. This is what I ended up doing as well.

Ruby gem to track search engines redirection traffic (search keyworks)

Most of the traffic from my site is sent by search engines. I am trying to track the keywords used on the search (EG to have real-time stats on the 'hottest' searches).
What are my options? I thought of:
Parsing the HTTP_REFERER (using a list regexps for major search engines)
Importing google analytics data (using google analytics api) - however this is not realtime
Are there any gems/libraries that offer support for this?
I would write a middleware for rack to do this. http://www.hokstad.com/slidingstats is an example of one that tracks referrers. It is pretty easy to hack and not complicated so you can probably use this as a launchpad for what you want to do.

Resources