add code complier of generate dict from raw