Font Size: a A A

Based On Natural Chinese Language Database Query

Posted on:2007-06-05Degree:MasterType:Thesis
Country:ChinaCandidate:X J HuFull Text:PDF
GTID:2208360185955755Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
NLU(natural language understanding) has become one of the most important fields in Artificial Intelligence study. Basing computer, NLU mainly involves the research of understanding, processing and producing natural language. Using NLU technology in the database query system and designing NLQID(natural language query interface of database) has become one of the most hopeful applied fields in the research on NLU.The aim of this paper is to investigate the natural Chinese language query interface of database. Because of complexity of NCL(natural Chinese language), it is very hard to completely understanding NCL in open fields. Database query sentence is used in special field-- database query, so it is one kind of restricted language. And database ER model is a good information model. Then taking advantage of database ER model and restricted Chinese language, we can greatly enhance the feasibility of query interface.At first, this paper introduces the background and status quo of NLQID. After gathering up existing technology of NLQID, a universal model of NCLQID(natural Chinese language query interface of database) is designed, which include two parts. One part, natural Chinese language understanding part, is composed of lexical analysis module, producing MQL(middle query language) module and producing SQL query sentence module. After words-cutting and word-tagging with maximum matching method, lexical analysis module check syncopate ambiguity, and disambiguate ambiguity of intersection with right-first rule. In the MQL module, aim phrase and condition phrase are picked up, and are translated into query aim and query condition. During the translation, correlative contexts are added into entity array, query aim array, query condition array, then MQL is produced. After finding relating path between aim entity and condition entity through relation repository of database, the third module can produce SQL query sentence.A good repository is the base of NLU. For easily replanting the interface to other databases, the repository of system has two parts. One is universal repository, including words-cutting repository and syntax repository. The other is special repository,...
Keywords/Search Tags:natural language, database query, Chinese language query, restricted Chinese language
PDF Full Text Request
Related items