WordList: Difference between revisions

From LINKS - Documentation
Jump to navigation Jump to search
No edit summary
No edit summary
Line 3: Line 3:
It allows you to figure out specific keywords you say in the command.  
It allows you to figure out specific keywords you say in the command.  


For example, if we have a command <code>Turn on/off the light</code>
For example, if we have two commands <code>Turn on/off the light</code>, WordList will allow us to make this one command.


We can use WordList in place of "on/off" and figure out if we said "on" or "off" and pass it to a script, etc...
We can use WordList in place of "on/off" and figure out if we said "on" or "off" and pass it to a script, etc...

Revision as of 05:30, 11 May 2016

Word lists allows you to create complex commands. Or commands that would seem as natural language.

It allows you to figure out specific keywords you say in the command.

For example, if we have two commands Turn on/off the light, WordList will allow us to make this one command.

We can use WordList in place of "on/off" and figure out if we said "on" or "off" and pass it to a script, etc...

See this example to create a WordList command.


Another advantage of WordList is that we can store multiple columns of data for a specific word.

Let's say... we want to convert the word one to number 1

We can map that in the WordList and get desired results.


Another example... convert a song name to a URL

We can do the same here... map the song name with a url or as much info of columns we need.