I have a simple neural-network which can create new text out of words which are likely to come after a specific word.
The code lacks of comma placement and punctuation.
It also can't transform a sentence into a question.
The code has the following steps:
- Read the training texts
- Create the network out the above explained parts
- Create the new text out of a "Start-Word" e.g. "We" or "I"
I need a approach on how to implement the comma placement and punctuation and optional is to transform a sentence into a question.
Is there a specific schema on how to determine the correct position of a dot?
Example:
The dog sits in front of the house George is inside the house