Skip to Content
You are currently on the new version of our website. Access the old version .
Applied SciencesApplied Sciences
  • Article
  • Open Access

21 November 2022

25 Pages

Building Natural Language Interfaces Using Natural Language Understanding and Generation: A Case Study on Human–Machine Interaction in Agriculture

,
,
,
,
,
and
1
School of Information and Computer Science, Anhui Agricultural University, Hefei 230036, China
2
School of Computer Science and Technology, University of Science and Technology of China, Hefei 230027, China
3
Anhui Provincial Engineering Laboratory for Beidou Precision Agriculture Information, Hefei 230036, China
*
Authors to whom correspondence should be addressed.
This article belongs to the Section Agricultural Science and Technology

Abstract

The human–machine interaction of existing agricultural measurement and control platforms lacks user-friendliness and requires manual operation by trained professionals. The recent development of natural language processing technology may bring some interesting changes. We propose a pipeline for building a natural language human–machine interaction interface to provide a better interaction for agricultural measurement and control platforms. Our construction process uses a new method of collecting training data based on the dynamic tuple language framework to synthesize natural language commands entered by the user into structured AOM statements (Action-Object-Member). To construct a mapping of the human–machine interface from natural language commands to AOM invocations, we propose an end-to-end framework that uses a special mask mechanism to improve the BERT-based Seq2Seq model to capture global sequence relations. Experimental results of data collection methods and NL2AOM demonstrate that our pipeline has good performance and a reasonable response time. Finally, we developed desktop and mobile platform applications based on the proposed model and used them in real agricultural scenarios.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.