A Deep Learning-Based Chinese Semantic Parser for the Almond Virtual Assistant.
Sensors (Basel)
; 22(5)2022 Feb 28.
Article
em En
| MEDLINE
| ID: mdl-35271038
ABSTRACT
Almond is an extendible open-source virtual assistant designed to help people access Internet services and IoT (Internet of Things) devices. Both are referred to as skills here. Service providers can easily enable their devices for Almond by defining proper APIs (Application Programming Interfaces) for ThingTalk in Thingpedia. ThingTalk is a virtual assistant programming language, and Thingpedia is an application encyclopedia. Almond uses a large neural network to translate user commands in natural language into ThingTalk programs. To obtain enough data for the training of the neural network, Genie was developed to synthesize pairs of user commands and corresponding ThingTalk programs based on a natural language template approach. In this work, we extended Genie to support Chinese. For 107 devices and 261 functions registered in Thingpedia, 649 Chinese primitive templates and 292 Chinese construct templates were analyzed and developed. Two models, seq2seq (sequence-to-sequence) and MQAN (multiple question answer network), were trained to translate user commands in Chinese into ThingTalk programs. Both models were evaluated, and the experiment results showed that MQAN outperformed seq2seq. The exact match, BLEU, and F1 token accuracy of MQAN were 0.7, 0.82, and 0.88, respectively. As a result, users could use Chinese in Almond to access Internet services and IoT devices registered in Thingpedia.
Palavras-chave
Texto completo:
1
Base de dados:
MEDLINE
Assunto principal:
Prunus dulcis
/
Aprendizado Profundo
Limite:
Humans
País como assunto:
Asia
Idioma:
En
Ano de publicação:
2022
Tipo de documento:
Article