분석시각화 대회 코드 공유 게시물은
내용 확인 후
좋아요(투표) 가능합니다.
[베이스라인] 데이콘 베이스라인 코드 (LSTM)
데이콘 베이스라인은 참가자의 '제출'을 최우선 목표로 하고 있으며,
상세한 기법의 질문은 토론게시판을 통해 해주시면 감사하겠습니다.
감사합니다.
데이콘 팀 드림
감사합니다.
def preprocessing(text, okt, remove_stopwords=False, stop_words=[]):
text=re.sub("[^가-힣ㄱ-ㅎㅏ-ㅣ]","", text)
word_text=okt.morphs(text, stem=True)
if remove_stopwords:
word_text=[token for token in word_text if not token in stop_words]
return word_text
Deleted Comment
DACON Co.,Ltd | CEO Kookjin Kim | 699-81-01021
Mail-order-sales Registration Number: 2021-서울영등포-1704
Business Providing Employment Information Number: J1204020250004
#901, Eunhaeng-ro 3, Yeongdeungpo-gu, Seoul 07237
E-mail dacon@dacon.io |
Tel. 070-4102-0545
Copyright ⓒ DACON Inc. All rights reserved
전처리 함수에 if 아래에 word_review가 아니라 word_text인 것 같습니다