Skip to Content
스파크를 이용한 자연어 처리 : 대규모 텍스트를 다루는 가장 효율적인 딥러닝을 만나다
book

스파크를 이용한 자연어 처리 : 대규모 텍스트를 다루는 가장 효율적인 딥러닝을 만나다

by 이창현, 앨릭스 토머스
August 2021
Beginner to intermediate
440 pages
10h 4m
Korean
Hanbit Media, Inc.
Content preview from 스파크를 이용한 자연어 처리 : 대규모 텍스트를 다루는 가장 효율적인 딥러닝을 만나다
232
2
부
빌딩 블록
8.4
조건부 무작위장
은닉 마르코프 모형이 순차적 나이브 베이즈일 때 조건부 무작위장(
CRF
)은 순차 로지스틱 회
귀로 간주될 수 있다.
CRF
는 품사 태깅에 널리 쓰이는 또 다른 기술로서
HMM
에 비해 몇 가
지 이점이 있다.
CRF
는 특징과 레이블의 관계에 대한 가정이 적은 만큼 더 복잡한 특징을 허용
한다.
Spark
NLP
에서
CRF
는
RNN
을 사용하는 것 외에도 품사 태그 지정에 쓰이는 접근 방식
의 한 가지다.
CRF
는 로지스틱 회귀와 같은 경사 하강법을 써서 학습되지만 비터비 알고리즘
과 같은 알고리즘을 사용하여 실행한다.
8.5
청킹 및 구문 분석
이제 개별 토큰에 대한 품사를 얻었으므로 그들의 결합을 고려해야 한다. 많은
NLP
작업에는
텍스트에서 엔티티를 찾는 작업이 포함된다. 이러한 엔티티는 종종 한 단어 이상의 구문을 사
용하여 참조된다. 이는 일반적으로 청크
chunk
로 알려진 구문에서 태그가 지정된 토큰을 결합하
는 방법을 이해해야 함을 의미한다.
문장 경계 감지와 유사하게, 우리는 휴리스틱으로 이 작업을 할 수 있지만 피해야 할 모델이 필
요해지는 오류가 발생한다. 휴리스틱은 비교적 간단하다. 인접한 두 토큰에 동일하거나 유사한
태그가 있으면 이를 단일 구문으로 결합한다. 예를 들어 ‘
fan
blade
’라는 단어는 둘 다 명사이
므로 단일 명사 구문으로 결합될 수 있다. 또한 우리는 ‘
knock
off
’와 같은 일부 동사-전치사
조합처럼 잘 알려진 특정 구조를 단일 동사 또는 명사로서 결합할 ...
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: 9791162244654