String example = "The app and the house are a big deal.";
This example be split into two statements with different subjects. Currently, this is the output
The app and the house are a big deal.
|_ statement: {Statement: "The app the house are a big deal", components: 4}
|_ component: {Subject: "The app"}
|_ component: {Subject: "the house"}
|_ component: {DirectObject: "a big deal"}
|_ component: {Verb: "are"}
Perhaps it can be accomplished by simply checking for duplicate components and then splitting until there are no duplicates left?
This example be split into two statements with different subjects. Currently, this is the output
Perhaps it can be accomplished by simply checking for duplicate components and then splitting until there are no duplicates left?