• 제목/요약/키워드: 문법 제시

Search Result 225, Processing Time 0.02 seconds

Application of Single-State Parsing Automata to LR Grammars (LR 문법에 대한 단일상태파싱오토마톤의 적용)

  • Lee, Gyung-Ok
    • Journal of KIISE
    • /
    • v.43 no.10
    • /
    • pp.1079-1084
    • /
    • 2016
  • Single-state parsing automata have a characteristic such that the decision of an action depends only on the current state but not on the parsing history. The memory space and the parsing time of single-state parsing automata are less than the memory space and the parsing time of LR automata. However, the applicable grammar class of single-state parsing automata is less than that of LR automata. This paper provides extended single-state parsing automata, which are applicable to LR grammars. In the prior work, the special state, referred to as the cyclic state was not treated in the construction of single-state parsing automata, and hence, the applicable grammar class was less than LR grammars. The paper solves the problem of cyclic states by processing dynamic information depending on an input string. The proposed method expands the application of grammar class of single-state parsing automata to LR grammars.

Grammar Classes Generating Single State Parsing Automata (단일 상태 파싱 오토마톤을 생성하는 문법 클래스들)

  • Lee, Gyung-Ok
    • Journal of KIISE:Software and Applications
    • /
    • v.41 no.7
    • /
    • pp.518-522
    • /
    • 2014
  • A single state parsing automaton has the characteristics of the decision of actions which do not depend on the history of the parsing paths but on the current state. The single state parsing automaton hence has the advantage of the reduced parsing time and a small memory requirement compared to those of the conventional LR automaton. However, currently, the grammar classes generating single state parsing automata have not been known. This paper deals with the grammar classes generating single state parsing automata; in addition, this paper gives the generating method of single state parsing automata of the grammar classes.

Dynamic Syntax-Directed SGML Document Editor (동적 구문지향 SGML 문서편집기)

  • 강춘길;신경희;유재우
    • Proceedings of the Korean Information Science Society Conference
    • /
    • 2000.04a
    • /
    • pp.71-73
    • /
    • 2000
  • 본 논문에서 다루는 SGML 문서편집기는 파서를 내포하는 구조로서, 문서편집을 위하여 DTD 가 입력되고, 입력된 DTD 는 DTD 파서에 의해 적합성을 점검하게 된다. DTD 파서는 표준규칙에 따라 DTD를 파싱하고, 결과를 편집처리에 적합한 BNF-스타일 형태로 변환된 문법 테이블을 생성한다. SGML 문서 편집은 문법테이블 정보에 따라 처리된다. 문법 테이블의 크기는 엘리먼트 선언내용 중 컨텐트 모델의 표현에 따라 결정된다. 그 중 and(&) 접속자는 엘리먼트 개수에 따라 문법수가 기하급수적으로 증가하므로 DTD 파서에 의해 처리된다면 속도나 비용면에서 비효율적이다. 이에 본 논문에서는 고정된 문법테이블을 이용하는 SGML 편집기에 and 접속자로 표현된 엘리먼트 문법을 동적으로 확정 처리할 수 있는 기능이 추가 향상된 구문지향적 SGML 문서편집기를 제시한다. 그러므로 향상된 구문지향 SGML 문서편집기는 고정된 문법을 이용한 문서편집 뿐 아니라 편집처리에 따른 변환에 능동적으로 처리할 수 있다는 특징을 갖게된다.

  • PDF

A Study on the Protocol Stack for the Media Gateway Control Protocol (Media Gateway Control Protocol을 위한 프로토콜 스택에 관한 연구)

  • 고광만
    • The Journal of Korean Institute of Communications and Information Sciences
    • /
    • v.26 no.6A
    • /
    • pp.957-964
    • /
    • 2001
  • 현재 국내·외적으로 VoIP 관련 시장의 지속적인 성장으로 인해 VoIP 표준 프로토콜에 대한 국제 표준화 작업과 병행하여 프로토콜 스택과 같은 소프트웨어 개발이 절실한 상황이다. 본 논문에서는 IETF RFC2705에서 제시한 MGCP 문법을 기반으로 문법 지식적 변환 기법으로 Media Gateway가 전달하는 MGCP 요청 메시지를 구조체 형태로 변화하는 엔코더와 Media Gateway Controller로부터 전달되는 구조체 형태의 응답 메시지를 텍스트 형태로 변화하는 디코더를 구현하였다. 이를 위해 BNF 형식의 MGCP 문법을 기술하여 구문 분석 동작 후 구문 트리 및 MGCP 문법으로부터 생성 가능한 모든 정보를 저장할 수 있는 구조체 형태의 헤더 파일을 자동 생성하였다.

  • PDF

Understanding Korean Grammar of English-Speaking Beginners Through Eye-tracking Approach -Focused on Presentational Methods of Grammar- (영어권 초급 한국어 학습자의 시선 추적을 통한 문법 이해 양상 연구 -문법 제시 방법을 중심으로-)

  • Kim, Hyunjin;Kang, Seung Hae
    • Journal of Korean language education
    • /
    • v.28 no.4
    • /
    • pp.39-62
    • /
    • 2017
  • This study is to examine grammar understanding with beginner English speakers according to presentational methods of grammatical content. 18 English-speaking Korean beginners were randomly assigned and divided into two groups. We first examined if there was a statistically significant difference between the two groups in grammar comprehension with and without illustrations. It was found that the group given the presentation illustrations showed greater understanding than the group without them. Second, no statistically significant difference in grammar understanding was found between the groups with and without materials marked for their awareness. Third, no statistically significant difference was found between the groups with the order of presenting content elements related to grammatical items. This study is to affirm the importance of illustrations as a component of Korean textbooks.

A Research on the Efficient Type-Checking for an Expression Using LL and LR (LL과 LR에서의 효율적인 수식 타입 체킹에 대한 연구)

  • Chung, Yong-Ju
    • The Journal of the Institute of Internet, Broadcasting and Communication
    • /
    • v.11 no.1
    • /
    • pp.177-183
    • /
    • 2011
  • One of the methodologies for the type-checking of an expression is the attribute grammar. But this attribute grammar is difficult to write because two attributes should be used with the full understanding of parsing steps. So this paper proposes a methodology to construct an expression attribute grammar easily. It shows the possibility to check the type of an expression with only one attribute through a grammar construction method.

Characterization of LL languages (LL 언어의 특징화)

  • Lee, Gyung-Ok
    • Journal of KIISE:Software and Applications
    • /
    • v.29 no.1_2
    • /
    • pp.126-131
    • /
    • 2002
  • The problem whether a given grammar G generates an LL language or not is investigated in respect of LL transformable grammars. The previous work involves a nondeterministic intricated parser construction for the characterization of LL transformable grammars. The method hence does not give the intuitive understanding of the essence of LL languages. This paper suggests a characterization of LL transformable grammars based on grammatical derivations instead of the complicated parser construction. The new characterization contributes to intuitive understanding of the essence of LL languages.

A Korean Grammar Checker based on the Trees Resulted from a Full Parser (전체 문장 분석에 기반한 한국어 문법 검사기)

  • 이공주;황선영;김지은
    • Journal of KIISE:Software and Applications
    • /
    • v.30 no.10
    • /
    • pp.992-999
    • /
    • 2003
  • The purpose of a grammar checker is to find a grammatical erroneous expression in a sentence, and to provide appropriate suggestions for them. To find those errors, grammar checker should parse the whole input sentence, which is a highly time-consuming job. B7or this reason, most Korean grammar checkers adopt a partial parser that can analyze a fragment of a sentence without an ambiguity. This paper presents a Korean grammar checker using a full parser in order to find grammatical errors. This approach allows the grammar checker to critique the errors between the two words in a long distance relationship within a sentence. As a result, this approach improves the accuracy in correcting errors, but it nay come at the expense of decrease in its performance. The Korean grammar checker described in this paper is implemented with 65 rules for checking and correcting the grammatical errors. The grammar checker shows 96.49% in checking accuracy against the test corpus including 7 million words.

A Study on the Presentation of Grammar in the Korean Textbook for Korean Language Learners Based on the Discourse and Context (외국인 학습자용 한국어 문법 교재의 문법 제시 방안 연구 - 담화·맥락 정보를 중심으로 -)

  • Jung, Mijin
    • Journal of Korean language education
    • /
    • v.23 no.1
    • /
    • pp.307-329
    • /
    • 2012
  • The purpose of this study is to examine the presentation of Korean grammar on the Korean grammar textbooks for foreigners. Through the results, this study suggests some examples of grammar based on the discourse and context. Since the communicative approach received much attention, some Korean language forms have been researched in the discourse and context. In that sense, we need to survey the grammars presented in the grammar textbooks. The expressions of Korean epistemic modality and discourse function, ('-지요, -잖아(요), -군요', '-기는 하다') in the grammar textbooks have been analyzed. These expressions need to be described with much contextual and situational information and presented in the discourse. However it is a little insufficient to supply a proper amount of information for Korean language learners. To overcome the deficiency, this study presents some situational and contextual information of certain language forms.

Study on the parts-of-speech in Korean (한국어 품사 분류에 대한 제안)

  • 서민정
    • Proceedings of the Korean Society for Cognitive Science Conference
    • /
    • 2002.05a
    • /
    • pp.76-81
    • /
    • 2002
  • 인터넷의 발달 등으로 많은 정보들이 문서화되기도 하고 그런 정보들이 공유되고 있는 지금, 언어학이나 전산학의 요구를 함께 충족시킬 수 있는 문법 모델 개발의 필요성이 극대화되고 있다. 이 글은 한국어 품사 분류에 대해서 국어학과 전산학에서의 처리 방법과 결과를 검토하고 정리하여 우리말의 특성을 잘 설명하면서도 국어를 전산 처리하는데도 도움을 줄 수 있는 품사분류를 제안하는데 그 목적이 있다. 한국어의 특성을 고려하여 음운, 형태, 통 어, 의미 정보를 함께 처리할 수 있는 어휘부 중심의 문법인 HPSG의 모형을 도입하여 한국어 품사 분류를 정보 전달에 기반을 두어 자질 체계와 통합 연산을 핵심으로 기술하려고 한다. 문법기술은 주로 자질 구조를 속성과 값의 행렬인 AVM(attribute-value matrices)으로 제시할 것이다.

  • PDF