November 2018
Beginner
472 pages
13h 5m
English
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 ...