Obvious optimizations for update-lm.
Save traversal in finalize-lm.
Should be :utf-8.