2008/05/16

OnlineDic supports word list now!

onlinedic_word_list (by plateaukao)

it's awkwardly implemented yesterday. The word list support was not considered in the original design of Dict module so it's hard to find a place to fit it in.

Finally, I decided to add a default function for Dict base class: get_word_list(). Currently, this new feature is only supported for dictionary files with stardict format .

After calling match() from FileDB in stardict module, it will not only return the word explanation, but also provide a list of words that are before and after current word.

When the MainWindow receives SearchDone event, it will upate the left side panel if word list is available. If not, the word list panel won't be displayed.

沒有留言:

張貼留言

中國 App 商業模式 -- 王泌

很有系統地介紹了中國近幾年比較大的幾十個 app,包含他們主要的商業模式,投資者,和特色在哪裡。對於想要了解中國 App (網路服務) 市場的人來說,會是個很好的入門書。雖然已經是兩三年前的資料了,這兩三年又有了很大的變化,但依然是個很好的起點。