์ด๋ฒˆ ๊ธ€์—์„œ๋Š” Watson Knowledge Studio๋กœ ๋จธ์‹  ๋Ÿฌ๋‹ Annotator๋ฅผ ๋นŒ๋“œํ•ด ๋ด…๋‹ˆ๋‹ค. Watson Knowledge Studio๋กœ ๋นŒ๋“œํ•œ ๋ชจ๋ธ์€ Watson Discovery ๋ฐ Watson Natural Language Understanding ์„œ๋น„์Šค๋ฅผ ํ†ตํ•ด์„œ ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜์—์„œ ํ™œ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

Watson Knowledge Studio๋Š” IBM Cloud๋ฅผ ํ†ตํ•ด ์ œ๊ณต๋ฉ๋‹ˆ๋‹ค. ์‹ค์Šต์„ ์œ„ํ•ด IBM Cloud์— ๊ฐ€์ž…ํ•˜๊ณ  ์นด๋“œ๋“ฑ๋ก์„ ํ•˜์‹ญ์‹œ์˜ค. IBM Cloud์— ๊ฐ€์ž…ํ•˜๋ฉด ๊ธฐ๋ณธ์ ์œผ๋กœ Lite Account๋ฅผ ๋ณด์œ ํ•˜๊ฒŒ ๋ฉ๋‹ˆ๋‹ค. ์ด๋ฅผ ํ†ตํ•ด ๊ธฐํ•œ ์ œํ•œ ์—†์ด 256mb์˜ Cloud Foundry ์šฉ๋Ÿ‰๊ณผ Lite ํƒœ๊ทธ๊ฐ€ ๋‹ฌ๋ฆฐ ์„œ๋น„์Šค๋ฅผ ๋ฌด๋ฃŒ๋กœ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ์•„์‰ฝ๊ฒŒ๋„ Watson Knowledge Studio๋Š” Lite Account๋กœ๋Š” ์‚ฌ์šฉ์ด ๋ถˆ๊ฐ€๋Šฅํ•œ ์„œ๋น„์Šค๋กœ ์นด๋“œ ๋“ฑ๋ก์„ ํ†ตํ•ด ๊ณ„์ •์„ ์—…๊ทธ๋ž˜์ด๋“œํ•ด์•ผ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ์นด๋“œ ๋“ฑ๋ก์„ ๋งˆ์น˜๋ฉด ๊ธฐ๋ณธ์ ์œผ๋กœ 200$์˜ ํฌ๋ ˆ๋”ง์ด ๋ฌด๋ฃŒ๋กœ ์ œ๊ณต๋˜๋ฉฐ Free plan๋งŒ์„ ์‚ฌ์šฉํ•˜๋ฉด ๊ณผ๊ธˆ๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค.

์•„๋ž˜ ๊ทธ๋ฆผ์€ IBM Cloud๋ฅผ ํ†ตํ•ด ์ œ๊ณต๋˜๋Š” Watson ์„œ๋น„์Šค ๋ชฉ๋ก์ž…๋‹ˆ๋‹ค. Lite ํƒœ๊ทธ๊ฐ€ ๋‹ฌ๋ ค์žˆ๋Š” ์„œ๋น„์Šค๋Š” ์นด๋“œ๋“ฑ๋ก ์—†์ด๋„ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

Watson Knowledge Studio์˜ ๊ฐ€๊ฒฉ ์ •์ฑ…์€ 3๊ฐ€์ง€๊ฐ€ ์žˆ๋Š”๋ฐ ๊ทธ ์ค‘ Free plan์„ ์‚ฌ์šฉ ํ•˜๋ฉด ๊ธฐ๊ฐ„ ์ œํ•œ ์—†์ด ๋ฌด๋ฃŒ๋กœ ์‚ฌ์šฉ์ด ๊ฐ€๋Šฅํ•ฉ๋‹ˆ๋‹ค. ๋ฌด๋ฃŒ ํ”Œ๋žœ์„ ์‚ฌ์šฉํ•  ๋•Œ๋Š”, ๋จธ์‹  ๋Ÿฌ๋‹ ๋ชจ๋ธ์„ Watson Developer Cloud๋ฅผ ํ†ตํ•ด ์ œ๊ณต๋˜๋Š” Watson Discovery ๋ฐ Watson Natural Language Understanding์„œ๋น„์Šค๋กœ ๋””ํ”Œ๋กœ์ดํ•˜์—ฌ ์‚ฌ์šฉํ•˜๋Š” ๊ฒƒ์€ ๊ฐ€๋Šฅํ•˜์ง€๋งŒ Watson Explorer๋กœ Export ํ•˜๋Š” ๊ฒƒ์€ ๋ถˆ๊ฐ€๋Šฅ ํ•ฉ๋‹ˆ๋‹ค.

IBM Cloud์˜ ์นดํƒˆ๋กœ๊ทธ์—์„œ Knowledge Studio ์„œ๋น„์Šค๋ฅผ ์ƒ์„ฑํ•ฉ๋‹ˆ๋‹ค.

์„œ๋น„์Šค๋ฅผ ์ƒ์„ฑํ•˜๋ฉด ๋ฐ”๋กœ ์ƒ์„ฑ๋œ ์„œ๋น„์Šค์˜ ๊ด€๋ฆฌ ํŽ˜์ด์ง€๋กœ ์ด๋™ํ•ฉ๋‹ˆ๋‹ค. ๋‚˜์ค‘์— ๋‹ค์‹œ ์ด ํŽ˜์ด์ง€์— ์ ‘๊ทผํ•˜๋ ค๋ฉด IBM Cloud ๋Œ€์‹œ๋ณด๋“œ์—์„œ Region, Organization, Space๋ฅผ ์˜ฌ๋ฐ”๋ฅด๊ฒŒ ์„ ํƒํ•˜๊ณ  ํ•ด๋‹น ์„œ๋น„์Šค๋ฅผ ํด๋ฆญํ•˜๋ฉด ๋ฉ๋‹ˆ๋‹ค.

์œ„ ํ™”๋ฉด์—์„œ Launch Tool๋ฒ„ํŠผ์„ ํด๋ฆญํ•˜์—ฌ Knowledge Studio ํˆด์— ์ ‘๊ทผํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ํˆด์˜ ๋งํฌ๋ฅผ ์ฆ๊ฒจ์ฐพ๊ธฐ ํ•ด๋†“์œผ๋ฉด ํŽธ๋ฆฌํ•˜๊ฒŒ ์ ‘์†ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

์ด ์‹ค์Šต ๊ฐ€์ด๋“œ ์‹œ๋ฆฌ์ฆˆ๋Š” IBM Watson Academy์˜ Watson Knowledge Studio Hands-On ๊ฐ•์˜์˜ ์‹ค์Šต ์ž๋ฃŒ๋ฅผ ๊ธฐ๋ฐ˜์œผ๋กœ ํ•ฉ๋‹ˆ๋‹ค. ์‹ค์Šต์„ ๋งˆ์น˜์‹  ํ›„์— Quiz๋ฅผ ํ’€๋ฉด Badge๊ฐ€ ๋ฐœ๊ธ‰๋ฉ๋‹ˆ๋‹ค. :-)

์ „์ฒด ์‹ค์Šต์€ ๋‹ค์Œ์˜ ์ˆœ์„œ๋กœ ์ง„ํ–‰๋ฉ๋‹ˆ๋‹ค.
โ€ข Exercise 01: ํ”„๋กœ์ ํŠธ ์ƒ์„ฑ, ํƒ€์ž… ์‹œ์Šคํ…œ ์ƒ์„ฑ ๋ฐ ์ˆ˜์ •
โ€ข Exercise 02: ๊ธฐ๊ณ„ ํ•™์Šต์šฉ ์ž๋ฃŒ(Training Corpus) ์—…๋กœ๋“œ
โ€ข Exercise 03: ๋”•์…”๋„ˆ๋ฆฌ ์• ๋…ธํ…Œํ‹ฐํ„ฐ(Dictionary Annotator) ์ƒ์„ฑ ๋ฐ ์‚ฌ์ „ ์• ๋…ธํ…Œ์ด์…˜(Pre-annotation)
โ€ข Exercise 04: ์–ธ์–ด์  ๊ทœ์น™(Linguistic Rule)์„ ์‚ฌ์šฉํ•œ ์‚ฌ์ „ ์• ๋…ธํ…Œ์ด์…˜(Pre-annotation)
โ€ข Exercise 05: ํœด๋จผ ์• ๋…ธํ…Œ์ด์…˜(Human annotation) ํƒœ์Šคํฌ ์ƒ์„ฑ
โ€ข Exercise 06: ํœด๋จผ ์• ๋…ธํ…Œ์ด์…˜(Human annotation)
โ€ข Exercise 07: ํŒ๊ฒฐ(Adjudication)

์‚ฌ์ „ ์ค€๋น„ ์‚ฌํ•ญ

1) IBM Cloud ๊ณ„์ • ์ƒ์„ฑ – bluemix.net
2) Watson Knowledge Studio์˜ ์›น ์ธํ„ฐํŽ˜์ด์Šค๋Š” Chrome ๋ฐ Firefox์—์„œ ์ž˜ ๋™์ž‘ํ•ฉ๋‹ˆ๋‹ค.
3) ์‹ค์Šต์— ํ•„์š”ํ•œ ํŒŒ์ผ ๋‹ค์šด๋กœ๋“œ

Exercise 01: ํ”„๋กœ์ ํŠธ ์ƒ์„ฑ, ํƒ€์ž… ์‹œ์Šคํ…œ ์ƒ์„ฑ ๋ฐ ์ˆ˜์ •

๋ชฉํ‘œ

์ด ๋‹จ๊ณ„์—์„œ๋Š” ๋‹ค์Œ์„ ์ˆ˜ํ–‰ํ•ฉ๋‹ˆ๋‹ค.
– ํ”„๋กœ์ ํŠธ ์ƒ์„ฑ
– ํƒ€์ž… ์‹œ์Šคํ…œ(Type System) Import
– ์ƒˆ๋กœ์šด ์—”ํ‹ฐํ‹ฐ(Entity)์™€ ๋ฆด๋ ˆ์ด์…˜ ํƒ€์ž…(Relation Type) ์ถ”๊ฐ€
์ด ๋‹จ๊ณ„๋ฅผ ๋งˆ์น˜๋ฉด WKS(Watson Knowledge Studio) ํˆด์„ ์‚ฌ์šฉํ•˜์—ฌ ํƒ€์ž… ์‹œ์Šคํ…œ์„ ์ƒ์„ฑํ•˜๊ณ  ๊ด€๋ฆฌํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

๋‹จ๊ณ„

1.1 ํ”„๋กœ์ ํŠธ ์ƒ์„ฑ

์œ„์— ์„ค๋ช…ํ•œ WKS ํˆด์— ์ ‘์†ํ•˜๋ฉด “Projects” ํŽ˜์ด์ง€๊ฐ€ ์—ด๋ฆฝ๋‹ˆ๋‹ค.

Create Project ๋ฒ„ํŠผ์„ ๋ˆŒ๋Ÿฌ ์ƒˆ ํ”„๋กœ์ ํŠธ๋ฅผ ์ƒ์„ฑํ•ฉ๋‹ˆ๋‹ค.

ํŒ์—…์—์„œ ํ”„๋กœ์ ํŠธ ์ด๋ฆ„์„ ์ž…๋ ฅํ•˜๊ณ  ์–ธ์–ด๋กœ ํ•œ๊ตญ์–ด๋ฅผ ์„ ํƒํ•˜์‹ญ์‹œ์˜ค. ํ”„๋กœ์ ํŠธ ์„ค๋ช…(Description)์€ ์„ ํƒ ์ž…๋ ฅ ์‚ฌํ•ญ์ž…๋‹ˆ๋‹ค. Advanced Options์—์„œ Tokenizer๋ฅผ ์„ ํƒํ•ฉ๋‹ˆ๋‹ค. Dictionary based Tokenizer๋ฅผ ์„ ํƒํ•  ์ˆ˜๋„ ์žˆ์ง€๋งŒ ์ด ์‹ค์Šต์—์„œ๋Š” Default Tokenizer๋ฅผ ์„ ํƒํ•ฉ๋‹ˆ๋‹ค.

Create ๋ฒ„ํŠผ์„ ๋ˆ„๋ฅด๋ฉด ํ”„๋กœ์ ํŠธ๊ฐ€ ์ƒ์„ฑ๋˜๊ณ  ํ”„๋กœ์ ํŠธ ์ฐฝ์œผ๋กœ ์ด๋™๋ฉ๋‹ˆ๋‹ค. Type System์ด ๋ณด์—ฌ์งˆ ๊ฒƒ์ž…๋‹ˆ๋‹ค.

1.2 ํƒ€์ž… ์‹œ์Šคํ…œ ๊ฐ€์ ธ์˜ค๊ธฐ

๋ฐฐ๋ถ€๋œ ํŒŒ์ผ ์ค‘์— TIRTypeSystem.json ํŒŒ์ผ์ด ํƒ€์ž… ์‹œ์Šคํ…œ์„ ์ •์˜ํ•œ ํŒŒ์ผ์ž…๋‹ˆ๋‹ค. ์ด ํŒŒ์ผ์„ ์—ด์–ด ํ™•์ธํ•ด ๋ณด์‹ญ์‹œ์˜ค. 3๊ฐœ์˜ ์—”ํ‹ฐํ‹ฐ ํƒ€์ž…๊ณผ 1๊ฐœ์˜ ๊ด€๊ณ„ ํƒ€์ž…์„ ํฌํ•จํ•˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค.

ํƒ€์ž… ์‹œ์Šคํ…œ ํŽ˜์ด์ง€์—์„œ Upload๋ฅผ ์„ ํƒํ•ฉ๋‹ˆ๋‹ค. TIRTypeSystem.json ํŒŒ์ผ์„ ์„ ํƒํ•˜๊ณ  Upload ๋ฒ„ํŠผ์„ ํด๋ฆญํ•ฉ๋‹ˆ๋‹ค.

ํƒ€์ž… ์‹œ์Šคํ…œ ํŽ˜์ด์ง€์— 3๊ฐœ์˜ ์—”ํ‹ฐํ‹ฐ ํƒ€์ž…๊ณผ 1๊ฐœ์˜ ๊ด€๊ณ„ ํƒ€์ž…์ด ์ถ”๊ฐ€๋œ ๊ฒƒ์„ ํ™•์ธํ•˜์‹ญ์‹œ์˜ค.

1.3 ํƒ€์ž… ์‹œ์Šคํ…œ ์ˆ˜์ •ํ•˜๊ธฐ

๋‹ค์Œ์˜ ์—”ํ‹ฐํ‹ฐ ํƒ€์ž…์„ ์ถ”๊ฐ€ํ•˜์‹ญ์‹œ์˜ค.
– Vehicle
– Incident
– Person
– Carpart

์ถ”๊ฐ€ํ•˜๋Š” ๋ฐฉ๋ฒ•์€ ๋‹ค์Œ๊ณผ ๊ฐ™์Šต๋‹ˆ๋‹ค.

1) ํƒ€์ž… ์‹œ์Šคํ…œ ํŽ˜์ด์ง€์—์„œ “Add Entity Type”์„ ํด๋ฆญํ•ฉ๋‹ˆ๋‹ค.
2) ์—”ํ‹ฐํ‹ฐ ํƒ€์ž… ์ด๋ฆ„์œผ๋กœ “Vehicle”์„ ์ž…๋ ฅํ•˜๊ณ  ์—”ํ„ฐํ‚ค๋ฅผ ๋ˆ„๋ฃจ์‹ญ์‹œ์˜ค. ๊ฐ™์€ ๋ฐฉ๋ฒ•์œผ๋กœ ๋‚˜๋จธ์ง€ ์—”ํ‹ฐํ‹ฐ์ธ Incident, Person, Carpart๋„ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค.
3) Model ํƒ€์ž…๊ณผ Manufacturer ํƒ€์ž…์„ ์ˆ˜์ •ํ•˜์—ฌ “Vehicle” ๋กค์„ ๋ชจ๋‘ ์ถ”๊ฐ€ํ•ฉ๋‹ˆ๋‹ค. ์—”ํ‹ฐํ‹ฐ ํƒ€์ž…์„ ์ˆ˜์ •ํ•˜๋ ค๋ฉด ์ˆ˜์ •ํ•˜๋ ค๋Š” ํƒ€์ž… ํ–‰์˜ “Edit” ๋ฒ„ํŠผ์„ ํด๋ฆญํ•ฉ๋‹ˆ๋‹ค. Select a role ๋“œ๋กญ๋‹ค์šด ๋ฉ”๋‰ด์—์„œ Vehicle์„ ์„ ํƒํ•˜๊ณ  Save ๋ฒ„ํŠผ์„ ๋ˆ„๋ฆ…๋‹ˆ๋‹ค.
4) ์ด ๊ณผ์ •์„ ๋งˆ์น˜๋ฉด ์•„๋ž˜ ํ™”๋ฉด์ฒ˜๋Ÿผ ๋ฐ”๋€Œ์—ˆ์„ ๊ฒƒ์ž…๋‹ˆ๋‹ค.

์ขŒ์ธก ํƒญ์—์„œ Relation Types ํƒญ์„ ๋ˆŒ๋Ÿฌ ์ด๋™ํ•˜์‹  ํ›„ ๋‹ค์Œ์˜ ๊ด€๊ณ„ ํƒ€์ž…์„ ์ถ”๊ฐ€ํ•˜์‹ญ์‹œ์˜ค.
– locatedOn(Carpart, Vehicle)
– occupantOf(Person, Vehicle)

์ถ”๊ฐ€ํ•˜๋Š” ๋ฐฉ๋ฒ•์€ ๋‹ค์Œ๊ณผ ๊ฐ™์Šต๋‹ˆ๋‹ค.

1) Add Relation Type ๋ฒ„ํŠผ์„ ํด๋ฆญํ•ฉ๋‹ˆ๋‹ค.
2) Relation Type ์ด๋ฆ„์œผ๋กœ locateOn์„ ์ž…๋ ฅํ•˜๊ณ  ์ฒซ๋ฒˆ์งธ ์—”ํ‹ฐํ‹ฐ๋กœ Carpart๋ฅผ, ๋‘๋ฒˆ์งธ ์—”ํ‹ฐํ‹ฐ๋กœ Vehicle์„ ์„ ํƒํ•ฉ๋‹ˆ๋‹ค.
3) ๊ฐ™์€ ๋ฐฉ๋ฒ•์œผ๋กœ occupantOf ๊ด€๊ณ„ ํƒ€์ž…์„ ์ถ”๊ฐ€ํ•˜๊ณ  ์ฒซ๋ฒˆ์งธ ์—”ํ‹ฐํ‹ฐ๋กœ Person์„, ๋‘๋ฒˆ์งธ ์—”ํ‹ฐํ‹ฐ๋กœ Vehicle์„ ์„ ํƒํ•ฉ๋‹ˆ๋‹ค.
4) manufacturer ์™€ model ์‚ฌ์ด์˜ ๊ด€๊ณ„ ํƒ€์ž…์€ ์‚ญ์ œํ•˜์‹ญ์‹œ์˜ค.
5) ์ด ๊ณผ์ •๊นŒ์ง€ ๋งˆ์น˜๋ฉด ์•„๋ž˜ ํ™”๋ฉด์ฒ˜๋Ÿผ ๋˜์—ˆ์„ ๊ฒƒ์ž…๋‹ˆ๋‹ค.

ํ”„๋กœ์ ํŠธ ์ƒ์„ฑ ๋ฐ ํƒ€์ž…์‹œ์Šคํ…œ ๊ด€๋ฆฌ์— ๋Œ€ํ•œ ์‹ค์Šต์„ ๋งˆ์ณค์Šต๋‹ˆ๋‹ค.

๋‹ค์Œ ์‹ค์Šต์€ Exercise 02: ๊ธฐ๊ณ„ ํ•™์Šต์šฉ ์ž๋ฃŒ(Training Corpus) ์—…๋กœ๋“œ ์ž…๋‹ˆ๋‹ค.

2 ๊ฐœ์˜ ๋Œ“๊ธ€"Watson Knowledge Studio๋กœ ํ…์ŠคํŠธ ๋ถ„์„์„ ์œ„ํ•œ ๋จธ์‹  ๋Ÿฌ๋‹ Annotator ๋นŒ๋“œํ•˜๊ธฐ ์‹ค์Šต – 1. ํ”„๋กœ์ ํŠธ ์ƒ์„ฑ ๋ฐ ํƒ€์ž… ์‹œ์Šคํ…œ ๊ด€๋ฆฌ"

  1. ํ•ญ์ƒ ์ข‹์€ ์‹ค์Šต ์ž๋ฃŒ ์˜ฌ๋ ค์ฃผ์…”์„œ ๊ฐ์‚ฌํ•ฉ๋‹ˆ๋‹ค.
    ๋ณด์•ˆ ๋ฌธ์ œ๋กœ ์‹ค์Šต์— ํ•„์š”ํ•œ ํŒŒ์ผ์— ์ ‘๊ทผ์ด ์•ˆ๋˜๋Š”๋ฐ ํ•ด๊ฒฐ ํ• ์ˆ˜ ์žˆ๋Š” ๋ฐฉ๋ฒ•์ด ์—†์„๊นŒ์š”? (ํšŒ์‚ฌ ๋‚ด์—์„œ ํŒŒ์ผ ๊ณต์œ  site ์ ‘๊ทผ ๋ถˆ๊ฐ€)

ํ† ๋ก  ์ฐธ๊ฐ€

์ด๋ฉ”์ผ์€ ๊ณต๊ฐœ๋˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค. ํ•„์ˆ˜ ์ž…๋ ฅ์ฐฝ์€ * ๋กœ ํ‘œ์‹œ๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค.