Professional Documents
Culture Documents
- Ikhsan Fadly
Kelas : 01 MKMI 002
Mata Kuliah : Information Retrieval
Nama Dosen : Dr. Sudarno, DEA
1. Try the the following queries on at least three search engines here, and answer the
questions.
Search for 'krombi'.
- How many documents have you found?
- Is there a ranking of the documents retrieved?
Jawaban :
Mencari krombi dengan menggunakan tiga search engines :
Search Banyak Global Rank
No. Top Result
Engine Dokumen (Alexa Rank)
1 Google 63.600 https://alatmusikindonesia.com/alat- 492.876
musik-tradisional-papua
2 Yahoo 45.300 www.youtube.com/watch?v=KYbP9 2
01iq5Q
3 Bing 13.500 kekunaan.blogspot.com/2012/08/alat- 4.256.914
musik-tradisional-papua.html
Menurut kami, search engine yang paling baik adalah google karena :
- Mengakses sebuah informasi dengan cepat
- Fitur canggih
- Terdapat cache
2. Consider these documents:
Doc 1 : breakthrough drug for schizophrenia
Doc 2 : new schizophrenia drug
Doc 3 : new approach for treatment of schizophrenia
Doc 4 : new hopes for schizophrenia patients
1. Draw the term-document incidence matrix for this document collection.
2. Draw the inverted index representation for this collection.
3. what are the returned results for these queries:
- schizophrenia AND drug
- for schizophrenia AND NOT(drug OR approach)
Jawaban :
1. Menggambar term-document incidence matrix
DOC 1 DOC 2 DOC 3 DOC 4
Approach 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
Which document(s) (if any) match each of the following queries where each expression
within quotes is a phrase query?
“fools rush in”
Jawaban :
Lihat interval kata diatas, karena hanya satu interval, maka kita cari pada setiap dokumen
yang katanya berurut :
DOC 2 : Position 1
DOC 4 : Position 8
DOC 7 : Position 3 dan Position 13
4. Compute the Levenshtein matrix for the distance between the strings “apoemfel” and
“poems” .
Jawaban :
NULL P O E M S
NULL 0 1 2 3 4 5
A 1 1 2 3 4 5
P 2 1 2 3 4 5
O 3 2 1 2 3 4
E 4 3 2 1 2 3
M 5 4 3 2 1 2
F 6 5 4 3 2 2
E 7 6 5 4 3 3
L 8 7 6 5 4 4
Replace
P O E M S
5. What key(s) would one do the lookup on, if you wanted to search for these words s*ng in
a permuterm wildcard index?
a. Spe*
b. *ful
c. s*ng
Jawaban :
Putar wildcard query sehingga * ada di ujung string
a. spe*
pe*$s
e*$sp
*$spe
$spe*
b. *ful
ful$*
c. s*ng
*ng$s
Ng$s*