Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Fixing Grammar
#1
My Goal is to take the words in the dictionary & attribute them to x amount of groups. Each of the groups has its own words & sub-groups based on a shared characteristic

The problem that I'm having is when a specific group is chosen & the contents (i.e. the other sub-groups) are chosen the output reveals poor grammar. I have to manually adjust the word so it fits correctly and this is annoying. Is there a way I can get proper grammar structure from a randomly generated combination of words? Is it possible to organize these words in a proper sentence based on "Parts of Speech" (i.e Adjectives, Adverbs, Conjunctions, Determiners, Nouns, Prepositions, Pronouns & Verbs)

Here's an Example:

Code:
BAD SENTENCE STRUCTURE
Group 1        Group 3                Group 8
I AM            Extremist (noun)        Annoy (verb)


GOOD SENTENCE STRUCTURE
Group 1        Group 3                    Group 8
I AM            Extremely (adjective)        Annoying (adjective)

"I AM + Annoying (adj) + Extremely (adj)" wouldn't make much sense unless it was
"I AM + Annoying (adj) + Extremists (plural noun)"

These were some neat ideas I found on youtube regarding Predictive Text
Any suggestions?
A sequence of variables thatre engraved since the beginning of the cosmos is responsible for animating things in reality
Reply
Thanks given by: Nithin6777


Messages In This Thread
Fixing Grammar - by LutiChris - 06-12-2020, 11:50 PM
RE: Fixing Grammar - by Silverthorn - 06-21-2020, 04:50 PM
RE: Fixing Grammar - by LutiChris - 06-21-2020, 11:55 PM



Users browsing this thread: 1 Guest(s)