Skip to content

Experimental gem to look up a phrase from a list of words layed out in an HTML accordion style menu.

Notifications You must be signed in to change notification settings

jrobertson/phrase_browser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Introducing the phrase_browser gem

require 'phrase_browser'


s="
tell me the time
What day is it?
play BBC Radio 4
play Sleep 365 #radio
what's the weather forecast for tomorrow?
"

html = PhraseBrowser.new(s, target_url: 'http://somewebsite/?q').to_html
File.write '/tmp/accordion.html', html

`chromium /tmp/accordion.html`

Resources

browser phrasebrowser phrases phrase lookup

About

Experimental gem to look up a phrase from a list of words layed out in an HTML accordion style menu.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages