rewrite moedict parser; imporve performance