Skip to content

Instantly share code, notes, and snippets.

View techsamy's full-sized avatar
🎯
Focusing

Narayan (Samy) techsamy

🎯
Focusing
View GitHub Profile
@NehaJeevan
NehaJeevan / Wizard's Duel.cpp
Created September 26, 2016 13:05
591 A Codeforces Round #327 (Div. 2), problem: (A) Wizards' Duel
#include <iostream>
using namespace std;
typedef long long ll;
int main() {
// your code goes here
ll l,p,q;
cin>>l>>p>>q;
/* If H travels x & his speed is p, V travels l-x with speed q.
For collision time taken to travel x & l-x respectively is equal
Use equations of motion & calculate x.*/
@prabhjotSL
prabhjotSL / EXAMPLE_WATSON_API_README.md
Created February 25, 2016 16:30 — forked from dannguyen/EXAMPLE_WATSON_API_README.md
Transcribing ProPublica podcast with Python and Watson Speech to Text API

Using IBM Watson Speech to Text API to translate a ProPublica podcast

An example of using the Watson Speech to Text API to translate a podcast from ProPublica: How a Reporter Pierced the Hype Behind Theranos

This is just a simpler demo of the same technique I demonstrate to make automated video supercuts in this repo: https://github.com/dannguyen/watson-word-watcher

The transcription takes just a few minutes (less if you parallelize the requests to IBM) and is free...but it isn't perfect by any means. It doesn't fare super well on proper nouns:

  • Charles Ornstein's last name is transcribed as 'Orenstein'
  • John Carreyrou's last name becomes "John Kerry Roo"