Skip to content

Instantly share code, notes, and snippets.

@azenla
Created September 7, 2013 02:20
Show Gist options
  • Select an option

  • Save azenla/6472242 to your computer and use it in GitHub Desktop.

Select an option

Save azenla/6472242 to your computer and use it in GitHub Desktop.
Sergey Brin Higgins test
package com.directmyfile.higgins
import com.directmyfile.higgins.utils.TTS
class Higgins {
static void main(String[] args) {
TTS.speak('Starting Higgins')
TTS.speak('Researching Sergey Brin')
def brin = Freebase.topic('sergey_brin')
def children = brin['property']['/people/person/children']
TTS.speak("Sergey has 1 child by the name of")
brin['property']['/people/person/children']['values'].each {
TTS.speak(it['text'])
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment