"extension" and "sentence" are singular countable nouns, so they need an article or other determiner. In this case it is the first mention of non-specific instances of these, and there is no cause to use anything other than the indefinite article.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.