WordList: Difference between revisions

From LINKS - Documentation
Jump to navigation Jump to search
(Created page with "Word lists allows you to create complex commands. It allows you to figure out specific key words you say in the command. For example, if we have a command <code>Turn on/off...")
 
No edit summary
Line 1: Line 1:
Word lists allows you to create complex commands.
Word lists allows you to create complex commands. Or commands that would seem as natural language.


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

Revision as of 05:07, 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 key words you say in the command.

For example, if we have a command Turn on/off the light

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... we want to 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.