build index file of wiki dict