-
-
Save manuepeva/12e49caad331e37dc6f638be7222e252 to your computer and use it in GitHub Desktop.
Sergey Brin Higgins test
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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