Skip to content

Instantly share code, notes, and snippets.

View joohongpark's full-sized avatar
😂

joohongpark

😂
View GitHub Profile

말뭉치 문장 개수

  • 235,902 개 (2015 ~ 2023년간 수집)
  • 오류 주석 말뭉치
  • 오류 문장을 임베딩하여 벡터 DB에 저장
  • 포함된 메타데이터
    • 아래 코드 참조
'wrong_morphs': '언니|두|명|곌혼|있|습니다',
'wrong_pos': 'NNG|MM|NNB|NNG|VV|EF',
'국적': '베트남',
@joohongpark
joohongpark / CH341.py
Last active May 11, 2025 15:05
CH341 I2C control by pyusb
import usb.core
class CH341I2C:
EP_OUT = 0x02
EP_IN = 0x82
def __init__(self, vid=0x1A86, pid=0x5512):
self.dev = usb.core.find(idVendor=vid, idProduct=pid)
if self.dev is None:
raise IOError("CH341 장치를 찾을 수 없습니다.")