• 제목/요약/키워드: syntax analysis

검색결과 309건 처리시간 0.022초

Evaluations of AI-based malicious PowerShell detection with feature optimizations

  • Song, Jihyeon;Kim, Jungtae;Choi, Sunoh;Kim, Jonghyun;Kim, Ikkyun
    • ETRI Journal
    • /
    • 제43권3호
    • /
    • pp.549-560
    • /
    • 2021
  • Cyberattacks are often difficult to identify with traditional signature-based detection, because attackers continually find ways to bypass the detection methods. Therefore, researchers have introduced artificial intelligence (AI) technology for cybersecurity analysis to detect malicious PowerShell scripts. In this paper, we propose a feature optimization technique for AI-based approaches to enhance the accuracy of malicious PowerShell script detection. We statically analyze the PowerShell script and preprocess it with a method based on the tokens and abstract syntax tree (AST) for feature selection. Here, tokens and AST represent the vocabulary and structure of the PowerShell script, respectively. Performance evaluations with optimized features yield detection rates of 98% in both machine learning (ML) and deep learning (DL) experiments. Among them, the ML model with the 3-gram of selected five tokens and the DL model with experiments based on the AST 3-gram deliver the best performance.

A Survey of Automatic Code Generation from Natural Language

  • Shin, Jiho;Nam, Jaechang
    • Journal of Information Processing Systems
    • /
    • 제17권3호
    • /
    • pp.537-555
    • /
    • 2021
  • Many researchers have carried out studies related to programming languages since the beginning of computer science. Besides programming with traditional programming languages (i.e., procedural, object-oriented, functional programming language, etc.), a new paradigm of programming is being carried out. It is programming with natural language. By programming with natural language, we expect that it will free our expressiveness in contrast to programming languages which have strong constraints in syntax. This paper surveys the approaches that generate source code automatically from a natural language description. We also categorize the approaches by their forms of input and output. Finally, we analyze the current trend of approaches and suggest the future direction of this research domain to improve automatic code generation with natural language. From the analysis, we state that researchers should work on customizing language models in the domain of source code and explore better representations of source code such as embedding techniques and pre-trained models which have been proved to work well on natural language processing tasks.

비전공자의 프로그래밍 수업에서 발생하는 오류 유형 분석 (Analysis of Error Types Occurring in Programming Classes for Non-majors)

  • 이명숙
    • 한국컴퓨터정보학회:학술대회논문집
    • /
    • 한국컴퓨터정보학회 2022년도 제66차 하계학술대회논문집 30권2호
    • /
    • pp.719-721
    • /
    • 2022
  • 본 논문은 비전공자의 프로그래밍 수업에서 발생하는 오류들을 수집하고 오류 유형을 분석하여 초보 프로그래머의 오류 문제 해결을 쉽게 접근할 수 있도록 하고 교수자가 하는 피드백을 인공지능을 통해 자동화하는 시스템을 개발하는 기초 연구가 되는 것을 목표로 하였다. 결과로는 분석한 오류 유형에는 컴파일 타임에러가 가장 많이 발생하였고 그중에서도 구문에러(syntax error), 그중 missing 에러가 가장 많이 나타났다. 비전공자 학습자는 에러메시지를 이해하는 것을 가장 어려워하였고, 교수자의 피드백을 가장 절실하게 필요로 하였다. 좋은 오류 메시지는 초보자 프로그래머를 위한 프로그램 사용성에 큰 차이를 만들 수 있어 오류 메시지 내용을 단순화시킬 필요가 있으며, 학습자와 교수자의 상호작용을 효율적으로 이루어지게 할 필요가 있고, 인공지능을 통한 피드백을 자동화할 필요가 있음을 제언하였다. 향후 과제로는 오류 유형 중 자주 발생하는 구문에러부터 해결할 수 있는 인공지능을 이용한 자동 피드백 프로그램을 만들어 학습자와 실시간 상호작용하여 온라인에서 프로그래밍 수업이 가능한 학습시스템을 구현하고자 한다.

  • PDF

리차드 마이어의 뮤지엄건축 전시공간구성 특성에 관한 연구 (A Study on the Characteristics of Exhibition Space Planning in Museums Desinged by Richard Meier)

  • 이성훈;박용환
    • 한국실내디자인학회논문집
    • /
    • 제15권4호
    • /
    • pp.97-105
    • /
    • 2006
  • Richard Meier has earned his recognition by developing his unique design approach and keeping consistency in design concept in museum architecture over the years of his practice. The purpose of this study is finding common characteristics of the exhibition space spatial organization based on actual site visit analysis. This study will mainly focus on the museums Richard Meier designed between 1979, which is the year he started, until 1997 which is the year Getty Museum opened. For the purpose of this study, Museum of Applied Art, Frankfurt(1979-85), High Museum of Art, Atlanta(1980-83), Museum of Contemporary Art, Barcelona(1987-95), and The J.Paul Getty Museum(1984-1997) have been selected for analysis. This study will reveal fundamental characteristics of Richard Meier's architectural philosophy through his early residential projects and give background information of the 'white architecture' Close analysis will continue by reviewing four museums selected specifically for this study and focus more from the point of issues such as; 1)applying various axis in space programming, 2)symbolic significance of exhibition space, 3)hierarchy of each space, 4)design elements and characteristics of the exhibition space. Furthermore, quantitative research on exhibition space organization will be done by Space Syntax theory method. The result of the study will be a significant data in designing a modern museum.

한국 디지털 전통색채이미지를 이용한 배색유형 개발 (A Development of Color Prototypes Based on Digital Color Image Analysis)

  • 이현수;김준지
    • 한국실내디자인학회논문집
    • /
    • 제16권6호
    • /
    • pp.240-249
    • /
    • 2007
  • The purpose of this paper is to produce color harmony code based on color harmony prototype in terms of environmental color design. This paper proposes ways of categorizing more accurate color harmony prototype through digital image processing by the computer program called the Color Syntax. The method of analysis adopted in this paper is pixel based color image processing. The study suggests color harmony prototype which are categorized by a color harmony angles. These angles represented internal relations between colors. This study describes development processes of color harmony prototype which is a basis for creating color harmony codes. Development processes of color harmony schema consists of color analysis, color codes generation and color selection. Also, how to analyze color images and to chose suitable harmony color codes among various codes are main research issues. As a final result, 109 color harmony codes have been obtained. These code numbers are suggested through rotating 2 color pairs in a 360-degree arc in the same color harmony angles, the codes which is applicable to the color harmony schema previously developed. This color harmony codes will produce better color environment in a sense that it will help designers to maximally reduce their time consumption, and the results of their designs will also be related to the use of proper color for regional environments.

3차원 수직·수평 연결 네트워크 건축 공간분석을 위한 보행에너지 가중 Visibility ERAM 모델 구축 (The Establishment of Walking Energy-Weighted Visibility ERAM Model to Analyze the 3D Vertical and Horizontal Network Spaces in a Building)

  • 최성필;박근송;최재필
    • 대한건축학회논문집:계획계
    • /
    • 제34권11호
    • /
    • pp.23-32
    • /
    • 2018
  • The purpose of this study is to establish a walking energy weighted ERAM model that can predict the pedestrian volume by the connection structure of the vertical and horizontal spaces within a three-dimensional building. The process of building a walking-energy weighted ERAM model is as follows. First, the spatial graph was used to reproduce three-dimensional buildings with vertical and horizontal spatial connection structures. Second, the walking energy was measured on the spatial graph. Third, ERAM model was used to apply weights with spatial connection properties in random walking environment, and the walking energy weights were applied to the ERAM model to calculate the walk energy weighted ERAM values and visualize the distribution of pedestrian flow. To verify the validation of the established model, existing and proposed spatial analysis models were compared to real space. The results of this study are as follows : The model proposed in this study showed as much elaborated estimation of pedestrian traffic flow in real space as in traditional spatial analysis models, and also it showed much higher level of forecasting pedestrian traffic flow in real space than existing models.

재래시장 장소성 해석을 위한 백화점과의 비교연구 - 남대문상권을 중심으로 - (Comparative Study on the Traditional Market with the Department Store for Placeness Analysis - Focusing on Namdaemun Market Area -)

  • 김인숙;김영욱
    • 대한건축학회논문집:계획계
    • /
    • 제34권12호
    • /
    • pp.21-30
    • /
    • 2018
  • The traditional market has formed for itself through a long time thus has special value of the place. The tangible value of the traditional market is high, however, it became jeopardized to be dismantled since it can not cope with the consumption environment of modern society. Modern industrial society provides an inefficiently and standardized solution to the traditional market by ignoring the identity of place only by the value the traditional market in the law of large distribution industry. This study aims to define the placeness of Namdaemun traditional market by considering tangible value of place. The identity of the place was analyzed as a spatial configuration, space organization, and sense of place through the place's physical setting, activities, and meanings by Edward Ralph. Based on the analysis by Ralph, we analyzed the traditional market and compare to the department store, which is the representative of large scale distributor, using comparative method. We performed quantitative and integrative analysis for the placeness and provide a way to appraise the worth of the traditional market by deviating from the traditional evaluation method.

동궐도(東闕圖) 판장(板墻)의 공간통제 효과에 관한 연구 (A Study on the Spatial Control Effect of Panjang in Donggwoldo)

  • 하유정;김충식
    • 헤리티지:역사와 과학
    • /
    • 제55권4호
    • /
    • pp.196-209
    • /
    • 2022
  • 본 연구는 공간구문론(Space syntax)을 이용하여 조선 후기에 제작된 <동궐도(東闕圖)>의 판장의 설치에 따른 주요 권역별 공간변화를 비교하여 판장의 공간분할 기능과 역할을 재해석하였다. 연구방법으로는 <동궐도>의 공간을 단위 공간으로 분해하기 위한 설정 기준을 마련하였고, 판장의 설치 전·후에 따라 2개의 볼록공간도를 작성해 공간구문변수인 연결도, 통제도, 통합도 값을 산출하여 비교분석하였다. 연구의 결과는 다음과 같다. 첫째, <동궐도> 내 가림시설은 전각공간에 대한 변수의 평균값을 비교하였을 때, 동궐의 전체적인 배치에서 통제와 연결은 영향이 크지 않았다. 다만 특정 권역 내 공간의 접근성 측면에서 영향을 주었다. 가림시설이 집중적으로 설치된 내전과 동궁 그리고 후원으로 이동할 수 있는 공간을 중심으로 이동과 접근에 제한을 주었다. 둘째, 판장은 내전과 동궁에 집중적으로 분포되어 공간의 활용방식에 적극적으로 이용된 시설로 판장의 설치에 따른 공간의 특성이 뚜렷하게 나타났으며 기능에서도 차이가 확인되었다. 내전의 수정전 권역과 희정당 권역 그리고 동궁의 성정각 권역에 판장을 설치함으로써 개방적이고 통제성이 높았던 공간이 통제성이 낮은 폐쇄적인 공간으로 변모하였고 사적인 공간이 조성되었다. 동궁의 완영당 권역은 판장을 여러 방향으로 설치함으로써 공간의 깊이를 증가시켰다. 이는 거쳐서 오는 공간의 수가 증가됨으로써 자유롭고 은신이 가능한 공간이 조성되었다. 셋째, 판장은 기존 선행연구에서 밝혔던 '시선차단·공간분리·동선조절'의 기능 이외에 '접근통제가 용이한 공간'을 조성하였다. 일정한 공간으로 유도함과 동시에 동선이 집중됨에 따라 접근 통제가 가능한 공간이 되었으며, 판장의 개수와 배치에 따라 집중형 통제공간과 분산형 통제공간을 조성하였다. 본 연구는 그 간 가림시설의 기능과 역할에 대한 연구 외에 판장에 대한 기능을 수학적 모델로 분석하여 특정 공간속에서 판장이 어떠한 양상으로 공간을 통제하였는지 수치적으로 확인하였고, 공간의 통제와 연결, 은신과 개방성 등의 해석으로 연구의 방법을 확장한 것에 의의가 있다. 또한 연구의 방법론이었던 공간구문론을 <동궐도>에 적용하기 위해 궁궐의 건축 및 조경요소의 단위공간 분할 및 연결 유형에 따른 기준을 마련함으로써 궁궐과 유사한 전통주거단지에서도 적용이 가능한 분석툴을 마련하였다는 점에서 가치가 있다. 그러나 공간구문론의 분석을 통해 결과적으로 제공되는 것은 공간조직이 가지는 구성적 특질을 표현하는 숫자들로 제한된 체계 내에서만 의미를 가진다는 한계가 있다.

서울시 노인종합복지관의 공간 구조적 연결 관계에 관한 연구 (A Study on the relationship in spatial structure of senior Center in Seoul)

  • 김진아;변대중
    • 한국실내디자인학회논문집
    • /
    • 제21권3호
    • /
    • pp.182-193
    • /
    • 2012
  • The percentage of senior citizens is increasing in Korea and it is expected to become an "aging society". Problems with the elderly are becoming a big concern, such as physical and mental illness, losing their jobs and having difficulties at home. But, the silver generation, as they are being known, has changed a lot these days. With the aid of medical developments, the elderly's lifespan has become longer, making them more independent and active. Senior Welfare Center's are places where the elderly can spend their golden years in comfort, meaningfully. Senior Welfare Center's these days provide many different programs, which naturally lead to an increase in elderly users. With the rise in welfare centers and users, research on the subject also grew. As this topic has only recently become an issue, there were not many spatial structure studies considering elderly movement. Therefore, there should be spatial structure research that considers older users space awareness and how it can be managed effectively. The goal of this study is to present basic resources for providing a comfortable senior welfare center for elders. This will be based on quantitative analysis derived from spatial structure research along with special construction characteristics based on the institution's general plan. As a research method, Senior Welfare Center's will be categorized into corridor type, hall type, and hybrid types which then be reproduced into a j-graph. Based on this, special structure characteristics and connection links will be comprehended. Then the connection link will be analyzed based on the space syntax result calculated from each type's integration, connectivity, control value, and intelligibility. The analysis result shows that Senior Welfare Center j-graph's average arrangement is hybrid>corridor>hall types. Those elders lacking awareness need easily perceivable spatial structure's and hall type's would be the best choice to increase their awareness as it has high articulation. However, hall type's would be difficult to construct with the size increase, so hybrid type would be the next logical solution. Space with relatively high articulation will need to be planned in hybrid type's where rest areas can be created within the halls in the Welfare Center in connection to its corridors.

  • PDF

주어-조동사 도치에 관한 소고 (On Subject auxiliary inversion in English)

  • 서진희
    • 영어어문교육
    • /
    • 제6호
    • /
    • pp.143-157
    • /
    • 2000
  • It has been one of the puzzles in the English syntax that so called the rule of subject-auxiliary inversion (SAI) is not allowed in subject wh-movement while it is not obligatory in non-subject wh-movement in a root sentence. This asymmetry has been a puzzle since SAI itself was thought to be a part of question construction as we can observe from yes/no questions. The asymmetry gets more complicated in terms of sentence embedding, i.e no SAI is permitted in the embedded context in question. The goal of this paper is to suggest an unified analysis for this unsolved grammatical phenomena on the basis of Rizzi (1997)'s recent work. The main idea is that SAI is not a I-to-C movement but one of I-to-Focus where Focus is a functional category and its phrase is located between CP and IP. The other proposal is that Wh-movement is no more homogeneous in terms of landing site between a root and an embedded sentence: the target for a wh-phrase in the former is the Spec of FocP (Focus Phrase) but the one in the latter is the Spec of CP as the standard theory assumes. Pesetsky (l999)'s analysis is discussed and its theoretical and empirical shortages are pointed out. Its rather radical proposals such as the one that the nominative case is just an uninterpretable tense feature of DP and the other that 'that' is no longer a complementizer but an element of I(nflection) make it less acceptable in spite of the possibility that it can get rid of Case theory entirely, which would be ideal in the spirit of minimalism.

  • PDF