Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Siri clone using Google's clandestine speech-to-text reducer

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 src
Octocat-spinner-32 test
Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.org
Octocat-spinner-32 TODO.org
Octocat-spinner-32 project.clj
README.org

Motivation

We’d like to make a Factually-aware Siri-clone using Google’s clandestine speech-to-text (and text-to-speech) APIs; to that end, we implemented the trivial grammar “find $x$ in $y$” and “find $x$ near me.”

Commands are spoken and results are read back.

Usage

Iris is on Clojars; add the following to your :dependencies:

[iris "1.0.0-SNAPSHOT"]

and use with:

(:use iris.core)

API

Iris has three main functions: listen, consider, answer which depend upon the dynamic variables: *factual-key* and *factual-secret*; Iris can be invoked followingly:

(binding [*factual-key* factual-key
          *factual-secret* factual-secret]
  (answer (consider (listen))))

Command-line interface

Set the environment variables FACTUAL_KEY, FACTUAL_SECRET (GEOBYTES_EMAIL and GEOBYTES_PASSWORD are only required to implement “near me”) and issue lein run:

FACTUAL_KEY=<factual-key> FACTUAL_SECRET=<factual-secret> lein run

Future work

It would be nice to implement a real natural-language interface to Factual’s data; and integrate it with the Global Place demo.

Something went wrong with that request. Please try again.