All Projects β†’ hmmhmmhm β†’ hangul-search-js

hmmhmmhm / hangul-search-js

Licence: MIT license
πŸ‡°πŸ‡· Simple Korean text search module

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to hangul-search-js

PyKOMORAN
(Beta) PyKOMORAN is wrapped KOMORAN in Python using Py4J.
Stars: ✭ 38 (+72.73%)
Mutual labels:  korean, korean-text-processing, korean-nlp
advanced-text-mining
TEANAPS 라이브러리λ₯Ό ν™œμš©ν•œ μžμ—°μ–΄ μ²˜λ¦¬μ™€ ν…μŠ€νŠΈ 뢄석 방법둠에 λŒ€ν•΄ λ‹€λ£Ήλ‹ˆλ‹€.
Stars: ✭ 15 (-31.82%)
Mutual labels:  korean-text-processing, korean-nlp
tensorflow-ml-nlp-tf2
ν…μ„œν”Œλ‘œ2와 λ¨Έμ‹ λŸ¬λ‹μœΌλ‘œ μ‹œμž‘ν•˜λŠ” μžμ—°μ–΄μ²˜λ¦¬ (λ‘œμ§€μŠ€ν‹±νšŒκ·€λΆ€ν„° BERT와 GPT3κΉŒμ§€) μ‹€μŠ΅μžλ£Œ
Stars: ✭ 245 (+1013.64%)
Mutual labels:  korean-text-processing, korean-nlp
BERT-embedding
A simple wrapper class for extracting features(embedding) and comparing them using BERT in TensorFlow
Stars: ✭ 24 (+9.09%)
Mutual labels:  korean, korean-nlp
teanaps
μžμ—°μ–΄ μ²˜λ¦¬μ™€ ν…μŠ€νŠΈ 뢄석을 μœ„ν•œ μ˜€ν”ˆμ†ŒμŠ€ 파이썬 라이브러리 μž…λ‹ˆλ‹€.
Stars: ✭ 91 (+313.64%)
Mutual labels:  korean-text-processing, korean-nlp
detox
Korean Hate Speech Detection Model
Stars: ✭ 38 (+72.73%)
Mutual labels:  korean, korean-nlp
hacktoberfestkorea
Hacktoberfest Korea site
Stars: ✭ 49 (+122.73%)
Mutual labels:  korea, korean
kss
Kss: A Toolkit for Korean sentence segmentation
Stars: ✭ 198 (+800%)
Mutual labels:  korean, korean-nlp
g2pK
g2pK: g2p module for Korean
Stars: ✭ 137 (+522.73%)
Mutual labels:  korean, korean-nlp
KoEDA
Korean Easy Data Augmentation
Stars: ✭ 62 (+181.82%)
Mutual labels:  korean, korean-nlp
KoSpacing
Automatic Korean word spacing with R
Stars: ✭ 76 (+245.45%)
Mutual labels:  korean, korean-nlp
KLUE
πŸ“– Korean NLU Benchmark
Stars: ✭ 420 (+1809.09%)
Mutual labels:  korean, korean-nlp
LegalQA
Korean LegalQA using SentenceKoBART
Stars: ✭ 77 (+250%)
Mutual labels:  korean-nlp, korean-language
validid
A Javascript library to validate ID card numbers of China, Taiwan, Hong Kong and South Korea
Stars: ✭ 37 (+68.18%)
Mutual labels:  korea
klay
KLAY - Korean Language AnalYzer (ν•œκ΅­μ–΄ ν˜•νƒœμ†Œ 뢄석기)
Stars: ✭ 19 (-13.64%)
Mutual labels:  korean
2020.jsconfkorea.com
πŸŽ‰ JSConf Korea 2020 Website
Stars: ✭ 37 (+68.18%)
Mutual labels:  korea
SARS2-Stat-KR
쀑ꡭ μš°ν•œ λ°”μ΄λŸ¬μŠ€ ν•œκ΅­ ν™•μ§„μž 톡계
Stars: ✭ 25 (+13.64%)
Mutual labels:  korea
com2us cppNetStudy work
컴투슀 C++ λ„€νŠΈμ›Œν¬ μŠ€ν„°λ”” 개인 μž‘μ—… μ €μž₯μ†Œ
Stars: ✭ 32 (+45.45%)
Mutual labels:  korean
ark-pixel-font
Open source Pan-CJK pixel font / εΌ€ζΊηš„ζ³›δΈ­ζ—₯ιŸ©εƒη΄ ε­—δ½“
Stars: ✭ 1,767 (+7931.82%)
Mutual labels:  korean
dev-meetup.github.io
developer meetup, seminar
Stars: ✭ 79 (+259.09%)
Mutual labels:  korea

πŸ‡°πŸ‡· Hangul Search Js

It allows you to search for simple Korean characters in the most consistent order regardless of the character assembly order.

Github Workflow GitHub License Jest Coverage Gzip Size TypeScript NPM Version jsDelivr


πŸ“¦ Usage (ES5+)

npm i hangul-search-js
import { createSearch } from 'hangul-search-js'

const search = createSearch([
  'λ‘―λ°μ‹œλ„€λ§ˆ',
  '유튜브',
  'ν”„λ‘œκ²Œμ΄λ¨Έ',
  'κ°€λ‚œ',
  'λ‚œκ°€'
])

const result = search('μ‹œγ„΄')
// result: ['λ‘―λ°μ‹œλ„€λ§ˆ', 'ν”„λ‘œκ²Œμ΄λ¨Έ', 'κ°€λ‚œ', 'λ‚œκ°€']

const resultExact = search('μ‹œγ„΄', { exact: true })
// result: ['λ‘―λ°μ‹œλ„€λ§ˆ']

const resultExact = search('λ‚œκ°€', { exact: true, order: true })
// result: ['λ‚œκ°€']

πŸ“¦ Usage (CDN)

<script src="https://cdn.jsdelivr.net/npm/hangul-search-js/export/hangul-search.js"></script>
var createSearch = window.hangulSearch

var search = createSearch([
  'λ‘―λ°μ‹œλ„€λ§ˆ',
  '유튜브',
  'ν”„λ‘œκ²Œμ΄λ¨Έ',
  'κ°€λ‚œ',
  'λ‚œκ°€'
])

var result = search('μ‹œγ„΄')
// result: ['λ‘―λ°μ‹œλ„€λ§ˆ', 'ν”„λ‘œκ²Œμ΄λ¨Έ', 'κ°€λ‚œ', 'λ‚œκ°€']

var resultExact = search('μ‹œγ„΄', { exact: true })
// result: ['λ‘―λ°μ‹œλ„€λ§ˆ']

var resultExact = search('λ‚œκ°€', { exact: true, order: true })
// result: ['λ‚œκ°€']

πŸ’‘ License

MIT Licensed.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].