Bandingkan Dokumen di bawah ini
- Doc 1 : breathrough drug for schizophrenia
- Doc 2 : new schizophrenia drug
- Doc 3 : new approach for treatment of schizophrenia
- Doc 4 : new hopes for schizophrenia patients
a. Gambar matriks kata-kata yang berhubungan dengan dokumen di atas
| Doc 1 | Doc 2 | Doc 3 | Doc 4 |
Approuch | 0 | 0 | 1 | 0 |
Breakthrough | 1 | 0 | 0 | 0 |
Drug | 1 | 1 | 0 | 0 |
For | 1 | 0 | 1 | 1 |
Hopes | 0 | 0 | 0 | 1 |
New | 0 | 1 | 1 | 1 |
Of | 0 | 0 | 1 | 0 |
Patients | 0 | 0 | 0 | 1 |
Schizophrenia | 1 | 1 | 1 | 1 |
Treatment | 0 | 0 | 1 | 0 |
b. Gambar reperesentasi index sesuai dengan dokumen di atas
Term | Doc ID |
Breakthrough | 1 |
Drug | 1 |
For | 1 |
Schizophrenia | 1 |
New | 2 |
Schizophrenia | 2 |
Drug | 2 |
New | 3 |
Approach | 3 |
For | 3 |
Treatment | 3 |
Of | 3 |
Schizophrenia | 3 |
New | 4 |
Hopes | 4 |
For | 4 |
Schizophrenia | 4 |
Patients | 4 |
Term | Doc ID |
Approach | 3 |
Breakthrough | 1 |
Drug | 1 |
Drug | 2 |
For | 1 |
For | 3 |
For | 4 |
Hopes | 4 |
New | 2 |
New | 3 |
New | 4 |
Of | 3 |
Patients | 4 |
Schizophrenia | 1 |
Schizophrenia | 2 |
Schizophrenia | 3 |
Schizophrenia | 4 |
Treatment | 3 |
Term | Doc. Freg |
Approach | 1 |
Breakthrough | 1 |
Drug | 2 |
For | 3 |
Hopes | 4 |
New | 3 |
Of | 1 |
Patients | 1 |
Schizophrenia | 4 |
Treatment | 1 |

Exercise 1.7
Rekomendasikan pemrosesan order query untuk (tangerine OR tress) AND (marmalade OR skies) AND (kaleidoscope OR eyes) apabila hasil daftar posting yang diketahui sebagai berikut:
(tangerine OR trees) AND (marmalade OR skies) AND (kaleidoscope OR eyes)
Term Postings size
eyes 213312
kaleidoscope 87009
marmalade 107913
skies 271658
tangerine 46653
trees 316812
(tangerine OR trees) AND (marmalade OR skies) AND (kaleidoscope OR eyes)
maka hasilnya trees AND skies AND eyes
exercise 1. 10
INTERSECT (X,Y)
Answer ¬ ( )
While x ≠ NIL OR y ≠ NIL
Do if doc 10 (x) = doc 10 (y)
Then ADD (answer, doc 10 (x))
X ¬ next (x)
Y ¬ next (y)
Perbandingan Query Boolean Google dengan Yahoo
CONTOH QUERY BOOLEAN
Tidak ada komentar:
Posting Komentar