Skip to content

About

(완료)자연어 처리를 활용한 텍스트분류기

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

text_classifier

(중요) 본 repository는 portfolio 제출용으로 모델의 주요 구조 및 데이터는 포함하지 않는다.

유저가 작성한 문의의 제목/내용을 활용하여 적절한 카테고리로 분류하는 문제로, 카테고리는 대분류/중분류/소분류의 계층으로 구성되어있다. 본 repository는 해당문제를 풀기위한 base line으로 실제 적용된 모델과는 차이가 있다.

model

  • hierarchical model

하위 카테고리 분류시, 상위 카테고리의 결과를 이용한다면 분류가 용이할 것이라는 컨셉으로 만든 모델로 multi-channel로 대분류와 중분류를 분류하고, 그 결과를 소분류 분류기에 input으로 사용하는 모델이다. 대분류 분류부터 소분류 분류까지 end-to-end모델로 제목, 내용, 상품명을 input으로 받아, 대/중/소분류 결과를 output으로 한다.

input data

input data는 json파일로, 아래와 같은 형태로 구성된다.

columns comment type
id key column으로 12자리 숫자이다 string
cateCode 대/중/소분류 코드로 각각 계층별 분류코드는 영문철자1자리고 구성된다. (ex. cateCode가 ABC -> 대분류 A, 중분류 B, 소분류 C를 의미한다) string
title 문의 제목 string
cont 문의 내용 string
morph_anal_title 문의 제목 형태소 분석결과 list
morph_anal_cont 문의 내용 형태소 분석결과 list
product_name 문의한 상품명, 단순 문의인 경우 null string

참고 [https://github.com/papower1/Awesome-Korean-NLP-Papers]

About

(완료)자연어 처리를 활용한 텍스트분류기

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages