Should I say "a LSM-tree" or "an LSM-tree"? [duplicate]

The "LSM-tree" is an acronym term for "Log-Structured Merge Tree".

I wrote "a LSM-tree", but Grammarly keeps reminding me it should be "an LSM-tree".

What is the reason for this?


This depends on whether LSM starts with a vowel sound, not on whether it starts wilth an actual vowel.

If you pronounce LSM like "ell ess emm" then use an with it. But if you use some pronunciation like "lassum" then use a with it.