Exemplo n.º 1
0
func speak(c *web.Context) {
	w := web.GetWriter(c)
	w.Render("speak.html", goru.Data{
		"Sentences": []string{
			"Hello",
			"Goodbye",
			"Help",
			"Help me",
			"List",
			"Yes",
			"No",
			"Start",
			"Next",
			"Back",
			"Stop",
			"Start",
			"Open photography",
			"Add photography",
			"Remove photography",
			"Show me cute kittens",
			"Show me Arches National Park!",
			"This specification defines a JavaScript API to enable web developers to incorporate speech recognition and synthesis into their web pages.",
		},
	})
}
Exemplo n.º 2
0
func gesture(c *web.Context) {
	w := web.GetWriter(c)
	w.Render("gesture.html", &goru.Data{})
}
Exemplo n.º 3
0
func recognition(c *web.Context) {
	w := web.GetWriter(c)
	w.Render("recognition.html", &goru.Data{})
}