1. Noun: A word that names a person, place, thing, or idea.
• Example: The dog barked loudly.
2. Pronoun: A word that takes the place of a noun.
• Example: She went to the store.
3. Verb: A word that expresses action or a state of being.
• Example: He runs every morning.
4. Adjective: A word that describes or modifies a noun or
pronoun.
• Example: The red balloon floated away.
5. Adverb: A word that modifies a verb, adjective, or other
adverb, often ending in -ly.
• Example: She sang beautifully.
6. Preposition: A word that shows the relationship between a
noun (or pronoun) and other words in a sentence.
• Example: The book is on the table.
7. Conjunction: A word that connects words, phrases, or
clauses.
• Example: I want to play, but I have homework.
8. Interjection: A word or phrase that expresses emotion or
exclamation.
• Example: Wow, that's amazing!
1. S → NP VP
• A sentence (S) is composed of a noun phrase (NP) followed by a verb phrase
(VP).
2. NP → Det AdjP N
• A noun phrase (NP) consists of a determiner (Det), followed by an adjective
phrase (AdjP), followed by a noun (N).
• Example: "The quick brown fox"
3. NP → Det N
• Alternatively, a noun phrase (NP) can consist of just a determiner (Det)
followed by a noun (N).
• Example: "The dog"
4. AdjP → Adj AdjP | Adj
• An adjective phrase (AdjP) consists of one adjective (Adj) followed by
another adjective phrase (AdjP), or just a single adjective.
• Example: "quick brown" (two adjectives forming an AdjP)
5. VP → V PP
• A verb phrase (VP) consists of a verb (V) followed by a prepositional phrase
(PP).
• Example: "jumps over the lazy dog"
6. PP → P NP
• A prepositional phrase (PP) consists of a preposition (P) followed by a noun
phrase (NP).
• Example: "over the lazy dog"
Sentence: "The quick brown fox jumps over the lazy dog."
Step 1: Identify parts of speech
• The (Determiner)
• quick (Adjective)
• brown (Adjective)
• fox (Noun)
• jumps (Verb)
• over (Preposition)
• the (Determiner)
• lazy (Adjective)
• dog (Noun)
Step 2: Phrase Structure
• NP (Noun Phrase): The quick brown fox
• Det (Determiner): The
• Adj (Adjective): quick
• Adj (Adjective): brown
• N (Noun): fox
• VP (Verb Phrase): jumps over the lazy dog
• V (Verb): jumps
• PP (Prepositional Phrase): over the lazy dog
▪ P (Preposition): over
▪ NP (Noun Phrase): the lazy dog
• Det (Determiner): the
• Adj (Adjective): lazy
• N (Noun): dog
Step 3: Parse Tree Representation