Comments (1)
까먹기 전에 미리 메모해두자면...
이 함수는 아래와 같이 여러 단계의 관심사를 가진 함수들의 합성으로 정의됩니다.
- 인자로 초성, 중성, 종성을 받아 하나의 한글 문자로 합쳐주는 함수
combineHangulCharacter('ㄱ', 'ㅏ', 'ㅇ') // 강
combineHangulCharacter('ㄱ', 'ㅗ') // 고
- 두 개의 한글 문자열을 받아 하나의 한글 문자열로 합쳐주는 함수. 이 함수는 첫 번째 인자의 마지막 한글 문자의 성질에 따라 두 번째 인자로 받은 한글 문자를 첫 문자와 어떻게 합칠 것인지, 단순 Join할 것인지를 결정합니다. (한글 비즈니스 로직 *
combineHangulCharacter
)
binaryAssembleHangul('고양이 좋ㅇ', 'ㅏ') // 고양이 좋아
- 인자로 자유로운 한글 문자열을 원소로 가진 배열을 받아 하나의 한글 문자열로 합쳐주는 함수 (
disassembleHangul
*reduce
*binaryAssembleHangul
)
assembleHangul(['저는', '고양ㅇ', 'ㅣ', '를', ' ', '좋아', 'ㅎ', 'ㅏ', 'ㅂ', '니다']) // 저는 고양이를 좋아합니다
from es-hangul.
Related Issues (20)
- [Bug]: 문서가 최신화 되지 않습니다. HOT 7
- [Feature]: Add Functions for Hangul Detection HOT 3
- [Bug]: 겹모음과 관련하여 일부 메소드에서 잘못된 동작을 수행합니다.
- [Bug] 잘못 노출된 불필요 인터페이스 점진적 제거가 필요합니다 HOT 9
- [Feature]: 한글 음절을 로마자로 변환하는 함수 HOT 2
- [Bug]: amountHangul이 선행 0이 있는 문자열을 잘못 변환합니다.
- [Feature]: 숫자를 순우리말 수사로 표현하는 함수 HOT 2
- [Feature]: 정해진 일관된 이름 짓기 규칙에 알맞게 함수명 수정하기 HOT 7
- [Bug]: eslint가 ci에서 제대로 체킹되지 않고 있어요 HOT 1
- HANGUL_CHARACTERS_BY_FIRST_INDEX, HANGUL_CHARACTERS_BY_MIDDLE_INDEX, HANGUL_CHARACTERS_BY_LAST_INDEX HOT 1
- 영어, 빈칸, 다른 언어, 특수문자 케이스를 spec에서 알 수 있으면 더 명확히 하기 좋을 거 같아요
- [Feature]: 욕 마스킹 기능이 있으면 좋을 것 같아요 HOT 7
- [Bug]: amountToHangul 함수명이 괜찮은가요? HOT 14
- [Feature]: v2 마이그레이션 전략 HOT 2
- [Feature]: 숫자를 날짜를 나타내는 순우리말로 바꿔주는 함수 HOT 3
- [Feature]: v2로 마이그레이션하기 문서 작성하기
- 이 부분은 반드시 words(단어들)이 아닌 거 같아서 이슈로 딸게요 HOT 1
- [Bug]: 패키지가 반영되기 전에 문서가 먼저 배포되어요 HOT 1
- 문서에 오타가 있어요
- Feedback for “canBe”
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from es-hangul.