Hello all,
I was wondering what the fastest way is to search in the CCDICT-file.
In PHP I now use a "less xx | grep xx" performed by bash. But how would one do it in PHP ? it might come in handy for cedict and the unicode unihan database who are also all large flat text files
thanks
search trough CCDICT
Re: search trough CCDICT
I don't have any experience with searching through text files. You might however import them in a database. PHP has great database support.
Regards
Regards
Re: search trough CCDICT
i want to use flat-text files that makes it easer for people who don't have database-access to use my code. But since CCDICT is a 6MB text file, it's kind of heavy to load it in an array ...