Skip to Content
AI를 위한 필수 수학
book

AI를 위한 필수 수학

by 할라 넬슨, 안민재
August 2024
Beginner to intermediate
640 pages
14h 53m
Korean
Hanbit Media, Inc.
Content preview from AI를 위한 필수 수학
268
AI
를 위한 필수 수학
7.2
자연어 데이터 준비하기
기계가 자연어를 처리하기 위해서는 가장 먼저 텍스트를 분석하여 의미, 의도, 문맥, 주제, 정
보, 정서를 유지한 채로 틀을 잡아야 한다. 이를 위해 토큰화
tokenizing
, 어간 추출
stemming
(
예
단수
형 단어와 복수형 단어에 동일한 토큰을 부여 ), 표제어 추출
lemmatization
(유사한 의미의 여러 단
어를 함께 연결 ), 대소문자 정규화
case
normalization
(
예
동일한 철자의 대문자와 소문자 단어에 동
일한 토큰을 부여 ) 등의 과정을 거쳐 단어와 숫자 태그 간의 대응관계를 설정해야 한다. 이런
대응관계는 단어를 구성하는 개별 문자가 아니라 의미를 지닌 전체 단어, 단어 한 쌍 또는 그
이상의 단어 (
2
-그램
gram
또는
n
-그램 ), 구두점, 중요한 대문자인 이니셜 등에 적용된다. 이렇
게 하면 주어진 자연어 문서 말뭉치에 해당하는 숫자 토큰의 어휘 또는 어휘집이 생성된다. 이
렇게 만든 어휘 또는 어휘집은 파이썬의 딕셔너리와 유사하다. 자연어의 구성 요소인 각 객체
에는 고유한 토큰이 있게 된다.
n
-그램이란
n
개의 단어가 순서대로 나열된 순서열을 말한다. 이때 각 단어가 홀로 존재할 때
와 다른 의미를 지니게 되는 것이
n
-그램의 특징이다.
2
-그램은 함께 있을 때 의미가 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

개발자를 위한 필수 수학

개발자를 위한 필수 수학

토머스 닐드
클라우드 네이티브 애플리케이션 디자인 패턴

클라우드 네이티브 애플리케이션 디자인 패턴

카순 인드라시리, 스리스칸다라자 수호티얀

Publisher Resources

ISBN: 9791169212588