-ly adverb at the beginning of the sentence

Solution 1:

Sentences like these use disjuncts

A specific type of disjunct is the sentence adverb (or sentence adverbial), which modifies a sentence, or a clause within a sentence, to convey the mood, attitude or sentiments of the speaker, rather than an adverb modifying a verb, an adjective or another adverb within a sentence.

Here are some examples (note: the disjuncts that follow are 'sentence adverbs'):

  • Honestly, I didn't do it. (Meaning "I'm honest when I say I didn't do it" rather than "I didn't do it in an honest way.")

  • Fortunately for you, I have it right here.

  • In my opinion, the green one is better.

  • Frankly, this whole paragraph needs work.

Source- wikipedia