How do I make my LSTM text generator judge words that don't belong together

The way that my text generator works on my text it occasionally says things that I think are blasphemous, even though I don’t consider myself a religious nut. I could program word combinations that do not fit together and ask the text generator to choose a better word, but I don’t know how to do it in the same sequence or try to give each word one or more polarized values to govern the sequence itself which I don’t know how to do.

1 Like