Good day, everyone.
I'm having problems on how to determine a sentence structured base on a sentence given by a user. Anyone knows how to give some algorithm to solve this problem? Your help is highly appreciated.
Example: "My dog is running."
I am going to determine if this is simple sentence ,compound sentence ,etc.