์ด ํฌ์ŠคํŒ…์€ ์ฟ ํŒก ํŒŒํŠธ๋„ˆ์Šค ํ™œ๋™์˜ ์ผํ™˜์œผ๋กœ, ์ด์— ๋”ฐ๋ฅธ ์ผ์ •์•ก์˜ ์ˆ˜์ˆ˜๋ฃŒ๋ฅผ ์ œ๊ณต๋ฐ›์„ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

๋ฐ˜์‘ํ˜•

[์—…๋Žƒ] ๊ธฐ์‚ฌ์นœ๊ตฌ ๊ฐ€๋‹ต์•ˆ http://www.gisa79.com/Board/Qna_Board/Qna_View.asp?Board_Kind=Qna_All&offset=0&idx=75422
[์—…๋Žƒ] ๊ธฐ์‚ฌํผ์ŠคํŠธ ๊ฐ€๋‹ต์•ˆ http://www.gisafirst.com/community/community_01.html?bbs=okbbs_qna&classnumber=&kindmode=&classid=&mode=view&offset=0&number=6092&key=&keyfield=

ํœด.....

 ์‹œํ—˜๊ณต๋ถ€์•ˆํ•˜๊ณ  ๊ฑฐ์ง“๋ง ์•ˆ๋ณดํƒœ๊ณ  ํ•˜๋‚˜๋„ ์•ˆ๋ดค๋Š”๋ฐ.....
์•„... ์‹œํ—˜์น˜๋Ÿฌ ๊ฐˆ๋•Œ ์ง€ํ•˜์ฒ ์—์„œ ์ž ๊น ... ๋ดค๋Š”๋ฐ...
 ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค๋งŒ ์„ ๋นต๋•Œ๋ฆฌ๋ฉด ํ•ฉ๊ฒฉํ• ์ง€๋„!!!! ใ… ใ…  ๊ฑฐ์˜ ๋ฐ˜ํฌ๊ธฐ ใ…Žใ…Ž
 ์•Œ๊ณ ๋ฆฌ์ฆ˜ ์ƒ๊ฐ๋‚˜๋Š”๋Œ€๋กœ ํ•œ๊ธ€2007๋กœ ๋งŒ๋“ค์–ด ๊ทธ๋ฆผ์˜ฌ๋ฆฝ๋‹ˆ๋‹ค. ใ…Ž

์ œ๊ฐ€ ์ฐ์€๊ฒƒ๋“ค ์ž…๋‹ˆ๋‹ค.... ;; (์ดํƒค๋ฆญ์ฒด๊ฐ€ ์–ด๋Š์ •๋„ ํ™•์‹ ํ•˜๋Š”๊ฒƒ๋“ค, ์•Œ๊ณ ๋ฆฌ์ฆ˜์€ ๊ฒ€์‚ฐ๊ฒฐ๊ณผ ๋งž๋Š”๊ฑฐ ๊ฐ™์Šต๋‹ˆ๋‹ค!)

1. (1) Beyster
    (2) LFP(Leaped...๋จธ์‹œ๊ธฐ)
    (3) Six Sigma
    (4) BPM

2. ๊ทธ๋ฆผ์ฐธ์กฐ

3. (1) Thin Client PC
    (2) Augmented Reality
    (3) Bio Informatics
    (4) Smart grid
    (5) Green Info Tech


๋””๋น„๋ฅผ ๊ฐœ์žก์นจ...
4. (1) Swot
   (2) ์ œ์•ฝ์กฐ๊ฑด
   (3) ๋ชฐ๋ผ
   (4) ๋ชฐ๋ผ
   (5) ๋ชฐ๋ผ

5. (1) FCFS
   (2) SJF
   (3) RR
   (4) Burst Time
   (5) Multilevel Queue



์•Œ๊ณ ๋ฆฌ์ฆ˜

๋ฐฐ์—ด์˜ ์ธ๋ฑ์Šค๊ฐ€ ๋‹ค์Œ๊ณผ ๊ฐ™๊ณ 

(1,1)

(1,2)

(1,3)

(1,4)

(1,5)

(2,1)

(2,2)

(2,3)

(2,4)

(2,5)

(3,1)

(3,2)

(3,3)

(3,4)

(3,5)

(4,1)

(4,2)

(4,3)

(4,4)

(4,5)

(5,1)

(5,2)

(5,3)

(5,4)

(5,5)


์•ˆ์˜ ๊ฐ’์ด ๋‹ค์Œ๊ณผ ๊ฐ™์„๋•Œ

 

 

1

 

 

 

3

5

7

 

9

11

13

15

17

 

19

21

23

 

 

 

25

 

 


์ˆœ์„œ๋„๋ฅผ ์ž‘์„ฑํ•ด๋ด๋ผ . ใ…‹ใ…‹๋ป˜๊ฑด ์ƒ‰์ด ์˜ˆ์ƒ๋‹ต์ž„



๋ฐ˜์‘ํ˜•

์ด ํฌ์ŠคํŒ…์€ ์ฟ ํŒก ํŒŒํŠธ๋„ˆ์Šค ํ™œ๋™์˜ ์ผํ™˜์œผ๋กœ, ์ด์— ๋”ฐ๋ฅธ ์ผ์ •์•ก์˜ ์ˆ˜์ˆ˜๋ฃŒ๋ฅผ ์ œ๊ณต๋ฐ›์„ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

๋ฐ˜์‘ํ˜•
์„ฑ์  ๋–ด์Šต๋‹ˆ๋‹ค. Intermediate High... ;;;
์ œ๊ธธ์Šจ ใ… ใ… 

-----------------
 ์ „ํ†ต์ ์ธ ๋…ํ•ด, ์ฒญํ•ด ์‹œํ—˜๋ณด๋‹ค๋Š” ์š”์ƒˆ ๋งํ•˜๊ธฐ ๋Šฅ๋ ฅ์ด ์ค‘์š”์‹œ ๋˜๊ณ  ์žˆ๊ณ , ๋งŽ์€ ๊ธฐ์—…์—์„œ ์•„์˜ˆ TOEIC ๊ฐ™์€ ์ง€ํ•„๊ณ ์‚ฌํ˜• ์ ์ˆ˜๋ฅผ ๋ฐ˜์˜ํ•˜์ง€๋„ ์•Š๊ณ  Toeic ์Šคํ”ผํ‚น์ด๋‚˜ ์˜คํ”ฝ๊ฐ™์€ ๋งํ•˜๊ธฐ ์‹œํ—˜ ์ ์ˆ˜๋งŒ ์ ์ฐจ์ ์œผ๋กœ ๋ฐ˜์˜ํ•˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค.

 ๊ทธ๋ž˜์„œ.. ์˜ˆ์ „์— ๋ณ„ ๋‹ค๋ฅธ ์ค€๋น„์—†์ด ํ† ์ต์Šคํ”ผํ‚น์„ ๋ดค์—ˆ๋Š”๋ฐ ... ์ƒ๋‹นํžˆ ์‹ค๋ง์Šค๋Ÿฌ์šด ์ ์ˆ˜๊ฐ€ ๋‚˜์™”์—ˆ์ฃ ... :( ๋ฌด๋น„์œ ํ™˜...์ด์—ˆ์Šต๋‹ˆ๋‹ค๋งŒ.. ใ…Žใ…Ž
์˜คํ”ฝ์ด ๋ณ„ ๋‹ค๋ฅธ ์ค€๋น„์—†์ด๋„(์‚ฌ์‹ค ์–ด๋Š์ •๋„ ์œ ํ˜•์ด ์žˆ๊ณ  ํ…œํ”Œ๋ฆฟ์„ ์ตํžŒ๋‹ค์Œ์— ์‘์‹œํ•˜๋Š”๊ฒŒ  ๋” ๋ฐ”๋žŒ์งํ•œ ์ ์ˆ˜๋ฅผ ๊ธฐ๋Œ€ํ•  ์ˆ˜ ์žˆ์ง€๋งŒ..) ํ† ์ต์Šคํ”ผํ‚น ๋ณด๋‹ค๋Š” ํ‰์†Œ ๋งํ•˜๊ธฐ ๋Šฅ๋ ฅ์„ ๋ณด์—ฌ์ฃผ๋Š”์ชฝ์— ๊ฐ€๊น๊ธฐ ๋•Œ๋ฌธ์— ๋งˆ์Œ ๋‚ดํ‚ค๋Š”๋Œ€๋กœ ์ ‘์ˆ˜๋ฅผ ํ–ˆ์Šต๋‹ˆ๋‹ค.

 ์˜คํ”ฝ์˜ ์ข‹์€์ ์€ ์ผ์ฃผ์ผ๋‚ด๋กœ ์‹œํ—˜๊ฒฐ๊ณผ๊ฐ€ ๋‚˜์˜จ๋‹ค๋Š”๊ฒƒ์ด์ฃ  ^^;;

 3์›”15์ผ ๋‚จ์˜์—ญ์— ์žˆ๋Š” ์‚ผ์œก์–ดํ•™์›์—์„œ ์‘์‹œ๋ฅผ ํ•˜๊ฒŒ๋˜์–ด์„œ ๋‚จ์˜์—ญ์œผ๋กœ ๋ชธ์„ ์‹ฃ๊ณ  ๊ฐ”์Šต๋‹ˆ๋‹ค.
์ƒ๋‹นํžˆ ๊ตฌ์„์ง„๋ฐ ์œ„์น˜ํ•˜๊ณ  ์žˆ๋”๊ตฐ์š” :( ๋‚จ์˜์—ญ ์ถœ๊ตฌ์—์„œ 1๋ถ„๊ฑฐ๋ฆฌ๋„ ๋˜์ง€ ์•Š๋Š”๋“ฏ.. :) ๊ทผ๋ฐ 3๋ถ„๊ฑฐ๋ฆฌ๋ผ๊ณ  ๋˜์–ด์žˆ๊ธธ๋ž˜ ๊ดœํžˆ ๋ฐฉํ™ฉํ–ˆ์Šต๋‹ˆ๋‹ค.

 ํ† ์ต์Šคํ”ผํ‚น๊ณผ ๊ฐ™์ด ์ปดํ“จํ„ฐ๋ฅผ ์ด์šฉํ•ด์„œ ํ—ค๋“œ์…‹์—๋‹ค๊ฐ€ ์ผ๋ฐฉ์ ์œผ๋กœ ์งˆ๋ฌธ์„ ๋“ฃ๊ณ  ๋งํ•˜๋Š” ๋ฐฉ์‹์ด์—ˆ์Šต๋‹ˆ๋‹ค๋งŒ... ์—ฌ๋Ÿฌ๊ฐ€์ง€ ์‹ ๋ณ€์— ๊ด€ํ•œ ๊ฒƒ์„ ๋ฌป๊ณ 
๊ทธ์—๋”ฐ๋ผ ๋ฌธ์ œ๊ฐ€ ์œ ๋™์ ์œผ๋กœ ๋‚˜์˜ค๊ธฐ๋•Œ๋ฌธ์— ํ† ์ต์Šคํ”ผํ‚น ๋ณด๋‹ค๋Š” ๋‹ค์†Œ ์ธํ„ฐ๋ž™ํ‹ฐ๋ธŒ ํ•˜๋‹ค๊ณ  ๋ง์”€๋“œ๋ฆด ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ์‹ฌ์ง€์–ด ๋‚œ์ด๋„ ์กฐ์ •๊นŒ์ง€ ๋˜๋”๊ตฐ์š”..

 ์ €๋Š” ์ผ๋ถ€๋Ÿฌ ์ ์ˆ˜๋ฅผ ์ข€ ์ž˜ ๋งž๊ณ ์ž(๋ณ„ ๋‹ค๋ฅธ ์ •๋ณด์—†์ด, ์–ด๋ ค์šด ๋ฌธ์ œ์ผ ์ˆ˜๋ก ๋†’์€ ์ ์ˆ˜๋ฅผ ์ค„ ๊ฒƒ์ด๋ผ๋Š” ํŒ๋‹จ์„ ํ–ˆ์Šต๋‹ˆ๋‹ค.) ์ œ์ผ ์•„๋žซ์นธ์— ์žˆ๋Š” ๋ผ๋””์˜ค๋ฒ„ํŠผ์— ์ฒดํฌํ•˜๊ณ  ์„ค๋ฌธ์กฐ์‚ฌ๋„ ๊ผผ๊ผผํžˆ ์‘ํ•œ๋‹ค์Œ ์‹œํ—˜์„ ๋ดค๋Š”๋ฐ...

 ํ—‰... ์ œ๊ฐ€ Driving Soldier๋กœ ๋ณต๋ฌดํ•œ์ง€๋ผ ์ž๋™์ฐจ์ •๋น„์ชฝ์— ์ฒดํฌ๋ฅผ ํ–ˆ์—ˆ๋Š”๋ฐ ์—ฐ๋‹ฌ์•„ 4๋ฌธ์ œ๊ฐ€ ์ž๋™์ฐจ ์ •๋น„์— ๊ด€ํ•œ ์งˆ๋ฌธ์ด๋”๊ตฐ์š”.
๊ฐ€๋ น ์ฒซ๋ฒˆ์งธ ๋ฌธ์ œ๊ฐ€ ์ž๋™์ฐจ์ •๋น„๋ฅผ ์–ด๋–ป๊ฒŒ ํ•˜๋Š๋ƒ? ์ด๋ฉด ๋‘๋ฒˆ์งธ ๋ฌธ์ œ๋Š” ์ž๋™์ฐจ์ •๋น„๋ฅผ ์–ด๋””์„œ ๋ฐฐ์› ๋Š๋ƒ? ์—ฐ์ด์–ด ์–ด๋–จ๋•Œ ์–ด๋–ป๊ฒŒ ์ž๋™์ฐจ์ •๋น„๋ฅผ ํ–ˆ์œผ๋ฉฐ ์–ด๋–ป๊ฒŒ ์กฐ์น˜ํ–ˆ๋Š”๊ฐ€? ์ด๋Ÿฐ์‹์œผ๋กœ ๋น„์Šทํ•œ ๋ฌธ์ œ๊ฐ€ ์Ÿ์•„์กŒ๋Š”๋ฐ, ๋ฌธ์ œ๋Š” ์ฒซ๋ฒˆ์งธ ๋ฌธ์ œ์—์„œ ๋‘, ์„ธ๋ฒˆ์งธ์— ๋Œ€ํ•œ ์งˆ๋ฌธ์— ๋Œ€ํ•œ ๋‹ต๋ณ€๊นŒ์ง€ ์ด๋ฏธ ํ•œ ์ƒํƒœ์˜€๋‹ค๋Š”๊ฑฐ์ฃ  ใ… ใ… 

 ๊ทธ๋ž˜์„œ ๋‘, ์„ธ๋ฒˆ์งธ ๋ฌธ์ œ์—์„œ๋Š”... ์ฐฐ๋‚˜ ๊ณ ๋ฏผ์„ ํ•˜๊ฒŒ ๋˜์—ˆ์Šต๋‹ˆ๋‹ค. ๋˜‘๊ฐ™์€ ๋ง์„ ํ•ด์•ผํ•˜๋‚˜... ใ… ใ… 
์ด๋Ÿฐ ๊ณ ๋ฏผ์„ ํ•˜๋Š” ์™€์ค‘์—๋„ ์‹œ๊ฐ„์ด ํ˜๋Ÿฌ๊ฐ์„ ๋Š๋ผ๊ณ ...(์งง์€ ์ˆœ๊ฐ„์ด์—ˆ์ง€๋งŒ..) ๊ฒฐ๊ตญ์€ ๋‚˜๋ฆ„ ์œ ์—ฐํ•˜๊ฒŒ ๋Œ€์ฒ˜๋ฅผ ํ•ด์„œ ์ด๋Ÿฐ์ €๋Ÿฐ ์†Œ์„ค์„ ๊ฐ–๋‹ค ๋ถ™์ด๊ธด ํ–ˆ์Šต๋‹ˆ๋‹ค๋งŒ..
์งˆ๋ฌธ์˜ ์˜๋„์™€๋Š” ๋‹ค์†Œ ๋ฐฉํ–ฅ์„ ๋‹ค๋ฅด๊ฒŒ ๋Œ€๋‹ตํ•œ ๋ถ€๋ถ„์ด ์—†์ง€ ์•Š์•„ ์žˆ๋Š” ๊ฒƒ ๊ฐ™์•„ ๋งˆ์Œ์ด ๋งŽ์ด ์“ฐ์ž…๋‹ˆ๋‹ค. ใ…กใ…œ

 ์ด๋Ÿฐ๋ฌธ์ œ๋„ ๋‚˜์™”์Šต๋‹ˆ๋‹ค, DVDํ”Œ๋ ˆ์ด์–ด๋ฅผ ๊ตฌ๋งคํ–ˆ๋Š”๋ฐ ์ œํ’ˆ์— ๋ฌธ์ œ๊ฐ€ ์žˆ๋‹ค. ๋ฌธ์ œ์ ์— ๋Œ€ํ•ด์„œ 3๊ฐ€์ง€๋ฅผ ์ง€์ ํ•˜๊ณ  ๊ทธ๊ฒƒ์„ ๋ฐ”ํƒ•์œผ๋กœ ์Šคํ† ์–ด์— ์ „ํ™”๋ฅผ ํ•ด์„œ ์ปดํ”Œ๋ ˆ์ธ์„ ํ•˜๋ผ. ใ…กใ…ก ;;;;;
์ˆœ๊ฐ„ ๋งค์šฐ ๋‹นํ™ฉ์Šค๋Ÿฌ์› ์Šต๋‹ˆ๋‹ค.... ๋ญ๋ผ๊ณ  ๋งํ•ด์•ผํ•˜๋‚˜.....
๋Œ€์ถฉ ๊ธฐ์–ต๋‚˜๋Š”๊ฑด ๋ Œ์ฆˆ์— ์ด์ƒ์ด ์žˆ์–ด์„œ ๋ฆฌ๋”ฉํ• ๋•Œ ์‹ฌํ•˜๊ฒŒ ๋ฒ„ํผ๋ง(??)์ด ๊ฑธ๋ฆฌ๊ณ , ์‚ฌ์šด๋“œ ์‹œ์Šคํ…œ์ด ๋‚ด๊ฐ€ ์š”๊ตฌํ•œ ๊ฒƒ ๋งŒํผ ์›…์žฅํ•˜์ง€๊ฐ€ ์•Š๋‹ค, ๊ทธ๋ฆฌ๊ณ  ๋ฆฌ๋ชจ์ฝ˜ ์กฐ์ž‘์ด ์ œ๋Œ€๋กœ ๋˜์ง€ ์•Š์•„ ๋งค์šฐ ๋ถˆํŽธํ•˜๋‹ค...... ใ…Žใ…Žใ…Ž
๋‚˜๋ฆ„ ๋Œ€์ฒ˜๋ฅผ ์ž˜ ํ•˜๊ธด ํ–ˆ์Šต๋‹ˆ๋‹ค๋งŒ... ์ง„์งœ DVDํ”Œ๋ ˆ์ด์–ด๊ฐ€ ์ œ๊ฐ€ ํ•œ ์†Œ๋ฆฌ๋ฅผ ๋“ค์—ˆ๋‹ค๋ฉด ์ฝ”๋ฐฉ๊ท€๋ฅผ ๊ผˆ์„ ๊ฒ๋‹ˆ๋‹ค.

ํœด... ;;

์•„๋ฌดํŠผ... ์„ค๋ฌธ์กฐ์‚ฌ๋ฅผ ์ž˜ ํ•ด์•ผ ์•Œ๋งž๋Š” ๋ฌธ์ œ๊ฐ€ ๋‚˜์˜จ๋‹ค๋Š”๊ฑธ ์ฒ ์ €ํ•˜๊ฒŒ ๋Š๋ผ๊ฒŒ ๋˜์—ˆ๊ตฌ์š”...

์‹œํ—˜ ๊ฒฐ๊ณผ๋Š” ์ผ์ฃผ์ผ ํ›„์— ๋‚˜์˜ค์ง€๋งŒ... ์–ด๋–ป๊ฒŒ ๋‚˜์˜ฌ์ง€ ๋ชจ๋ฅด๊ฒ ๋„ค์š”.

์˜คํ”ฝ์‹œํ—˜ ๋ณด์‹œ๋Š”๋ถ„๊ป˜ ๋„์›€์ด ๋˜์—ˆ์œผ๋ฉด ํ•˜๋Š” ๋ฐ”๋žจ์ž…๋‹ˆ๋‹ค.



-- ๋— --

๋ฐ˜์‘ํ˜•

์ด ํฌ์ŠคํŒ…์€ ์ฟ ํŒก ํŒŒํŠธ๋„ˆ์Šค ํ™œ๋™์˜ ์ผํ™˜์œผ๋กœ, ์ด์— ๋”ฐ๋ฅธ ์ผ์ •์•ก์˜ ์ˆ˜์ˆ˜๋ฃŒ๋ฅผ ์ œ๊ณต๋ฐ›์„ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

๋ฐ˜์‘ํ˜•


์ถœ์ฒ˜ : ์œ ๋‹‰์Šค ์‰˜ ๋ฐ”์ด๋ธ” (์—˜๋ฆฌ ํ€ดํด๋ฆฌ ์ง€์Œ)์—์„œ ๋ฐœ์ทŒ.
3.1 grep ๋ช…๋ น์–ด

grep : ํŒŒ์ผ ์ „์ฒด๋ฅผ ๋’ค์ ธ ์ •๊ทœํ‘œํ˜„์‹์— ๋Œ€์‘ํ•˜๋Š” ๋ชจ๋“  ํ–‰๋“ค์„ ์ถœ๋ ฅํ•œ๋‹ค.
egrep : grep์˜ ํ™•์žฅํŒ์œผ๋กœ, ์ถ”๊ฐ€ ์ •๊ทœํ‘œํ˜„์‹ ๋ฉ”ํƒ€๋ฌธ์ž๋“ค์„ ์ง€์›ํ•œ๋‹ค.
fgrep : fixed grep ์ด๋‚˜ fast grep์œผ๋กœ ๋ถˆ๋ฆฌ๋ฉฐ, ๋ชจ๋“  ๋ฌธ์ž๋ฅผ ๋ฌธ์ž ๊ทธ๋ž˜๋„ ์ทจ๊ธ‰ํ•œ๋‹ค. ์ฆ‰, ์ •๊ทœํ‘œํ˜„์‹์˜ ๋ฉ”ํƒ€๋ฌธ์ž๋„ ์ผ๋ฐ˜ ๋ฌธ์ž๋กœ ์ทจ๊ธ‰ํ•œ๋‹ค.

3.2 ์ •๊ทœํ‘œํ˜„์‹์„ ์‚ฌ์šฉํ•˜๋Š” grep์˜ ์˜ˆ์ œ
# grep NW datafile
# grep NW d* (d๋กœ ์‹œ์ž‘ํ•˜๋Š” ๋ชจ๋“  ํŒŒ์ผ์—์„œ NW๋ฅผ ํฌํ•จํ•˜๋Š” ๋ชจ๋“  ํ–‰์„ ์ฐพ๋Š”๋‹ค.)
# grep '^n' datafile (n์œผ๋กœ ์‹œ์ž‘ํ•˜๋Š” ๋ชจ๋“  ํ–‰์„ ์ถœ๋ ฅํ•œ๋‹ค.)
# grep '4$' datafile (4๋กœ ๋๋‚˜๋Š” ๋ชจ๋“  ํ–‰์„ ์ถœ๋ ฅํ•œ๋‹ค.)
# grep TB Savage datafile (TB๋งŒ ์ธ์ž์ด๊ณ  Savage์™€ datafile์€ ํŒŒ์ผ ์ด๋ฆ„์ด๋‹ค.)
# grep 'TB Savage' datafile (TB Savage๋ฅผ ํฌํ•จํ•˜๋Š” ๋ชจ๋“  ํ–‰์„ ์ถœ๋ ฅํ•œ๋‹ค.)
# grep '5.' datafile (์ˆซ์ž 5, ๋งˆ์นจํ‘œ, ์ž„์˜์˜ ํ•œ ๋ฌธ์ž๊ฐ€ ์ˆœ์„œ๋Œ€๋กœ ๋‚˜ํƒ€๋‚˜๋Š” ๋ฌธ์ž์—ด์ด ํฌํ•จ๋œ ํ–‰์„ ์ถœ๋ ฅํ•œ๋‹ค.)
# grep '.5' datafile (.5๊ฐ€ ๋‚˜์˜ค๋Š” ๋ชจ๋“  ํ–‰์„ ์ถœ๋ ฅํ•œ๋‹ค.)
# grep '^[we]' datafile (w๋‚˜ e๋กœ ์‹œ์ž‘ํ•˜๋Š” ๋ชจ๋“  ํ–‰์„ ์ถœ๋ ฅํ•œ๋‹ค.)
# grep '[^0-9]' datafile (์ˆซ์ž๊ฐ€ ์•„๋‹Œ ๋ฌธ์ž๋ฅผ ํ•˜๋‚˜๋ผ๋„ ํฌํ•จํ•˜๋Š” ๋ชจ๋“  ํ–‰์„ ์ถœ๋ ฅํ•œ๋‹ค.)
# grep '[A-Z][A-Z] [A-Z]' datafile (๋Œ€๋ฌธ์ž 2๊ฐœ์™€ ๊ณต๋ฐฑ 1๊ฐœ, ๊ทธ๋ฆฌ๊ณ  ๋Œ€๋ฌธ์ž ํ•˜๋‚˜๊ฐ€ ์—ฐ์ด์–ด ๋‚˜์˜ค๋Š” ๋ฌธ์ž์—ด์ด ํฌํ•จ๋œ ํ–‰์„ ์ถœ๋ ฅํ•œ๋‹ค.)
# grep 'ss* ' datafile (s๊ฐ€ ํ•œ ๋ฒˆ ๋‚˜์˜ค๊ณ , ๋‹ค์‹œ s๊ฐ€ 0๋ฒˆ ๋˜๋Š” ์—ฌ๋Ÿฌ๋ฒˆ ๋‚˜์˜จ ํ›„์— ๊ณต๋ฐฑ์ด ์—ฐ์ด์–ด ๋“ฑ์žฅํ•˜๋Š” ๋ฌธ์ž์—ด์„ ํฌํ•จํ•œ ๋ชจ๋“  ํ–‰์„ ์ถœ๋ ฅํ•œ๋‹ค.)
# grep '[a-z]{9}' datafile (์†Œ๋ฌธ์ž๊ฐ€ 9๋ฒˆ ์ด์ƒ ๋ฐ˜๋ณต๋˜๋Š” ๋ฌธ์ž์—ด์„ ํฌํ•จํ•˜๋Š” ๋ชจ๋“  ํ–‰์„ ์ถœ๋ ฅํ•œ๋‹ค.)
# grep '(3).[0-9].*1 *1' datafile (์ˆซ์ž 3,๋งˆ์นจํ‘œ,์ž„์˜์˜ ํ•œ ์ˆซ์ž,์ž„์˜ ๊ฐœ์ˆ˜์˜ ๋ฌธ์ž,์ˆซ์ž 3(ํƒœ๊ทธ),์ž„์˜ ๊ฐœ์ˆ˜์˜ ํƒญ ๋ฌธ์ž,์ˆซ์ž 3์˜ ์ˆœ์„œ๋ฅผ ๊ฐ–๋Š” ๋ฌธ์ž์—ด์ด ํฌํ•œ๋œ ๋ชจ๋“  ํ–‰์„ ์ถœ๋ ฅํ•œ๋‹ค.)
# grep '
(north๋กœ ์‹œ์ž‘ํ•˜๋Š” ๋‹จ์–ด๊ฐ€ ํฌํ•จ๋œ ๋ชจ๋“  ํ–‰์„ ์ถœ๋ ฅํ•œ๋‹ค.)
# grep '' datafile (north๋ผ๋Š” ๋‹จ์–ด๊ฐ€ ํฌํ•จ๋œ ๋ชจ๋“  ํ–‰์„ ์ถœ๋ ฅํ•œ๋‹ค.)
# grep '<[a-z].*n>' datafile (์†Œ๋ฌธ์ž ํ•˜๋‚˜๋กœ ์‹œ์ž‘ํ•˜๊ณ , ์ด์–ด์„œ ์ž„์˜ ๊ฐœ์ˆ˜์˜ ์—ฌ๋Ÿฌ ๋ฌธ์ž๊ฐ€ ๋‚˜์˜ค๋ฉฐ, n์œผ๋กœ ๋๋‚˜๋Š” ๋‹จ์–ด๊ฐ€ ํฌํ•จ๋œ ๋ชจ๋“  ํ–‰์„ ์ถœ๋ ฅํ•œ๋‹ค. ์—ฌ๊ธฐ์„œ .*๋Š” ๊ณต๋ฐฑ์„ ํฌํ•จํ•œ ์ž„์˜์˜ ๋ฌธ์ž๋“ค์„ ์˜๋ฏธํ•œ๋‹ค.)

3.3 grep์— ์˜ต์…˜ ์‚ฌ์šฉ
# grep -n '^south' datafile (ํ–‰๋ฒˆํ˜ธ๋ฅผ ํ•จ๊ป˜ ์ถœ๋ ฅํ•œ๋‹ค.)
# grep -i 'pat' datafile (๋Œ€์†Œ๋ฌธ์ž๋ฅผ ๊ตฌ๋ณ„ํ•˜์ง€ ์•Š๊ฒŒ ํ•œ๋‹ค.)
# grep -v 'Suan Chin' datafile (๋ฌธ์ž์—ด Suan Chin์ด ํฌํ•จ๋˜์ง€ ์•Š์€ ๋ชจ๋“  ํ–‰์„ ์ถœ๋ ฅํ•˜๊ฒŒ ํ•œ๋‹ค. ์ด ์˜ต์…˜์€ ์ž…๋ ฅ ํŒŒ์ผ์—์„œ ํŠน์ • ๋‚ด์šฉ์˜ ์ž…๋ ฅ์„ ์‚ญ์ œํ•˜๋Š”๋ฐ ์“ฐ์ธ๋‹ค.
# grep -v 'Suan Chin' datafile > black
# mv black datafile
# grep -l 'SE' * (ํŒจํ„ด์ด ์ฐพ์•„์ง„ ํŒŒ์ผ์˜ ํ–‰ ๋ฒˆํ˜ธ ๋Œ€์‹  ๋‹จ์ง€ ํŒŒ์ผ์ด๋ฆ„๋งŒ ์ถœ๋ ฅํ•œ๋‹ค.)
# grep -w 'north' datafile (ํŒจํ„ด์ด ๋‹ค๋ฅธ ๋‹จ์–ด์˜ ์ผ๋ถ€๊ฐ€ ์•„๋‹Œ ํ•˜๋‚˜์˜ ๋‹จ์–ด๊ฐ€ ๋˜๋Š” ๊ฒฝ์šฐ๋งŒ ์ฐพ๋Š”๋‹ค. northwest๋‚˜ northeast ๋“ฑ์˜ ๋‹จ์–ด๊ฐ€ ์•„๋‹ˆ๋ผ, north๋ผ๋Š” ๋‹จ์–ด๊ฐ€ ํฌํ•จ๋œ ํ–‰๋งŒ ์ถœ๋ ฅํ•œ๋‹ค.)
# grep -i "$LOGNAME" datafile (ํ™˜๊ฒฝ๋ณ€์ˆ˜์ธ LOGNAME์˜ ๊ฐ’์„ ๊ฐ€์ง„ ๋ชจ๋“  ํ–‰์„ ์ถœ๋ ฅํ•œ๋‹ค. ๋ณ€์ˆ˜๊ฐ€ ํฐ๋”ฐ์˜ดํ‘œ๋กœ ๋‘˜๋Ÿฌ์‹ธ์—ฌ ์žˆ๋Š” ๊ฒฝ์šฐ, ์‰˜์€ ๋ณ€์ˆ˜์˜ ๊ฐ’์œผ๋กœ ์น˜ํ™˜ํ•œ๋‹ค. ์ž‘์€๋”ฐ์˜ดํ‘œ๋กœ ๋‘˜๋Ÿฌ์‹ธ์—ฌ ์žˆ์œผ๋ฉด ๋ณ€์ˆ˜ ์น˜ํ™˜์ด ์ผ์–ด๋‚˜์ง€ ์•Š๊ณ  ๊ทธ๋ƒฅ $LOGNAME ์ด๋ผ๋Š” ๋ฌธ์ž๋กœ ์ถœ๋ ฅ๋œ๋‹ค.)

3.4 egrep
egrep(extended grep) : grep์—์„œ ์ œ๊ณตํ•˜์ง€ ์•Š๋Š” ํ™•์žฅ๋œ ์ •๊ทœํ‘œํ˜„์‹ ๋ฉ”ํƒ€๋ฌธ์ž๋ฅผ ์ง€์›  ํ•œ๋‹ค. grep์™€ ๋™์ผํ•œ ๋ช…๋ นํ–‰ ์˜ต์…˜์„ ์ง€์›ํ•œ๋‹ค.

3.4.1 egrep ์˜ˆ์ œ
# egrep 'NW|EA' datafile (NW๋‚˜ EA๊ฐ€ ํฌํ•จ๋œ ํ–‰์„ ์ถœ๋ ฅํ•œ๋‹ค.)
# egrep '3+' datafile (์ˆซ์ž 3์ด ํ•œ ๋ฒˆ ์ด์ƒ ๋“ฑ์žฅํ•˜๋Š” ํ–‰์„ ์ถœ๋ ฅํ•œ๋‹ค.)
# egrep '2.?[0-9]' datafile (์ˆซ์ž 2 ๋‹ค์Œ์— ๋งˆ์นจํ‘œ๊ฐ€ ์—†๊ฑฐ๋‚˜ ํ•œ ๋ฒˆ ๋‚˜์˜ค๊ณ , ๋‹ค์‹œ ์ˆซ์ž๊ฐ€ ์˜ค๋Š” ํ–‰์„ ์ถœ๋ ฅํ•œ๋‹ค.)
# egrep ' (no)+' datafile (ํŒจํ„ด no๊ฐ€ ํ•œ ๋ฒˆ ์ด์ƒ ์—ฐ์†ํ•ด์„œ ๋‚˜์˜ค๋Š” ํ–‰์„ ์ถœ๋ ฅํ•œ๋‹ค.)
# egrep 'S(h|u)' datafile (๋ฌธ์ž S ๋‹ค์Œ์— h๋‚˜ u๊ฐ€ ๋‚˜์˜ค๋Š” ํ–‰์„ ์ถœ๋ ฅํ•œ๋‹ค.)
# egrep 'Sh|u' datafile (ํŒจํ„ด Sh๋‚˜ u๋ฅผ ํฌํ•จํ•œ ํ–‰์„ ์ถœ๋ ฅํ•œ๋‹ค.)

3.5 ๊ณ ์ • grep ๊ณผ ๋น ๋ฅธ grep
fgrep : grep ๋ช…๋ น์–ด์™€ ๋™์ผํ•˜๊ฒŒ ๋™์ž‘ํ•œ๋‹ค. ๋‹ค๋งŒ ์ •๊ทœํ‘œํ˜„์‹ ๋ฉ”ํƒ€๋ฌธ์ž๋“ค์„ ํŠน๋ณ„ํ•˜๊ฒŒ ์ทจ๊ธ‰ํ•˜์ง€ ์•Š๋Š”๋‹ค.
# fgrep '[A-Z]****[0-9]..$5.00' file ([A-Z]****[0-9]..$5.00 ์ด ํฌํ•จ๋œ ํ–‰์„ ์ถœ๋ ฅํ•œ๋‹ค. ๋ชจ๋“  ๋ฌธ์ž๋“ค์„ ๋ฌธ์ž ์ž์ฒด๋กœ๋งŒ ์ทจ๊ธ‰ํ•œ๋‹ค.)

๋ฐ˜์‘ํ˜•

์ด ํฌ์ŠคํŒ…์€ ์ฟ ํŒก ํŒŒํŠธ๋„ˆ์Šค ํ™œ๋™์˜ ์ผํ™˜์œผ๋กœ, ์ด์— ๋”ฐ๋ฅธ ์ผ์ •์•ก์˜ ์ˆ˜์ˆ˜๋ฃŒ๋ฅผ ์ œ๊ณต๋ฐ›์„ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

๋ฐ˜์‘ํ˜•
MP3๋ฅผ ๋ฌด๋ฃŒ๋กœ ๊ตฌํ•˜๋Š” ๋ฐฉ๋ฒ•์ด ์žˆ์Šต๋‹ˆ๋‹ค.

๋‹จ, ์™ธ๊ตญ ๊ณก๋งŒ ๊ตฌํ•  ์ˆ˜ ์žˆ๋Š”๋ฐ์š”.
mp3raid.com ์ด๋ผ๋Š” ์‚ฌ์ดํŠธ์ž…๋‹ˆ๋‹ค.
์‚ฌ์ดํŠธ์— ๋“ค์–ด๊ฐ€๋ฉด ๋„ค์ด๋ฒ„ ๋‚˜ ๊ตฌ๊ธ€๊ฐ™์€ ๊ฒ€์ƒ‰์ฐฝ์ด ๋œจ๋Š”๋ฐ



์›ํ•˜๋Š” ๊ณก์„ ๊ฒ€์ƒ‰ํ•˜๋ฉด ํŒŒ์ผ์ด ์žˆ๋Š” ๋ชจ๋“  ํ›„๋ณด ๋ฆฌ์ŠคํŠธ๋ฅผ ๋ณด์—ฌ์ฃผ๊ฒŒ ๋ฉ๋‹ˆ๋‹ค.
"์ฒ˜์Œ"์—๋Š” Capcha๋ผ๋Š” ๋กœ๋ด‡์˜ ์ž๋™ ํฌ๋กค๋ง์„ ํ”ผํ•˜๊ธฐ ์œ„ํ•œ ํ™•์ธ์ฐฝ์— ์•Œ๋งž์€ ์•ŒํŒŒ๋ฒณ์„ ๋„ฃ์–ด์•ผ๋ฉ๋‹ˆ๋‹ค. ( ๋‹ค์Œ๊นŒํŽ˜๊ฐ™์€ ๊ณณ์— ๊ฐ€์ž…ํ•˜๊ธฐ์ „์— ๊ทธ๋ฆผ์— ์žˆ๋Š” ๋’คํ‹€๋ฆฐ ๊ธ€์ž ์ธ์‹ํ•˜์—ฌ ํƒ€์ดํ•‘ ํ•˜๋Š”๊ฑฐ ์•„์‹œ์ฃ  ?^^)
๊ทธ ๋‹ค์Œ๋ถ€ํ„ฐ๋Š” capcha์˜ ์ ˆ์ฐจ์—†์ด ๋ฐ”๋กœ๋ฐ”๋กœ ํ™•์ธ์„ ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.


์Œ์›์ด 30์ดˆ๊ฐ€ ์ง€๋‚˜๊ธฐ์ „์— ๋“ค๋ฆฌ๊ธฐ ์‹œ์ž‘ํ•˜๋ฉด ๋‹ค์šด๋กœ๋“œ ๊ฐ€๋Šฅํ•œ ๊ฒƒ์ด๋ฏ€๋กœ ๋‹ค์šด๋กœ๋“œ๋ฅผ ํด๋ฆญํ•˜๊ฒŒ ๋˜๋ฉด mp3์Œ์›์„ ๋‹ค์šด๋กœ๋“œ ๋ฐ›์„ ์ˆ˜ ์žˆ๊ฒŒ ๋ฉ๋‹ˆ๋‹ค :)



๋ฐ˜์‘ํ˜•

์ด ํฌ์ŠคํŒ…์€ ์ฟ ํŒก ํŒŒํŠธ๋„ˆ์Šค ํ™œ๋™์˜ ์ผํ™˜์œผ๋กœ, ์ด์— ๋”ฐ๋ฅธ ์ผ์ •์•ก์˜ ์ˆ˜์ˆ˜๋ฃŒ๋ฅผ ์ œ๊ณต๋ฐ›์„ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

๋ฐ˜์‘ํ˜•
2008/09/05 ์— ํ’€์—ˆ๋˜ ๋ฌธ์ œ๋„ค์š” :)


#include 
#include 
#include 
#include 
//#include 
//#include 

using namespace std;


set< int > setInteger;

string intToString(int nInput);

//string ํ˜•์„ ๋ฐ›์•„์„œ panDigit์ด ๋˜์—ˆ๋Š”์ง€ ์•„๋‹Œ์ง€ ํ™•์ธ
bool isPanDigit(string x, string y, string strResult);
int main()
{

	int i,j;


	//์ •๋‹ต ์ €์žฅ
	int nResult = 0;


	for( i = 1 ; i <= 100 ;i++ )
	{
		for( j = 1 ; j <= 10000 ;j++ )
		{
			
			// i  j   i*j
			if(isPanDigit(intToString(i),	intToString(j),	intToString(i*j) ) )
			{
				cout << "panDigit ๋ฐœ๊ฒฌ : " << i << " X " << j << " = " << i*j << endl;
				
				setInteger.insert(i*j);
			}
		}

	}

	//for(i = 0 ; i < setInteger.size() ; i++)
	for( set< int > :: iterator it = setInteger.begin() ; it != setInteger.end() ;it++ )
	{
		nResult += (*it);
	}
	cout << "์ค‘๋ณต์š”์†Œ ์ œ๊ฑฐํ•œ ์ •๋‹ต : " << nResult << endl;




	return 0;
}




//int -> string
string intToString(int nInput)
{
	// int ๋ฅผ string ์œผ๋กœ ๋ฐ”๊พธ๊ธฐ ์‹œ์ž‘

	char		szBuf[512];
	sprintf(szBuf,"%d",nInput);
	string		strTemp(szBuf);

	return strTemp;
	// int ๋ฅผ string ์œผ๋กœ ๋ฐ”๊พธ๊ธฐ ๋.
}


//string ํ˜•์„ ๋ฐ›์•„์„œ panDigit์ด ๋˜์—ˆ๋Š”์ง€ ์•„๋‹Œ์ง€ ํ™•์ธ
bool isPanDigit(string x, string y, string strResult)
{
	int i;

	bool bPanDigit[10] = {false};

	// ex) X * Y = result ์ผ๋•Œ X์˜ ๋ฌธ์ž๊ธธ์ด ๋งŒํผ ๊ตฌํ•œํ›„..
	for(i = 0 ; i < x.size() ; i++)
	{
		if(bPanDigit[   x[i]-'0'  ]== true)
		{
			return false;
		}
		bPanDigit[   x[i]-'0'  ] = true; 
	}
	for(i = 0 ; i < y.size() ; i++)
	{
		if(bPanDigit[   y[i]-'0'  ]== true)
		{
			return false;
		}
		bPanDigit[   y[i]-'0'  ] = true; 
	}
	for(i = 0 ; i < strResult.size() ; i++)
	{
		if(bPanDigit[   strResult[i]-'0'  ]== true)
		{
			return false;
		}
		bPanDigit[   strResult[i]-'0'  ] = true; 
	}


	//๋ชจ๋“  ๋ฐฐ์—ด์ด true์ด๋ฉด true ํ•˜๋‚˜๋ผ๋„ false ์ด๋ฉด false
	if(bPanDigit[0] == true)
	{
		return false;
	}
	for(i = 1 ; i < 10 ; i++)
	{
		if( bPanDigit[i] == false )
		{
			return false;
		}
	}

	return true;
	//
}
๋ฐ˜์‘ํ˜•

์ด ํฌ์ŠคํŒ…์€ ์ฟ ํŒก ํŒŒํŠธ๋„ˆ์Šค ํ™œ๋™์˜ ์ผํ™˜์œผ๋กœ, ์ด์— ๋”ฐ๋ฅธ ์ผ์ •์•ก์˜ ์ˆ˜์ˆ˜๋ฃŒ๋ฅผ ์ œ๊ณต๋ฐ›์„ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

๋ฐ˜์‘ํ˜•

grief

I went to Mangwoldong cemetery where the bodies were buried to cover the grieving families' worship on May 18, 1988.

artifact

you see this code artifact here?

comply

If you refuse to comply, the virus will be unleashed.

๊ฑฐ๋ถ€ํ•˜๋ฉด ๋ฐ”์ด๋Ÿฌ์Šค๊ฐ€ ํผ์งˆ๊บผ์•ผ.

evict

they start eviction process

bail

where are they gonna get the money to bail you out of jail, man!
ใ€Šbail+๋ชฉ+์ „+๋ช…ใ€‹ bail a person out of financial trouble โ€ฆ์„ ์žฌ์ • ๊ณค๋ž€์—์„œ ๊ตฌํ•ด๋‚ด๋‹ค

sneak

He sneaked his hand to the pistol

pneumonic

of, pertaining to, or affecting the lungs; pulmonary

ex) pneumonic virus

 

lethal

the infection-to-mortality rate is higher than her estimate. Almost 95% lethal

 

perspire

A: Are you feeling ok?

B: Why?

A: you are perspiring

 

quarantine

it would be great to go over the quarantine protocols first

[์‚ฌ์ „] in[out of] quarantine
: ๊ฒ€์—ญ์ค‘์ธ[๊ฒ€์—ญํ•„์ธ]quarantine
[์‚ฌ์ „] a quarantine officer[station]
: ๊ฒ€์—ญ๊ด€[๊ฒ€์—ญ์†Œ]quarantine
[์‚ฌ์ „] be quarantined
: ๊ฒ€์—ญ์„ ๋ฐ›๋‹ค๊ฒ€์—ญ
[์‚ฌ์ „] be held in quarantine
: ๊ฒ€์—ญ์„ ์œ„ํ•˜์—ฌ ์ž…ํ•ญ[์ƒ๋ฅ™]์„ ๊ธˆ์ง€๋‹นํ•˜๋‹ค๊ฒ€์—ญ
[์‚ฌ์ „] be in quarantine
: ๊ฒ€์—ญ ์ค‘์ด๋‹ค๊ฒ€์—ญ

 

 

interrogate

 Later they will be interrogated on the details.

 

presumptuous [ํ”„๋ฆฌ์ ์Šˆ์–ด์Šค]

๊ฑด๋ฐฉ์ง„

it is very presumptuous of me, ์™ธ๋žŒ๋œ ๋ง์”€์ด์˜ค๋‚˜.

 

imprudent

It is very imprudent of you to say so. ๊ทธ๋Ÿฐ๋ง์„ ํ•˜๋‹ค๋‹ˆ ๊ฑด๋ฐฉ์ง€๊ตฌ๋‚˜.

์ด ๊ธ€์€ ์Šคํ”„๋ง๋…ธํŠธ์—์„œ ์ž‘์„ฑ๋˜์—ˆ์Šต๋‹ˆ๋‹ค.

๋ฐ˜์‘ํ˜•

์ด ํฌ์ŠคํŒ…์€ ์ฟ ํŒก ํŒŒํŠธ๋„ˆ์Šค ํ™œ๋™์˜ ์ผํ™˜์œผ๋กœ, ์ด์— ๋”ฐ๋ฅธ ์ผ์ •์•ก์˜ ์ˆ˜์ˆ˜๋ฃŒ๋ฅผ ์ œ๊ณต๋ฐ›์„ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

๋ฐ˜์‘ํ˜•
_M#]

๋ฌผ๋ก ... ๋ฌธ๋งฅ์ด ์ค‘์š”ํ•˜๋‹ค.

๋Œ€๋œธ We're on this... ๋ผ๊ณ  ๋งํ•˜๋ฉด... ์ €๋ ‡๊ฒŒ ์•Œ์•„๋จน๋Š” ์‚ฌ๋žŒ์ด ๋ช‡์ด๋‚˜ ๋ ๋ ค๋‚˜...?


"THE CONTEXT" is important.


๋Œ€์‚ฌ : Look...uh....WE'RE ON THIS so was the Boston PD...



English, the other Language in our point of view, There are tons of things that we gotta study.
To image in your brain, you might be able to easily and intuitively understand what they're trying to say.
When you hear FBI investigator's saying, you can just draw an image as he just says.
If you roughly translate from what you heard into English, it might be little bit strange and it would be the thing you have to fix and decorate with other vocabulary.I don't know if this gonna be appropriate examples of what I'm trying to say, however, you also might've felt same way.

"TAKE", "PUT" this sort of verbs are really bothering English learner because of its variety of meaning with other prepositions(phrasal verb).When I was a highschool student, I read a book who is written by "Kim Ki ho" whose idea was almost identical to mine.(and there was plus ALPHA of it).At that moment I decided to accept English by itself and I began to practice drawing some images of vocabulary and situations.

I would like to post more examples....
Somehow I insist that you have to perceive the ultimate nuance of Enlish rather than just translate it.


Thank you. kkkk




์˜์–ด๋Š” ์ฐธ... ๊ณต๋ถ€ํ•˜๊ณ  ๊ณต๋ถ€ํ•˜๊ณ  ๊ณต๋ถ€ํ•ด๋„ ์ด ๋‹จ์–ด๊ฐ€ ์ €๋Ÿฐ ๋œป ์š”๋Ÿฐ ๋œป ๊ณ ๋Ÿฐ ๋œป....

์™ธ์›Œ์•ผ ํ• ๊ฒƒ๋„ ๋งŽ๊ณ .... ์ƒํ™ฉ์— ๋”ฐ๋ผ ๋„ˆ๋ฌด๋„ˆ๋ฌด ๋œป์ด ๋งŽ์ด๋งŽ์ด ๋‹ฌ๋ผ์ง„๋‹ค.

์ข€ ๋น„ํšจ์œจ์ ์ด๊ธด ํ•˜์ง€๋งŒ... ๊ธ€์ž ์ž์ฒด๋Š” ์•„์ฃผ ์„ ํ˜•์ ์ด์ง€ ์•Š์€๊ฐ€?

์ด๋ฏธ์ง€๋ฅผ ๋จธ๋ฆฟ์†์— ๊ทธ๋ ค ์ดํ•ดํ•˜๋ฉด ์ข€ ๋” ์ง๊ด€์ ์œผ๋กœ ๋ณต์žกํ•œ ํ•ด์„์—†์ด ์ดํ•ดํ•  ์ˆ˜ ์žˆ๋‹ค.

์ € FBI์š”์›์ด We're on this ๋ผ๊ณ  ๋งํ–ˆ์„ ๋•Œ ๊ทธ๋ƒฅ ์˜๋ฏธ ๊ทธ๋Œ€๋กœ ๋จธ๋ฆฟ์†์— ๊ทธ๋ ค๋ณด๋ฉด ๋œ๋‹ค.

์šฐ๋ฆฌ๋ง๋กœ ํ•ด์„ํ•˜๋ฉด ๋ญ”๊ฐ€ ์ด์ƒํ•ด์ง€๊ณ  ์ข€ ๋‹ค๋“ฌ์–ด์•ผ ๋ง์ด ๋  ๋ฒ•ํ•œ ๊ฒƒ๋“ค์ด ๋งŽ๋‹ค.

๋ฌผ๋ก  ๋‚ด๊ฐ€ ์ง€๊ธˆ ํฌ์ŠคํŒ…ํ•˜๋Š” ๊ฒƒ์ด ์ด๋Ÿฐ ๋ง์„ ํ•˜๋Š”๋ฐ ์ ์ ˆํ•œ ์˜ˆ๊ฐ€ ๋  ์ง€๋Š” ๋ชจ๋ฅด๊ฒ ์ง€๋งŒ,

์˜์–ด๊ณต๋ถ€๋ฅผ ํ•ด๋ณด๋ฉด ๋งŽ์ด ๋Š๋‚„๊ฒƒ์ด๋‹ค. take, put... ์ด๋Ÿฐ๋™์‚ฌ๋“ค... ์–ผ๋งˆ๋‚˜ ์˜์–ดํ•™์Šต์ž๋ฅผ ๊ดด๋กญํžˆ๋‚˜?

๋’ค์— ์ˆ˜์‹ญ๊ฐœ์˜ ์ „์น˜์‚ฌ๊ฐ€ ๋ถ™์–ด ๋˜ ๋‹ค๋ฅธ ์˜๋ฏธ๋ฅผ ๋งŒ๋“ค์–ด๋‚ด๊ณ ....


๋‚ด๊ฐ€ ๊ณ ๋“ฑํ•™๊ต๋•Œ ๊น€๊ธฐํ˜ธ์”จ๊ฐ€ ์“ด ์˜์–ด? ์ด์ œ ๊ทธ๊ฑธ ๋’ค๋ฒผ์ฃผ๋งˆ๋ž€ ์ฑ…์„ ์ฝ๊ณ (์ €์ž์˜ ์ƒ๊ฐ์ด

๋‚˜์˜ ์ƒ๊ฐ๊ณผ ๋„ˆ๋ฌด๋‚˜ ํก์‚ฌํ–ˆ๊ณ  +์•ŒํŒŒ๊ฐ€ ์žˆ์—ˆ๋‹ค.) "์˜์–ด์ž์ฒด"๋ฅผ ๋ฐ›์•„๋“ค์ด๊ธฐ๋กœ ๋งˆ์Œ๋จน๊ณ  (ํ•œ๊ธ€์—†์ด)

๋จธ๋ฆฟ์†์— ๊ทธ๋ฆผ์„ ๋งŽ์ด ๊ทธ๋ฆฌ๋Š” ์—ฐ์Šต์„ ํ–ˆ๋Š”๋ฐ ์ƒ๋‹นํ•œ ๋„์›€์ด ๋˜๋Š”๊ฒƒ ๊ฐ™๋‹ค.(์•„๋ž˜์™€ ๊ฐ™์ด...)


๋ญ ์•ž์œผ๋กœ ์‹œ๊ฐ„๋‚˜๋Š” ๋Œ€๋กœ ๋” ๋งŽ์€ ์˜ˆ๋ฅผ ์˜ฌ๋ฆฌ๊ณ  ์‹ถ์ง€๋งŒ...

์•„๋ฌดํŠผ... ์˜์–ด(์˜์–ด๋ฟ ์•„๋‹ˆ๋ผ ์–ธ์–ดํ•™์Šต์— ์žˆ์–ด์„œ..)๋Š” ๊ทธ ์ž์ฒด๋กœ ๋ฐ›์•„๋“ค์—ฌ์•ผ์ง€ ์ž๊พธ ์šฐ๋ฆฌ๋ง๋กœ ๋ฒˆ์—ญํ•ด์„œ๋Š” ์•ˆ ๋ ๊ฒƒ ๊ฐ™๋‹ค.(ํ•™์Šต์ž์˜ ์ž…์žฅ์—์„œ..)



๋ฐ˜์‘ํ˜•

์ด ํฌ์ŠคํŒ…์€ ์ฟ ํŒก ํŒŒํŠธ๋„ˆ์Šค ํ™œ๋™์˜ ์ผํ™˜์œผ๋กœ, ์ด์— ๋”ฐ๋ฅธ ์ผ์ •์•ก์˜ ์ˆ˜์ˆ˜๋ฃŒ๋ฅผ ์ œ๊ณต๋ฐ›์„ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

๋ฐ˜์‘ํ˜•

Lucene QueryParser ๋ฌธ๋ฒ• ์ •๋ฆฌ

์ž‘์„ฑ์ž : ALEX PARK

์ž‘์„ฑ์ผ : 2009/01/30 15:18:59

 

์ฟผ๋ฆฌํŒŒ์„œ๋กœ ์ฟผ๋ฆฌ ๋งŒ๋“ค๊ธฐ

 

 

  1. Query query = QueryParser.parse(String query, String field, Analyzer analyzer);
  • ์ฟผ๋ฆฌํŒŒ์„œ๋ฅผ ์ƒ์„ฑํ•  ๋•Œ ํŒŒ๋ผ๋ฏธํ„ฐ๋กœ "์ฟผ๋ฆฌ", "๊ธฐ๋ณธํ•„๋“œ", "๋ถ„์„๊ธฐ" ๋ฅผ ์ง€์ •ํ•ด์ค€๋‹ค.
  • ๊ฒ€์ƒ‰ ์‹œ ํ•„๋“œ์ง€์ •(ํ•„๋“œ:ํ…์ŠคํŠธ ์˜ ํ˜•์‹)์„ ํ•ด์ฃผ์ง€ ์•Š์œผ๋ฉด "๊ธฐ๋ณธํ•„๋“œ"์—์„œ ๊ฒ€์ƒ‰ํ•œ๋‹ค.

 

 

ํ•„๋“œ ์ง€์ •

 

title๊ณผ text๋ผ๋Š” ์ด๋ฆ„์˜ ๋‘ ํ•„๋“œ๊ฐ€ ์žˆ๋‹ค๊ณ  ๊ฐ€์ •ํ•˜์ž.

๊ทธ๋ฆฌ๊ณ  ์•„๋ž˜์™€ ๊ฐ™์ด "๊ธฐ๋ณธํ•„๋“œ"๋ฅผ text๋กœ ์„ค์ •ํ•œ ๋‹ค์Œ,

  1. Query query = QueryParser.parse(query, "text", analyzer);

 

query1) title:"The right way" AND text: go

--> titleํ•„๋“œ์—์„œ "The right way" ๋ผ๋Š” ํ…์ŠคํŠธ ์™€ text ํ•„๋“œ์—์„œ go ๋ผ๋Š” ํ…์ŠคํŠธ๋ฅผ ๊ฒ€์ƒ‰.

query2) title:"The right way" AND go

--> query1๊ณผ ๊ฐ™์€ ๋ฌธ์žฅ์ด๋ฉฐ, text๋Š” ๊ธฐ๋ณธํ•„๋“œ์ด๊ธฐ ๋•Œ๋ฌธ์— ํ•„๋“œ์ง€์ •์ž๋ฅผ ์„ค์ •ํ•˜์ง€ ์•Š์•„๋„ ๋œ๋‹ค.

query3) title:The right way

--> titleํ•„๋“œ์—์„œ The๋ฅผ ์ฐพ๊ณ  ๊ธฐ๋ณธํ•„๋“œ(text)์—์„œ right์™€ way๋ฅผ ์ฐพ๋Š”๋‹ค.

 

ํ…€ ์ˆ˜์ •์ž

 

  • ์™€์ผ๋“œ์นด๋“œ ๊ฒ€์ƒ‰

    • ?, * ๊ฐ€ ์“ฐ์ž„
            ? : ํ•œ ๋ฌธ์ž๋ฅผ ๋Œ€์ฒดํ•  ์ˆ˜ ์žˆ์Œ
               ex) te?t           ===> test, text๋“ฑ์ด ๊ฒ€์ƒ‰๋จ
            * : ์—ฌ๋Ÿฌ ๋ฌธ์ž๋ฅผ ๋Œ€์ฒดํ•  ์ˆ˜ ์žˆ์Œ
               ex) test*         ===> tester, tested, testing ๋“ฑ์ด ๊ฒ€์ƒ‰๋จ
      * ์ฒซ ๊ธ€์ž๋Š” ?, *๋ฅผ ์ง€์ •ํ•  ์ˆ˜ ์—†๋‹ค.

       

  • ํผ์ง€ ๊ฒ€์ƒ‰
       tilde '~' ๊ฐ€ ์“ฐ์ž„
       ex> roam~        ===> foam, roar ๋“ฑ์ด ๊ฒ€์ƒ‰๋  ์ˆ˜ ์žˆ์Œ
    ์‹ค์ œ์‚ฌ์šฉํ™”๋ฉด)
    dangguk.bmp
     ์‘์šฉํ•˜๋ฉด ์•„๋ž˜์™€ ๊ฐ™์€ ๊ธฐ๋Šฅ์„ ์“ธ ์ˆ˜ ์žˆ๊ฒ ์ฃ  ^^
    obama.bmp
  • ๊ทผ์ ‘ ๊ฒ€์ƒ‰
         ex>   10๋‹จ์–ด ๋‚ด์— jakarta์™€ apache๋ฅผ ๊ฒ€์ƒ‰ํ•˜๊ณ  ์‹ถ๋‹ค๋ฉด..?
                "jakarta apache"~10
  • ๋ฒ”์œ„ ๊ฒ€์ƒ‰

    • [],{} ์„ ์‚ฌ์šฉ (์ž๋ฃŒ๋“ค์„ ์‚ฌ์ „์‹์œผ๋กœ ์ •๋ ฌํ•œ ํ›„ retrievalํ•จ)
      ex> mod_date:[20020101 TO 20030101]    ===> 20020101๋ถ€ํ„ฐ 20030101๊นŒ์ง€ (ํ•ด๋‹น๋‚ ์งœ ํฌํ•จ)
      ex> title:(Aida TO Carmen)      ===> Aida์™€ Carmen์‚ฌ์ด์˜ ๊ฒƒ๋“ค (ํ•ด๋‹น๋ฌธ์ž์—ด ๋ฏธํฌํ•จ)
  • ๊ฐ€์ค‘์น˜ ๊ฒ€์ƒ‰

    • jakarta์™€ apache๋ฅผ ๊ฒ€์ƒ‰ํ•˜๋Š”๋ฐ jakarta์ชฝ์— ๋” ๋น„์ค‘์„ ๋‘๊ณ  ์‹ถ๋‹ค?

      ex> jakarta^4 apache
      "inervit db"^4 "oracle db" ์™€ ๊ฐ™์ด Phrase Term์—๋„ ์ ์šฉ๊ฐ€๋Šฅ

    • ๊ฐ€์ค‘์น˜๋Š” ๊ธฐ๋ณธ์ด 1์ด๋ฉฐ, ์–‘์ˆ˜์ด์–ด์•ผ ํ•˜๋ฉฐ 0.2์™€ ๊ฐ™์ด ์†Œ์ˆ˜๋กœ๋„ ์ง€์ • ๊ฐ€๋Šฅํ•˜๋‹ค.

 

๋ถˆ๋ฆฐ ์—ฐ์‚ฐ

 

"ํ…€"๋“ค์„ ๋…ผ๋ฆฌ์ ์œผ๋กœ ์กฐํ•ฉํ•˜์—ฌ ๊ฒ€์ƒ‰ํ•˜๊ธฐ ์œ„ํ•œ ๊ฒƒ.

AND, +, OR, NOT, - ์ด ์žˆ๋‹ค. (๋Œ€๋ฌธ์ž์ž„์„ ์ฃผ์˜!)

  • OR
    jakarta ๋˜๋Š” apache๊ฐ€ ์žˆ๋Š” ๋ฌธ์„œ๋ฅผ ๊ฒ€์ƒ‰ํ•˜๋ ค๋ฉด?

    ===>jakarta OR apache

  • AND
    jakarta ์™€ apache๊ฐ€ ๊ฐ™์ด ์žˆ๋Š” ๋ฌธ์„œ๋ฅผ ๊ฒ€์ƒ‰ํ•˜๋ ค๋ฉด?
    ===> jakarta OR apache

  • +
    jakarta๋Š” ๊ผญ ์กด์žฌํ•˜๋ฉฐ apache๋Š” ์กด์žฌํ•  ์ˆ˜ ๋„ ์žˆ๋Š” ๋ฌธ์„œ๋ฅผ ๊ฒ€์ƒ‰ํ•˜๋ ค๋ฉด?
    ===> +jakarta apache

  • NOT
    "jakarta apache"๋Š” ํฌํ•จํ•˜์ง€๋งŒ "jakarta lucene"์€ ํฌํ•จํ•˜์ง€ ์•Š๋Š” ๋ฌธ์„œ๋ฅผ ๊ฒ€์ƒ‰ํ•˜๋ ค๋ฉด?
    ===> "jakarta apache" NOT "jakarta lucene"

  • -
    "jakarta apache"๋Š” ํฌํ•จํ•˜์ง€๋งŒ "jakarta lucene"์€ ํฌํ•จํ•˜์ง€ ์•Š๋Š” ๋ฌธ์„œ๋ฅผ ๊ฒ€์ƒ‰ํ•˜๋ ค๋ฉด?
    ===> "jakarta apache" - "jakarta lucene"

 

๊ทธ๋ฃนํ™”

 

๋ฃจ์”ฌ์—์„œ "์ ˆ"๋“ค์„ "์„œ๋ธŒ์ฟผ๋ฆฌ"๋กœ ๋งŒ๋“ค๊ธฐ ์œ„ํ•ด ()๋ฅผ ์ด์šฉํ•œ๋‹ค.
๋‹ค์Œ๊ณผ ๊ฐ™์ด ์“ธ ์ˆ˜ ์žˆ๋‹ค.
ex> (jakarta OR apache) AND website

์•„๋ž˜์™€ ๊ฐ™์ด ํ•„๋“œ ๊ทธ๋ฃนํ™”๋„ ๋œ๋‹ค.
ex> title:(+return +"pink partner")             ====> ()์•ˆ์— ์žˆ๋Š”๊ฒƒ์„ title์˜ ํ•„๋“œ์—์„œ ์ฐพ์Œ.

Escape ํŠน์ˆ˜ ๋ฌธ์ž

   +-&&|!()[]^"~*?:\ ์ฒ˜๋Ÿผ ํ…€์ˆ˜์ •์ž๋‚˜ ๋ถˆ๋ฆฐ์ฟผ๋ฆฌ ๋“ฑ๋“ฑ์„ ์‚ฌ์šฉํ•˜๊ธฐ ์œ„ํ•ด ์“ฐ๋Š” ๋ฌธ์ž์—ด๋“ค์€ \๋ฅผ ํ†ตํ•ด ํ‘œํ˜„
   ํ•  ์ˆ˜ ์žˆ๋‹ค.
   (1+1):2 ๋ฅผ ๊ฒ€์ƒ‰ํ• ๋ ค๋ฉด ๋‹ค์Œ๊ณผ ๊ฐ™์ด ์“ฐ๋ฉด ๋œ๋‹ค.
   ex> \(1\+1\)\:2

์ด ๊ธ€์€ ์Šคํ”„๋ง๋…ธํŠธ์—์„œ ์ž‘์„ฑ๋˜์—ˆ์Šต๋‹ˆ๋‹ค.

๋ฐ˜์‘ํ˜•

+ Recent posts