silpa-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [silpa-discuss] Re: Optimization idea


From: JAGANADH G
Subject: Re: [silpa-discuss] Re: Optimization idea
Date: Sat, 24 Apr 2010 23:31:10 +0530



On Sat, Apr 24, 2010 at 11:05 PM, Vasudev Kamath <address@hidden> wrote:
Ok then let me summarize our discussion
1. Dictionary files will have a index file containing alphabets and line number
for the words with that alphabets begin. (Assumption dictionary will have each
words in seperate lines) Doubt- Will there be a single index file containing
information on all dictionaries or multiple?
2. Format of the index file
    a=1
    b=2000
    .....
3. How file will be saved? normal file or python pickles
4. A generic python program for  generating this index file should be written.

Once the index file is created how it will be used with in the silpa?..
Currently when train is called if not already read the dictionary file is
completely read and placed in the dictionary with langauge as key. What about
the new approach ?

If the format for index file is same as i mentioned in point 2 i'll start
working on index file creation script. Let me know if there is any changes in
the points i mentioned above.


I was not fully following the discussion . But frm what ever I followed I am giving the comment.

The indexing method which discussed here is found very effective in my experience. In a commercial(?) project we used the same technique to speed-up the bilingual dictionary search


--
**********************************
JAGANADH G
http://jaganadhg.freeflux.net/blog


reply via email to

[Prev in Thread] Current Thread [Next in Thread]