다. 설명문은 종종 장이나 장면으로 나뉜다. 이처럼 다른 섹션에는 서로 다른 처리 방법이나 모
델이 필요할 수 있다. 예를 들어 동일한 이유의 방문일지라도 방사선 검사에서 사용하는 것과
똑같은 모델을 입원 기록에는 사용하고 싶지 않을 수 있다.
섹션이 매우 중요하긴 하지만, 실제로
언어
자체의 일부는 아니다. 텍스트란 텍스트가 기록되
는 문서 형식의 결과물이다. 다른 섹션에는 (심지어 그 위치에도) 여전히 의미가 있을 수 있
다. 이것은 우리가 종종 주어진 말뭉치 밖에서 우리의 기술을 일반화할 수 없음을 의미한다. 다
행히 정규 표현식은 문장의 경계 감지보다는 이 문제에 훨씬 효과적이다.
8.3
품사 태깅
품사
part
of
speech
는 단어들이 결합해 구와 문장을 형성하는 방법을 제어하는 단어 범주
다. 이는
특히 텍스트에서 정보를 추출하는 과정에서 매우 유용할 수 있다. 여러분은 아마 가장 일반적
인 품사에 익숙할 것이다.
NLP
에서 범주는 조금 더 복잡하다.
다음은 일반적인 품사다.
●
동사: ‘
know
’, ‘
try
’, ‘
call
’
●
명사: ‘
cat
’, ‘
banana
’, ‘
happiness
’
●
형용사: ‘
big
’, ‘
red
’, ‘
quick
’
●
부사: ‘
well
’, ‘
now
’, ‘
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.
O’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
I 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
I’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
I'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.