Sentence Generation from Random Input

28 views
Skip to first unread message

newltk

unread,
Apr 5, 2017, 2:43:14 PM4/5/17
to nltk-users
Is there a way to generate a grammatically correct sentence based on random text input? I have used nltk to find the part of speech for random words, is there a way to use that to organize the texts into sentence?
ie: input --> "create How a that makes can sentence I sense"    |||    output --> "How can I create a sentence that makes sense"

Reply all
Reply to author
Forward
0 new messages