Hi all!
I have text file (english-croatian dictionary) with words in it in alphabetical
order.
This file contains 179999 words in this format:
english word: croatian word
I want to make instant search for my gui
Instant search, i mean that my program search words and show words to user as
user type letters.
yes, it needs to be fast
Can someone give me some points (approaches) how to make this
Should i make indexes and go with file.seek
or should breake dictionary in peaces and put words that start with a in one and
with b in another...
?????
So if i have this words
absinth:pelin
absinthe:pelin
absolute:apsolu tan
absolute:apsolu tni kod
absolute:apsolu tno
absolute:čist
absolute:nesumn jiv
absolute:potpun
absolute:savrše n
absolute coordinates:aps olutne koordinate
absolute frequency:apsol utna učestalost
absolute gap:apsolutni jaz
absolute line spacing:apsolut ni međurazmak linija
absolute majority:apsolu tna većina
absolute pointing device:apsolutn i pokazivački uređaj
absolute quantity:apsolu tni udio
absolute value:apsolutna vrijednost
absolute zero:apsolutna nula
absolutely:apso lutno
absolutely:bezu vjetno
absolutely:neza visno
absolutely:potp uno
absolutely:samo stalno
absolutely:sasv im
absolution:odrj ešenje
absolution:opro štaj
absolutism:apso lutizam
absolve:odriješ iti
absolve:oslobod iti
absorb:absorbir ati
absorb:apsorbir ati
absorb:crpsti
if user type: "abs" program should list all words above in english and in croatian
if user type: "absorb" than program should list last 3 words in english and in
croatian
any help would be appreciate!
my apologies for bad english
I have text file (english-croatian dictionary) with words in it in alphabetical
order.
This file contains 179999 words in this format:
english word: croatian word
I want to make instant search for my gui
Instant search, i mean that my program search words and show words to user as
user type letters.
yes, it needs to be fast
Can someone give me some points (approaches) how to make this
Should i make indexes and go with file.seek
or should breake dictionary in peaces and put words that start with a in one and
with b in another...
?????
So if i have this words
absinth:pelin
absinthe:pelin
absolute:apsolu tan
absolute:apsolu tni kod
absolute:apsolu tno
absolute:čist
absolute:nesumn jiv
absolute:potpun
absolute:savrše n
absolute coordinates:aps olutne koordinate
absolute frequency:apsol utna učestalost
absolute gap:apsolutni jaz
absolute line spacing:apsolut ni međurazmak linija
absolute majority:apsolu tna većina
absolute pointing device:apsolutn i pokazivački uređaj
absolute quantity:apsolu tni udio
absolute value:apsolutna vrijednost
absolute zero:apsolutna nula
absolutely:apso lutno
absolutely:bezu vjetno
absolutely:neza visno
absolutely:potp uno
absolutely:samo stalno
absolutely:sasv im
absolution:odrj ešenje
absolution:opro štaj
absolutism:apso lutizam
absolve:odriješ iti
absolve:oslobod iti
absorb:absorbir ati
absorb:apsorbir ati
absorb:crpsti
if user type: "abs" program should list all words above in english and in croatian
if user type: "absorb" than program should list last 3 words in english and in
croatian
any help would be appreciate!
my apologies for bad english
Comment