write embedict doc