• Title/Summary/Keyword: Collocation Pattern

Search Result 7, Processing Time 0.019 seconds

Java API Pattern Extraction and Recommendation using Collocation Analysis (연어 관계 분석을 통한 Java API 패턴 추출 및 추천 방법)

  • Kwon, Chanwoo;Hwang, Sangwon;Nam, Youngkwang
    • Journal of KIISE
    • /
    • v.44 no.11
    • /
    • pp.1165-1177
    • /
    • 2017
  • Many developers utilize specific APIs to develop software, and to identify the use of a particular API, a developer can refer to a website that provides the API or can retrieve the API from the web. However, the site that provides the API does not necessarily provide guidance on how to use it while it can be partially provided in many other cases. In this paper, we propose a novel system JACE (Java AST collocation-pattern extractor) as a method to reuse commonly-used code as a supplement. The JACE extracts the API call nodes, collocation patterns and analyzes the relations between the collocations to extract significant API patterns from the source code. The following experiment was performed to verify the accuracy of a defined pattern: 794 open source projects were analyzed to extract about 15M API call nodes. Then, the Eclipse plug-in test program was utilized to retrieve the pattern using the top 10 classes of API call nodes. Finally, the code search results from reference pages of the API classes and the Searchcode [1] were compared with the test program results.

Analysis of 2-D Potential Problem with L-shape Domain by p-Convergent Boundary Element Method (p-수렴 경계요소법에 의한 L-형 영역을 갖는 2차원 포텐셜 문제 해석)

  • Woo, Kwang-Sung;Jo, Jun-Hyung
    • Journal of the Computational Structural Engineering Institute of Korea
    • /
    • v.22 no.1
    • /
    • pp.117-124
    • /
    • 2009
  • The p-convergent boundary element method has been proposed to analyze two-dimensional potential problem on the basis of high order Legendre shape functions that have different property comparing with the shape functions in conventional boundary element method. The location of nodes corresponding to high order shape function are not defined along the boundary, called by nodeless node, similar to the p-convergent finite element method. As the order of shape function increases, the collocation point method is used to solve linear simultaneous equations. The collocation patterns of p-convergent boundary element method consist of non-symmetric hierarchial or symmetric non-hierarchical. As the order of shape function increases, the number of collocation point increases. The singular integral that appears in p-convergent boundary element has been calculated by special numeric quadrature technique and semi-analytical integration technique. The L-shape domain problem including singularity in the vicinity of reentrant comer is analyzed and the numerical results show that the relative error is smaller than $10^{-2}%$ range as compared with other results in literatures. In case of same condition, the symmetric p-collocation point pattern shows high accuracy of solution.

Study on Two-Dimensional Laminar Flow Through a Finned Channel (박막이 부착된 채널내의 2차원 층류 유동장에 대한 연구)

  • Yoon, Seok-Hyun;Jeong, Jae-Tack
    • Proceedings of the KSME Conference
    • /
    • 2001.11b
    • /
    • pp.545-550
    • /
    • 2001
  • A two-dimensional laminar flow through a channel, on which a couple of symmetric vertical fins are attached, is investigated. The stokes flow for this channel flow is investigated analytically and laminar flow numerically. For analytic solution, the method of eigen function expansion and collocation method are employed. For numerical solution, finite difference method(FDM) is used to obtain vorticity and stream function. From the results, streamline patterns are shown and the pressure drop due to the attached fins is calculated, which depends on the length of fins and Reynolds number. While $Re, streamline pattern is symmetric, a pair of additional asymmetric solutions appear for $Re>Re_c$, where the critical Reynolds number $Re_c$ depends on the length of the fin.

  • PDF

한·중 한정 기능어 대조 연구 -한국어 '만, 밖에, 뿐'과 중국어 '지(只), 광(光), 근(僅)'을 중심으로-

  • Jeong, Bi
    • 중국학논총
    • /
    • no.62
    • /
    • pp.49-69
    • /
    • 2019
  • This study refers to the methodology of study of usage patterns by dissolving the study of Korean auxiliary particle '만, 밖에, 뿐' and Chinese range adverb '只, 光, 僅', and uses the actual language data of Korean native speakers and Chinese native speakers Using the constructed corpus, we looked at the usage patterns of auxiliary particles '만, 밖에, 뿐' and range adverb '只, 光, 僅' respectively. In the Korean and Chinese corpora, the Korean auxiliary particle '만, 밖에, 뿐' and Chinese range adverb '只, 光, 僅' are each 300 sentences, and a total of 1800 are used as analytical corpus. through the analysis of the examples, the features and differences such as the appearance ratio of Korean and Chinese, appearance environment are revealed. the analysis results of Korean and Chinese are compared to find common points and differences.

Characteristics of 1.9 GHz On-Glass Antenna for Automobil Telephone (차량전화용 1.9 GHz On-Glass 안테나의 특성)

  • 김태원;이원용;김정기
    • The Journal of Korean Institute of Electromagnetic Engineering and Science
    • /
    • v.7 no.3
    • /
    • pp.211-218
    • /
    • 1996
  • Theorectical and experimental studies of On-Glass antenna in the 1.9GHz bandare performed. In this paper, the structure of designed On-Glass antenna consists of a 5/8-wavelength upper segment and quarter-wavelength lower segment separated by phasing coil. On-Glass antenna may be resonated by the use of suitably spaced phasing coil in series with the antenna wire. This tuning structure leads to an improvement in antenna efficiency. And then, this can be very useful for installation where limited space like automobil is available. The analytical method is based on collocation method with pulse function. The results obtained from numerical method are presented and compared with an experimental evaluation. From this, the VSWR, gain, radiation pattern, and bandwidth of the On-Glass antenna are analyzed.

  • PDF

Study of Stokes Flow Past a Vertical Plate in a Two-Dimensional Channel (2차원 채널 내의 수직 평판을 지나는 스톡스 유동에 대한 연구)

  • Yoon, Seok-Hyun;Jeong, Jae-Tack
    • Transactions of the Korean Society of Mechanical Engineers B
    • /
    • v.35 no.6
    • /
    • pp.609-615
    • /
    • 2011
  • A two-dimensional Stokes flow past a vertical plate in a channel is analyzed. The vertical plate is located at the center of the channel, and plane Poiseuille flow exists far upstream and downstream of the vertical plate. The Stokes approximation is used, and the flow is investigated analytically using the method of eigenfunction expansion and the point collocation method. From the analysis, the stream function and pressure distribution are obtained, and the pressure and shear stress distributions on the plate and channel wall are calculated. The additional pressure drop induced by the vertical plate and the force exerted on it are calculated as functions of the length of the vertical plate. For a typical length of the vertical plate, the streamline pattern and pressure distribution are shown. In addition, numerical analysis of laminar flow with a small Reynolds number is carried out to analyze the effect of a small Reynolds number on the flow pattern.

Selection of Postpositions and Translated Words by Sentence Pattern in the English-Korean Machine Translation (영-한 기계번역에서 문형에 의한 조사 및 대역어 선택)

  • Park, Y.J.;Kim, N.S.;Lee, J.S.;Lee, Y.S.
    • Annual Conference on Human and Language Technology
    • /
    • 1999.10e
    • /
    • pp.105-109
    • /
    • 1999
  • 영-한 기계번역 중 변환 단계에서 한국어 문장을 생성하기 위해서는 구구조 변환 후 조사 및 대역어 선택으로 이루어진다. 그러나 하나의 영어 단어는 여러 개의 한국어 의미들을 가지고 있기 때문에 문장에서 사용된 영어의 정확한 의미에 해당하는 한국어 대역어를 선택하는 것은 번역의 질을 높이고 시스템의 성능에 매우 중요한 역할을 한다. 특히 용언 및 체언의 대역어 선택은 문장에서 서로 간의 의미적인 관계를 고려하여야 올바른 대역어를 선택할 수 있다. 기존에는 전자 사전에 용언과 체언간의 연어 정보(collocation information)를 구축하여 대역어 선택의 문제를 해결하려고 하였으나 연어 정보가 사전에 존재하지 않을 때 올바른 대역어를 선택할 수 없었다. 또한 용언과 체언의 관계를 나타내는 조사를 선택하기 위하여 격(case)을 세분화하여 사전을 구축하였으나 격의 분류 및 사전을 구축할 경우 격을 선택하는 어려움이 있었다. 이에 따라 본 논문에서는 문형(sentence pattern)에 의한 방법으로 용언의 대역어 및 용언이 갖는 필수격 체언의 조사와 대역어 선택방법을 제안한다. 문형의 구조적인 정보에는 용언과 체언의 의미적 역할(thematic role)을 하는 조사 및 용언이 갖는 필수격 체언의 의미 자질(semantic feature)을 갖고 있다. 이러한 의미 자질을 wordnet과 한/영 및 영/한 사전을 이용하여 의미 지표(semantic marker)를 갖는 문형 사전을 구축한다. 또한 의미 지표를 갖는 문형 사전을 기반으로 조사 및 대역어 선택 알고리즘을 개발한다.

  • PDF