透過您的圖書館登入
IP:3.149.253.111
  • 學位論文

基於自然語言轉換SQL之資料庫語音查詢機器人

Translating Voice Message to SQL based on Nature Language Processing

指導教授 : 張志勇
共同指導教授 : 郭經華(Chin-Hwa Kuo)

摘要


隨著資料庫的資料日益增加,資料的複雜度也逐漸提升,以過往的查詢方式,過去的查詢是手動的點選網頁方式,需要倚賴使用者對問題的了解程度,而且需要自行篩選條件,才能得知答案,不但浪費時間,也增加操作的複雜度。 因此,利用人工智慧的技術,提供一個直覺化和方便性的查詢方式,讓使用者省時方便得到想要的查詢結果,便成為很重要的研究議題。 本論文採用自然語言處理(Natural Language Processing, NLP)的技術,利用深度神經網路建立模型,將自然語言轉換成對應的資料庫SQL語法。讓使用者輸入時,只要以語音來隨意輸入詢問的語句,我們深度學習的模型便能將語音轉成文字,再將文字轉換成資料庫相對應的「欄位」、「關係」與「值」的查詢欄位,最後轉換成SQL的語法,查詢到使用者需要的正確結果。

關鍵字

人工智慧 BERT Seq2Seq SQL資料庫 同義詞 同音字

並列摘要


In the past query methods, the user's understanding of the question needs to be relied on, and the user needs to filter the conditions to get the answer. In the past, queries were manually clicked on web pages, which not only wasted time, but also increased the complexity of operations. Therefore, the use of artificial intelligence technology to provide an intuitive and convenient query method so that users can save time and easily obtain the desired query results has become a very important research topic. This thesis adopts Natural Language Processing (NLP) technology and uses deep neural networks to build models, and convert natural language into corresponding database SQL syntax. When allowing users to use, as long as they use voice to say the query sentence at will, our deep learning model can convert the voice into text, and then transfer the text into the query fields of the corresponding "field", "relation" and "value" in the database, and finally convert it into SQL Therefore, the query results can be directed presented for the user’s query.

參考文獻


[1]Victor Zhong, Caiming Xiong, Richard Socher, "SEQ2SQL: GENERATING STRUCTURED QUERIES FROM NATURAL LANGUAGE USING REINFORCEMENT LEARNING," arXiv:1709.00103, 2017
[2]Jianqiang Ma, Zeyu Yan, Shuai Pang, Yang Zhang, Jianping Shen, "Mention Extraction and Linking for SQL Query Generation," arXiv:2012.10074v1 [cs.CL] 18 Dec 2020
[3]Bryan McCann, Nitish Shirish Keskar, Caiming Xiong, Richard Socher," The Natural Language Decathlon: Multitask Learning as Question Answering,"arXiv:1806.08730v1 [cs.CL] 20 Jun 2018
[4]Wei-Yun Ma, Keh-Jiann Chen," Design of CKIP Chinese Word Segmentation System," IJALP, Vol. 14, No. 3, pp. 235–249, May 2004
[5]Jacob Devlin Ming-Wei Chang Kenton Lee Kristina Toutanova," BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding," arXiv:1810.04805v2 [cs.CL] 24 May 2019

延伸閱讀