Copyright © 2008 The Institute of Electronics, Information and Communication Engineers
Regular Section -- Letters -- Automata and Formal Language Theory |
A Query System for Texts with Macros
1 The author is with the Department of Computer Engineering, DongA University, Busan, 607–714, Korea. E-mail: khkwon{at}dau.ac.kr, 2 The author is with the Department of Electronics Engineering, DongA University, Busan, 607–714, Korea., 3 The author is with the Department of Computer Science, Konkuk University, Korea.
| Abstract |
|---|
We propose a query language based on extended regular expressions. This language extends texts with text-generating macros. These macros make it possible to define languages in a compressed, elegant way. This paper also extends queries with linear implications and additive (classical) conjunctions. To be precise, it allows goals of the form D
G and G1 & G2 where D is a text or a macro and G is a query. The first goal is solved by adding D to the current text and then solving G. This goal is flexible in controlling the current text dynamically. The second goal is solved by solving both G1 and G2 from the current text. This goal is particularly useful for internet search.
Key Words: text search, internet, information retrieval, linear logic
Manuscript received July 4, 2007.