Skip to content
View elegantcoder's full-sized avatar

Block or report elegantcoder

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. sami-parser sami-parser Public

    JavaScript SAMI(Synchronized Accessible Media Interchange) parser for nodejs.

    CoffeeScript 20 1

  2. 한글 은/는, 이/가 (Powered by ActiveSuppor... 한글 은/는, 이/가 (Powered by ActiveSupport::Multibyte::Chars)
    1
    # require 'active_support/all'
    2
    def korean_topic_marker(str)
    3
      k = str[-1] # last one char
    4
      return '는' if k.mb_chars.decompose.size < 3 # 종성이 없는 경우 
    5
      return '은'
  3. 한글 초성 분리기 한글 초성 분리기
    1
    # 삼성전자 => ㅅㅅㅈㅈ, 유안타제3호스팩 => ㅇㅇㅌㅈ3ㅎㅅㅍ
    2
    def extract_korean_initials(keyword)
    3
      initials = ['ㄱ', 'ㄲ', 'ㄴ', 'ㄷ', 'ㄸ', 'ㄹ', 'ㅁ', 'ㅂ', 'ㅃ', 'ㅅ', 'ㅆ', 'ㅇ', 'ㅈ', 'ㅉ', 'ㅊ', 'ㅋ', 'ㅌ', 'ㅍ', 'ㅎ']
    4
    
                  
    5
    
                  
  4. Git-mv-singularize Git-mv-singularize
    1
    # Get the original name and the singularized name
    2
    original_name="$1"
    3
    singularized_name=$(singularize "$original_name")
    4
    
                  
    5
    # Compare the original name and the singularized name