.LM File Extension

Language Model File

Developer Microsoft
4.0  |  9 Votes

What is an LM file?

An LM file is a language model file used by Microsoft Windows and Microsoft applications. It contains statistical data used to show predictive text in Windows and Microsoft applications. LM files may also be saved with the .lm1 and .lm2 extensions.

More Information

Certain Microsoft applications, such as Microsoft Word, Microsoft Edge, and Microsoft Notepad, can be configured to show predictive text to users as they type within those apps. In order to show predictive text to users, these applications reference LM files that contain language model data. LM files can be found in the following directories:

  • C:/​Windows/​Globalization/​ELS/​SpellDictionaries/​Fluency/​en-US
  • C:/​Windows/​InputMethod/​CHS

Language model data is used to determine what the next word (or emoji) in a sequence is likely to be, given the words the sequence already contains. For example, a good language model would predict that the next word in the sentence "Microsoft develops the Windows operating" will be "system." By default, Windows includes four LM files, the first three of which are used to show predictive text and emoji suggestions when a user types in U.S. English:

  • en_US.lm
  • en_US_word_c.lm1
  • emoji_bg_c.lm2
  • ChsPinyin.lm

How to open an LM file

LM files are Windows system files and are not meant to be opened. If you want to enable predictive text within Windows, open the Start Menu and select Settings → Devices → Typing. Then, toggle the settings that start with Show text suggestions ... and Show text predictions ... to On.

Open over 400 file formats with File Viewer Plus.Free Download

Programs that open or reference LM files

Not meant to be opened

Verified by FileInfo.com

The FileInfo.com team has independently researched the Language Model file format and Windows apps listed on this page. Our goal is 100% accuracy and we only publish information about file types that we have verified.

If you would like to suggest any additions or updates to this page, please let us know.