Issue |
JNWPU
Volume 40, Number 5, October 2022
|
|
---|---|---|
Page(s) | 1065 - 1070 | |
DOI | https://doi.org/10.1051/jnwpu/20224051065 | |
Published online | 28 November 2022 |
A grammar analysis model for a video query language SVQL
视频查询语言SVQL语法分析模型
1
School of Marine Science and Technology, Northwestern Polytechnical University, Xi’an 710072, China
2
College of Modern Information Technology, Zhejiang Institute of Mechanical & Electrical Engineering, Hangzhou 310000, China
3
Office of Zhejiang Provincial Natural Science Foundation, Hangzhou 310000, China
4
Department of Computer Science and Engineering, Shaoxing University, Shaoxing 312000, China
Received:
4
January
2022
研究了一种基于结构化声明的视频查询语言SVQL的语言分析模型。以巴克斯范式、逻辑代数等工具形式化描述了SVQL的文法规则和语义规则, 据此构建了多层次SVQL语法分析模型。基于该语法分析模型, 结合编译原理相关理论知识, 设计实现了SVQL语法分析工具。实验评估语法分析模型的有效性, 该模型能分析出SVQL查询语句所包含的语法错误和语义错误, 并给出准确的信息。
摘要
This paper presents a grammar analysis model for a structured video query language-SVQL. First, we use extended Backus-Naur form and logical algebra to formally describe the grammar rules and semantic rules of SVQL, so as to construct a multi-level grammar analysis model. Then, based on the grammar analysis model, in combination with the compilation theory, a grammar analysis tool is designed and implemented. Finally, the experimental evaluation demonstrates the effectiveness of the proposed grammar analysis model, i.e., it can capture the syntax and semantic errors of a SVQL query and output accurate prompt information.
Key words: video query language / grammar analysis / syntax analysis / semantic analysis
关键字 : 视频查询语言 / 语法分析 / 文法分析 / 语义分析
© 2022 Journal of Northwestern Polytechnical University. All rights reserved.
This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/4.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
Current usage metrics show cumulative count of Article Views (full-text article views including HTML views, PDF and ePub downloads, according to the available data) and Abstracts Views on Vision4Press platform.
Data correspond to usage on the plateform after 2015. The current usage metrics is available 48-96 hours after online publication and is updated daily on week days.
Initial download of the metrics may take a while.