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 | |
Breakthrougt | 1 | 0 | 0 | 0 |
Drug | 1 | 1 | 0 | 0 |
For | 1 | 0 | 1 | 1 |
Schizophenia | 1 | 1 | 1 | 1 |
New | 0 | 1 | 1 | 1 |
Approach | 0 | 0 | 1 | 0 |
Treatment | 0 | 0 | 1 | 0 |
Of | 0 | 0 | 1 | 0 |
Hopes | 0 | 0 | 0 | 1 |
Patients | 0 | 0 | 0 | 1 |
b. Gambar reperesentasi index sesuai dengan dokumen di atas
1.7 (tangerine OR trees) AND (Marmalade OR Skies) AND (Kaleidoscope OR Eyes)Term | |
Eyes | 213312 |
Kaleidoscope | 87009 |
Marmalade | 107913 |
Skies | 271658 |
Tangerine | 46653 |
Trees | 316812 |
1.10 Intersect (< t1,...,tn>)
1. terms « Sort By Increasing Frequency
2. result « Postings (first(terms))
3. terms « Rest (terms)
4. while terms ≠ Nil OR result ≠ Nil
5. do result « INTERSECT (result, postings (first(terms))
6. terms « Rest (terms)
7. returns result
Perbandingan Query boolean antara google dan yahoo.
Tidak ada komentar:
Posting Komentar