Skip to Content
Learn Robotics Programming
book

Learn Robotics Programming

by Danny Staple
November 2018
Beginner
472 pages
13h 5m
English
Packt Publishing
Content preview from Learn Robotics Programming

Creating the vocabulary files

We next need to create a folder inside the skill folder for the vocabulary. This should be my-robot-skill/vocab/<IETF language and locale>. A language/locale means we should be able to define vocabulary for variants such as en-us for American English and zn-cn for simplified Chinese; however, at the time of writing, en-us is the most supported Mycroft language, with other language support being developed. Further reading on the Mycroft forums may be needed to support other languages.

Each intent has its language defined in one or more vocabulary pieces, each of which go into a vocabulary file, with each separate line in the file holding a different phrase meaning the same as all of the others. These allow a human ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learn Robotics Programming - Second Edition

Learn Robotics Programming - Second Edition

Danny Staple

Publisher Resources

ISBN: 9781789340747Supplemental Content