What parts of speech are "like" and "to" in the sentence "Bobby does not like to walk"? [closed]

I realized that I want to be able to look at any sentence and understand what each word in that sentence is in terms of its part of speech, since I never really cared in school to learn the parts of speech thoroughly (big mistake).

I think for the sentence:

Bobby does not like to walk.

that Bobby is a noun, does is a verb, not is an adverb, and that walk is a verb as well.

Is to a preposition? If so, why?

And what is the function of like in the sentence?


Knowing the parts of speech for every word in a sentence is a much overrated skill. Once you learn them, what do you do with them? And what if they didn't teach the whole list in grade school? Because they don't, you know -- the teachers don't know any more than their students, and none of them understand the textbook.

So, to answer your question, like is a verb and to is either a preposition or a complementizer, depending on how specific you want to be. To is the marker for an infinitive complement, and markers for complement clauses are called "complementizers". I don't make these up; that's just technical jargon. It looks like the preposition to, but it takes an infinitive verb phrase instead of a noun phrase as its "object". Call it what you like.

To walk is the object of like (or not like, since it's negative) and the implication is that what Bobby does not like is Bobby walking. Perhaps he wouldn't mind if somebody else walked; the sentence doesn't say.

There is a lot of structure in this sentence but it's not a string of beads with labels.